ModuleNotFoundError: No module named 'django_nose' VENV
See original GitHub issueHi,
Everything runs perfectly outside of a VENV locally and in production
When I run Unit Testing via Jenkins all is also fine.
When I try to manage.py runserver inside of a VENV on my local machine I get the following traceback.
(eb-virt) PS E:\ITCIRCLECONSULT\GITHUB\maffaz-com\maffaz-com\maffaz> python manage.py runserver
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x000001E697738268>
Traceback (most recent call last):
File "E:\ITCIRCLECONSULT\GITHUB\maffaz-com\maffaz-com\eb-virt\lib\site-packages\django\utils\autoreload.py", line 220, in wrapper
fn(*args, **kwargs)
File "E:\ITCIRCLECONSULT\GITHUB\maffaz-com\maffaz-com\eb-virt\lib\site-packages\django\core\management\commands\runserver.py", line 112, in inner_run
autoreload.raise_last_exception()
File "E:\ITCIRCLECONSULT\GITHUB\maffaz-com\maffaz-com\eb-virt\lib\site-packages\django\utils\autoreload.py", line 243, in raise_last_exception
raise _exception[0](_exception[1]).with_traceback(_exception[2])
File "E:\ITCIRCLECONSULT\GITHUB\maffaz-com\maffaz-com\eb-virt\lib\site-packages\django\utils\autoreload.py", line 220, in wrapper
fn(*args, **kwargs)
File "E:\ITCIRCLECONSULT\GITHUB\maffaz-com\maffaz-com\eb-virt\lib\site-packages\django\__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "E:\ITCIRCLECONSULT\GITHUB\maffaz-com\maffaz-com\eb-virt\lib\site-packages\django\apps\registry.py", line 89, in populate
app_config = AppConfig.create(entry)
File "E:\ITCIRCLECONSULT\GITHUB\maffaz-com\maffaz-com\eb-virt\lib\site-packages\django\apps\config.py", line 90, in create
module = import_module(entry)
File "E:\ITCIRCLECONSULT\GITHUB\maffaz-com\maffaz-com\eb-virt\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 948, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'django_nose'
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
No module named 'django_nose' VENV · Issue #286 ... - GitHub
When I try to manage.py runserver inside of a VENV on my local machine I ... ModuleNotFoundError: No module named 'django_nose' VENV #286....
Read more >ImportError: How to import django-nose package?
As shown in the TEST_RUNNER setting, the Python package is django_nose ; that's what you need to use in INSTALLED_APPS rather than ...
Read more >ModuleNotFoundError: No module named 'django' - QueWorx
If you got the error “ModuleNotFoundError: No module named 'django'” it means that Python couldn't find your Django package. Here's the full error...
Read more >django-nose 1.4.1 - PyPI
Running the tests in one or more specific modules (or apps, or classes, ... otherwise you will get a `ImportError: No module named...
Read more >ModuleNotFoundError: No module named 'datetime'
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey Ian,
I can’t remember what I did but Im fairly certain it was something simple like creating a new Virtual ENV… I also deleted the Caches .
Hang on I just noticed something… The last 3 lines omitted < frozen importlib._bootstrap > and pasted in “” instead
I had to put a space in between the < and the >… I assume its the github markup!
I hope this helps to explain things better