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
ImportError: Could not import settings 'localshop.settings' #172
Comments
I follow the installing docs and the second step is "localshop init", then this Error happens. |
Thanks for the report. Could you post the output of |
Oh, I've got the solution from google: It's module "kombu(3.0.24)". When I update it to latest(3.0.33), the issue doesn't exist anymore. |
BTW, the version of python is 2.7.11. |
Can this be reopened? I can confirm this still happens. Steps to reproduce:
The fix is to install kombu >= 3.0.30. Can this be added to the project requirements? |
this error still happens when i follow the installing docs.
try this |
This is still a problem with python 3.6.5 and 2.7.15. If I install python 3.6.5: |
Could you please help me with this:
C:\Users\Administrator>localshop
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 162, in run_module_as_main
"main", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Python27\Scripts\localshop.exe__main.py", line 9, in
File "c:\python27\lib\site-packages\localshop\runner.py", line 12, in main
execute_from_command_line(sys.argv)
File "c:\python27\lib\site-packages\django\core\management__init__.py", line 385, in execute_from_command_line
utility.execute()
File "c:\python27\lib\site-packages\django\core\management__init__.py", line 345, in execute
settings.INSTALLED_APPS
File "c:\python27\lib\site-packages\django\conf__init__.py", line 46, in getattr
self.setup(name)
File "c:\python27\lib\site-packages\django\conf__init_.py", line 42, in setup
self.wrapped = Settings(settings_module)
File "c:\python27\lib\site-packages\django\conf__init.py", line 98, in init
% (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'localshop.settings' (Is it on sys.path? Is there an import error in the settings file?): cannot import name _uuid_generate_random
The text was updated successfully, but these errors were encountered: