-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Pipenv will not create a virtual environment for Python 3.8, but will for 3.7 #3996
Comments
It seems like an issue of virtualenv, if you can confirm it by using |
$ pipenv --supportPipenv version: '2018.11.26' Pipenv location: 'e:\program files\python38\lib\site-packages\pipenv' Python location: 'e:\program files\python38\python.exe' Python installations found:
PEP 508 Information:
System environment variables:
Pipenv每specific environment variables: Debug每specific environment variables:
|
@frostming Yes, confirm. It looks like somebody else has commented on this issue also looking for help, so I will not close the the issue. But I am ok. Thanks for your help! |
From Issue-729 |
@aflmp I tried |
Same here. Using both |
I am facing the same issue but little bit different. C:\Users\DP250369\PycharmProjects\towards_flask>pipenv install Flask Can anyone help. |
`C:\Users\DP250369\PycharmProjects\towards_flask>python -m pipenv.help $ pipenv --supportPipenv version: Pipenv location: Python location: Python installations found:
PEP 508 Information:
System environment variables:
Pipenv–specific environment variables: Debug–specific environment variables:
Contents of |
|
Can this be rechecked with |
I was displaying the message: "Failed to create virtual environment" . The reason was in the terminal settings in VS Code. It was necessary to click restart in the terminal window and the virtual environment started working. |
Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.
Check the diagnose documentation for common issues before posting! We may close your issue if it is very similar to one of them. Please be considerate, or be on your way.
Make sure to mention your debugging experience if the documented solution failed.
Issue description
When I try to create a pipenv virtual environment with Python 3.8, it fails, with the error message,
ModuleNotFoundError: No module name 'distutils.spawn'
Here is the full context:
Expected result
The virtual environment should be created correctly.
When possible, provide the verbose output (
--verbose
), especially for locking and dependencies resolving issues.Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
Please run
$ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'/home/james/.local/lib/python3.6/site-packages/pipenv'
Python location:
'/usr/bin/python3'
Python installations found:
3.8.0
:/usr/bin/python3.8
3.7.5
:/usr/bin/python3.7
3.7.5
:/usr/bin/python3.7m
3.6.8
:/usr/bin/python3
3.6.8
:/usr/bin/python3.6m
2.7.15
:/usr/bin/python
PEP 508 Information:
System environment variables:
XDG_SEAT
XDG_SESSION_ID
WINDOWPATH
LC_IDENTIFICATION
DISPLAY
GJS_DEBUG_TOPICS
COLORTERM
GNOME_TERMINAL_SERVICE
GNOME_DESKTOP_SESSION_ID
DEFAULTS_PATH
LOGNAME
TEXTDOMAIN
LC_TIME
SHELL
PAPERSIZE
PATH
LC_NUMERIC
LC_PAPER
IM_CONFIG_PHASE
TEXTDOMAINDIR
CLUTTER_IM_MODULE
QT4_IM_MODULE
XMODIFIERS
XDG_MENU_PREFIX
GNOME_SHELL_SESSION_MODE
XAUTHORITY
XDG_SESSION_DESKTOP
GDMSESSION
QT_IM_MODULE
SSH_AUTH_SOCK
LC_ADDRESS
LC_MEASUREMENT
XDG_CONFIG_DIRS
MANDATORY_PATH
USERNAME
DESKTOP_SESSION
XDG_RUNTIME_DIR
GTK_IM_MODULE
USER
GTK_MODULES
PWD
VTE_VERSION
LC_MONETARY
HOME
QT_ACCESSIBILITY
SSH_AGENT_PID
XDG_DATA_DIRS
LANGUAGE
LANG
LC_NAME
GNOME_TERMINAL_SCREEN
GPG_AGENT_INFO
SHLVL
GJS_DEBUG_OUTPUT
XDG_VTNR
XDG_SESSION_TYPE
DBUS_SESSION_BUS_ADDRESS
XDG_CURRENT_DESKTOP
TERM
SESSION_MANAGER
LC_TELEPHONE
OLDPWD
LS_COLORS
SPACESHIP_VERSION
SPACESHIP_ROOT
NVM_DIR
NVM_CD_FLAGS
NVM_BIN
EDITOR
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/james/.local/bin:/home/james/.nvm/versions/node/v12.9.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/cuda/bin:/snap/bin
SHELL
:/usr/bin/zsh
EDITOR
:emacs -nw
LANG
:en_US.UTF-8
PWD
:/home/james/learning/cs-python
Contents of
Pipfile
('/home/james/learning/cs-python/Pipfile'):The text was updated successfully, but these errors were encountered: