lambda - Zappa Deployment error for django application -


i have application using django, django-rest framework running perfect local machine. facing below error while deploying same using zappa in both below ways.

(drf-angular) e:\projects_edrive\aws\serverless\zappa\drf_sample\server>zappa deploy dev packaging project zip... [error 3] system cannot find path specified: 'e:\\projects_edrive\\aws\\serverless\\zappa\\drf-angular\\lib\\python2.7\\site-packages/*.*' 

===========================================================================

(drf-angular) e:\projects_edrive\aws\serverless\zappa\drf_sample\server>python manage.py deploy dev packaging project zip... traceback (most recent call last):   file "manage.py", line 10, in <module>     execute_from_command_line(sys.argv)   file "e:\projects_edrive\aws\serverless\zappa\drf-angular\lib\site-packages\django\core\management\__init__.py", line 363, in execute_from_command_line     utility.execute()   file "e:\projects_edrive\aws\serverless\zappa\drf-angular\lib\site-packages\django\core\management\__init__.py", line 355, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   file "e:\projects_edrive\aws\serverless\zappa\drf-angular\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv     self.execute(*args, **cmd_options)   file "e:\projects_edrive\aws\serverless\zappa\drf-angular\lib\site-packages\django\core\management\base.py", line 330, in execute     output = self.handle(*args, **options)   file "c:\python27\lib\site-packages\django_zappa\management\commands\deploy.py", line 39, in handle     self.create_package()   file "c:\python27\lib\site-packages\django_zappa\management\commands\zappa_command.py", line 131, in create_package     exclude=exclude   file "e:\projects_edrive\aws\serverless\zappa\drf-angular\lib\site-packages\zappa\zappa.py", line 280, in create_lambda_zip     shutil.copytree(site_packages, temp_package_path, symlinks=false, ignore=shutil.ignore_patterns(*excludes))   file "c:\python27\lib\shutil.py", line 171, in copytree     names = os.listdir(src) windowserror: [error 3] system cannot find path specified: 'e:\\projects_edrive\\aws\\serverless\\zappa\\drf-angular\\lib\\python2.7\\site-packages/*.*' 

===========================================================================

in both ways error same. deploying zappa in virtualenv after installing required packages.

[error 3] system cannot find path specified: 'e:\\projects_edrive\\aws\\serverless\\zappa\\drf-angular\\lib\\python2.7\\site-packages/*.*' 

edit:

same error happening zappa sample example application.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -