Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Deploy it on server #67

Open
kuldeepkala opened this issue Apr 14, 2016 · 0 comments
Open

Can't Deploy it on server #67

kuldeepkala opened this issue Apr 14, 2016 · 0 comments

Comments

@kuldeepkala
Copy link

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'


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant