-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
pipenv clean should ignore and skip entries if they don’t exist #3055
Comments
I modified the title a little to reflect the underlying problem (and how it should be fixed). Thanks for the report and sorry for the trouble. |
In addition, I have tried to workaround the issue creating an
|
Hi @whren, do you have the Python headers installed for the version of Python you're using in your virtual environment? I noticed that I learned while investigating #3062 that The funny thing is that I never would have noticed this on my Fedora install, because it installs the Python headers by default. But by chance I just noticed that Ubuntu doesn't, and so if I create a venv without installing them, I can reproduce your problem. If I install |
Hi @CognexDaniel, very good catch ! I'm under ubuntu on WSL and did not have python 3.6 headers/static libraries installed. I tried to install
A |
Issue description
I'm under WSL 14.04, running python 3.6.6 and upgraded from pipenv 2018.7.1 to the last release, 2018.10.13.
I then try to run a
pipenv clean
on a virtualenv (existing or new no difference) and I'm getting an error about aninclude
file not found.It was working before the update of pipenv.
I've located source modification from the stacktrace coming from #2849 with the following commit
Following informations have been anonymised due to client and project informations
Expected result
pipenv clean
run successfully without errorActual result
Of course, no
include
file or directory in the virtualenv fs:Steps to replicate
$ pipenv --support
Pipenv version:
'2018.10.13'
Pipenv location:
'/usr/local/lib/python3.6/dist-packages/pipenv'
Python location:
'/usr/bin/python3.6'
Python installations found:
3.6.6
:/usr/bin/python3.6
3.6.6
:/usr/bin/python3.6m
3.6.6
:/mnt/c/Users/xxx/AppData/Local/Programs/Python/Python36/python.exe
3.6.6
:/mnt/c/Users/xxx/AppData/Local/Programs/Python/Python36/pythonw.exe
3.4.3
:/usr/bin/python3.4
3.4.3
:/usr/bin/python3.4m
2.7.6
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
SHELL
TERM
OLDPWD
USER
NAME
LS_COLORS
HOSTTYPE
PATH
PWD
LANG
SHLVL
HOME
LOGNAME
LESSOPEN
LESSCLOSE
_
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath_target_90724171:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin:/mnt/c/ProgramData/Oracle/Java/javapath_target_91964734:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/WinMerge:/mnt/c/Donnees/006-Dev/java/tools/bin:/mnt/c/docker/03-Docker Toolbox:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/TortoiseSVN/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files/Microsoft DNX/Dnvm:/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/mnt/c/Program Files/JQ:/mnt/c/Program Files (x86)/Symantec/VIP Access Client:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Microsoft VS Code/bin:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Users/xxx/AppData/Local/Programs/Python/Python36/Scripts:/mnt/c/Users/xxx/AppData/Local/Programs/Python/Python36:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Users/xxx/AppData/Local/Microsoft/WindowsApps
SHELL
:/bin/bash
LANG
:fr_FR.UTF-8
PWD
:/mnt/c/Users/xxx/docker-datas/project/project-api/terraform/live/services/service1/lambdas-src/create-service1
Contents of
Pipfile
('/mnt/c/Users/xxx/docker-datas/project/project-api/terraform/live/services/service1/lambdas-src/create-service1/Pipfile'):Contents of
Pipfile.lock
('/mnt/c/Users/xxx/docker-datas/project/project-api/terraform/live/services/service1/lambdas-src/create-service1/Pipfile.lock'):The text was updated successfully, but these errors were encountered: