Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

failed on django-admin runserver --settings=example.settings #1104

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

Closed
SeekPoint opened this issue Nov 12, 2022 · 2 comments
Closed

failed on django-admin runserver --settings=example.settings #1104

SeekPoint opened this issue Nov 12, 2022 · 2 comments

Comments

@SeekPoint
Copy link

(venv) PS C:\django-rest-framework-json-api> django-admin runserver --settings=example.settings
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>

@SeekPoint SeekPoint added the bug label Nov 12, 2022
@sliverc
Copy link
Member

sliverc commented Nov 14, 2022

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.

@SeekPoint
Copy link
Author

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>

(venv) PS C:\django-rest-framework-json-api> python
Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

quit()
(venv) PS C:\django-rest-framework-json-api> pip list
Package Version Editable project location


alabaster 0.7.12
asgiref 3.5.2
attrs 22.1.0
Babel 2.11.0
black 22.10.0
bleach 5.0.1
certifi 2022.9.24
charset-normalizer 2.1.1
click 8.1.3
colorama 0.4.6
colored 1.4.4
commonmark 0.9.1
coverage 6.5.0
Django 4.1.3
django-filter 22.1
django-polymorphic 3.1.0
djangorestframework 3.14.0
djangorestframework-jsonapi 6.0.0 c:\django-rest-framework-json-api
docutils 0.17.1
exceptiongroup 1.0.3
factory-boy 3.2.1
Faker 15.2.0
flake8 5.0.4
flake8-bugbear 22.10.27
flake8-isort 5.0.0
idna 3.4
imagesize 1.4.1
importlib-metadata 5.0.0
inflection 0.5.1
iniconfig 1.1.1
isort 5.10.1
jaraco.classes 3.2.3
Jinja2 3.1.2
keyring 23.11.0
MarkupSafe 2.1.1
mccabe 0.7.0
more-itertools 9.0.0
mypy-extensions 0.4.3
packaging 21.3
pathspec 0.10.2
pip 22.3.1
pkginfo 1.8.3
platformdirs 2.5.4
pluggy 1.0.0
pycodestyle 2.9.1
pyflakes 2.5.0
Pygments 2.13.0
pyparsing 3.0.9
pytest 7.2.0
pytest-cov 4.0.0
pytest-django 4.5.2
pytest-factoryboy 2.5.0
python-dateutil 2.8.2
pytz 2022.6
pywin32-ctypes 0.2.0
PyYAML 6.0
readme-renderer 37.3
recommonmark 0.7.1
requests 2.28.1
requests-toolbelt 0.10.1
rfc3986 2.0.0
rich 12.6.0
setuptools 65.5.1
six 1.16.0
snowballstemmer 2.2.0
Sphinx 5.3.0
sphinx-rtd-theme 1.1.1
sphinxcontrib-applehelp 1.0.2
sphinxcontrib-devhelp 1.0.2
sphinxcontrib-htmlhelp 2.0.0
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.3
sphinxcontrib-serializinghtml 1.1.5
sqlparse 0.4.3
syrupy 3.0.4
tomli 2.0.1
twine 4.0.1
typing_extensions 4.4.0
tzdata 2022.6
uritemplate 4.1.1
urllib3 1.26.12
webencodings 0.5.1
wheel 0.37.1
zipp 3.10.0
(venv) PS C:\django-rest-framework-json-api>

@django-json-api django-json-api locked and limited conversation to collaborators Nov 16, 2022
@sliverc sliverc converted this issue into discussion #1106 Nov 16, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

2 participants