-
(venv) PS C:\django-rest-framework-json-api> django-admin runserver --settings=example.settings |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Thanks for reporting this issue. I unfortunately cannot reproduce this issue. It might be an issue with a corrupted venv. As #1103 is now fixed could you try again? Best delete your virtual env first and follow the steps in the README again to see whether this issue comes up again. |
Beta Was this translation helpful? Give feedback.
-
the issue exists yet! windows 11 C:\django-rest-framework-json-api\venv\Scripts\python.exe: Error while finding module specification for 'main' (ValueError: main.spec is None) (venv) PS C:\django-rest-framework-json-api> python
alabaster 0.7.12 |
Beta Was this translation helpful? Give feedback.
-
When looking at the error, I have a feeling that this has something to do with your setup and not with the example app itself. Reason being is that in the example app there is no main defined which the error shows. The main is part of django. I therefore converted this to a discussion. I do not use Windows, so do not know what could cause this error. What I would try (if you haven't tried it yet) is one of the following:
Maybe other users who use Windows with DJA might be able to assist you as well. If someone else can reproduce this issue, please comment here as well. |
Beta Was this translation helpful? Give feedback.
-
I am using virtualenv |
Beta Was this translation helpful? Give feedback.
-
Hello, i am experiencing the same issue using Windows 10, i have deleted and created a new the venv, but still throws the error |
Beta Was this translation helpful? Give feedback.
Thanks for reporting this issue. I unfortunately cannot reproduce this issue. It might be an issue with a corrupted venv. As #1103 is now fixed could you try again? Best delete your virtual env first and follow the steps in the README again to see whether this issue comes up again.