После использования pipx для установки graphene-django получаем No module named 'graphene_django'
Я установил pipx и успешно запустил следующее...
PS C:\Users\oliver\base\forms\forms> pipx install graphene-django --include-deps
⚠️ Overwriting file C:\Users\oliver\.local\bin\django-admin.exe with C:\Users\oliver\.loc
al\pipx\venvs\graphene-django\Scripts\django-admin.exe
pipx\venvs\graphene-django\Scripts\sqlformat.exe
installed package graphene-django 2.15.0, installed using Python 3.10.6
These apps are now globally available
- django-admin.exe
⚠️ Note: 'C:\\Users\\oliver\\.local\\bin' is not on your PATH environment variable.
These apps will not be globally accessible until your PATH is updated. Run `pipx
ensurepath` to automatically add it, or manually modify your PATH in your shell's
config file (i.e. ~/.bashrc).
done! ✨ 🌟 ✨
в моем settings.py есть...
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'core',
'graphene_django',
'corsheaders',
]
Когда я пробую python manage.py runserver, я получаю...
ModuleNotFoundError: Нет модуля с именем 'graphene_django'