'module 'popenv.core' has no attribute 'project'
Trying to assist my friend set up a new Django/Python project remotely. They've set up a virtual environment on their Windows machine using Linux, and it throws the following error when trying to install Django in the project directory:
Creating a virtualenv for this project…
Using /usr/bin/python3.8 (3.8.10) to create virtualenv…
/usr/bin/python3: No module named pipenv.pew
Virtualenv location:
Installing django…
Looking in indexes: https://pypi.python.org/simple
Requirement already satisfied: django in /home/[username]/.local/lib/python3.8/site-packages (4.0.4)
Requirement already satisfied: backports.zoneinfo; python_version < "3.9" in /home/[username]/.local/lib/python3.8/site-packages (from django) (0.2.1)
Requirement already satisfied: asgiref<4,>=3.4.1 in /home/[username]/.local/lib/python3.8/site-packages (from django) (3.5.2)
Requirement already satisfied: sqlparse>=0.2.2 in /home/[username]/.local/lib/python3.8/site-packages (from django) (0.4.2)
Adding django to Pipfile's [packages]…
Creating a virtualenv for this project…
Using /usr/bin/python3 (3.8.10) to create virtualenv…
/usr/bin/python3: No module named pipenv.pew
Virtualenv location:
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
3/dist-packages/pipenv/resolver.py", line 52, in main
project = pipenv.core.project
AttributeError: module 'pipenv.core' has no attribute 'project'
Does anyone have experience with this error and how to resolve it?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
