Found the problem, a old wrongly set DJANGO_SETTINGS_MODULE pointing to the offending module.
On 30 January 2017 at 22:49, Alan <alanwilter@gmail.com> wrote:
So I installed django 1.10 and then when I try to do this;python3.5 -m django --versionTraceback (most recent call last):File "/sw/lib/python3.5/runpy.py", line 193, in _run_module_as_main"__main__", mod_spec)File "/sw/lib/python3.5/runpy.py", line 85, in _run_codeexec(code, run_globals)File "/sw/lib/python3.5/site-packages/django/__main__.py", line 9, in <module> management.execute_from_command_line() File "/sw/lib/python3.5/site-packages/django/core/ management/__init__.py", line 367, in execute_from_command_line utility.execute()File "/sw/lib/python3.5/site-packages/django/core/ management/__init__.py", line 316, in execute settings.INSTALLED_APPSFile "/sw/lib/python3.5/site-packages/django/conf/__init__. py", line 53, in __getattr__ self._setup(name)File "/sw/lib/python3.5/site-packages/django/conf/__init__. py", line 41, in _setup self._wrapped = Settings(settings_module)File "/sw/lib/python3.5/site-packages/django/conf/__init__. py", line 97, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/sw/lib/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_importFile "<frozen importlib._bootstrap>", line 969, in _find_and_loadFile "<frozen importlib._bootstrap>", line 944, in _find_and_load_unlockedFile "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removedFile "<frozen importlib._bootstrap>", line 986, in _gcd_importFile "<frozen importlib._bootstrap>", line 969, in _find_and_loadFile "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlockedImportError: No module named 'ccpngrid'I don't even have PYTHONPATH set, I don't have any idea why is trying to import a module like 'ccpngrid' (which the closest thing related to python is that it is a django app within my Eclipse workspace, and no, I am not within these folders).So, I can at least try to start to sort this issue?Thanks,Alan--Alan Wilter SOUSA da SILVA, DScSenior Bioinformatician, UniProtEuropean Bioinformatics Institute (EMBL-EBI)European Molecular Biology LaboratoryWellcome Trust Genome CampusHinxtonCambridge CB10 1SDUnited KingdomTel: +44 (0)1223 494588
Alan Wilter SOUSA da SILVA, DSc
Senior Bioinformatician, UniProt
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Wellcome Trust Genome Campus
Hinxton
Cambridge CB10 1SD
United Kingdom
Tel: +44 (0)1223 494588
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEznbzmQ%3DP48C%2Btg%3D3%2BoXyiBywptSmFX5ZeYwd6YhyyKKWH57A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment