Can't Deploy it on server
Opened this issue · 0 comments
Hi ,
I have encountered following problem .
First I got this when I tried to get all requirements install
(loaded) C:\python_workspace\djangoex\django-blogango\example>pip install -r ../requirements.txt
Collecting Django==1.8 (from -r ../requirements.txt (line 1))
Using cached Django-1.8-py2.py3-none-any.whl
Collecting django-taggit (from -r ../requirements.txt (line 2))
Using cached django_taggit-0.18.1-py2.py3-none-any.whl
Collecting django-xmlrpc==0.1.4 (from -r ../requirements.txt (line 3))
Using cached django-xmlrpc-0.1.4.tar.gz
Collecting BeautifulSoup (from -r ../requirements.txt (line 4))
Using cached BeautifulSoup-3.2.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\KULDEE~1.KAL\AppData\Local\Temp\pip-build-zk6fhvuo\BeautifulSoup\setup.py", line 22
print "Unit tests have failed!"
^
SyntaxError: Missing parentheses in call to 'print'
to resolve this i made changes in requirements.txt file , I changed BeautifulSoup to BeautifulSoup4
and all the requirements successfully installed .
Next I tried execute python command on manage.py with --migrate option and I got following error
(loaded) C:\python_workspace\djangoex\django-blogango\example>python manage.py syncdb --migrate
Traceback (most recent call last):
File "manage.py", line 9, in
execute_from_command_line(sys.argv)
File "C:\python_workspace\djangoex\loaded\lib\site-packages\django\core\management__init__.py", line 338, in execute_from_command_line
utility.execute()
File "C:\python_workspace\djangoex\loaded\lib\site-packages\django\core\management__init__.py", line 312, in execute
django.setup()
File "C:\python_workspace\djangoex\loaded\lib\site-packages\django__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\python_workspace\djangoex\loaded\lib\site-packages\django\apps\registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "C:\python_workspace\djangoex\loaded\lib\site-packages\django\apps\config.py", line 86, in create
module = import_module(entry)
File "C:\Python34\lib\importlib__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 2254, in _gcd_import
File "", line 2237, in _find_and_load
File "", line 2224, in _find_and_load_unlocked
ImportError: No module named 'blogango'