You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pipenv is adding a version of tensorflow (1.10.1) to the .lock file which I do not have installed and which does not exist as a binary for my architecture (windows) on pypi.org yet. It is then, unsurprisingly, failing to install that version.
I actually have tensorflow 1.10.0 installed in this virtualenv, and I have checked that by importing it, etc.
Expected result
Since I have tensorflow 1.10.0 installed in this virtualenv, that is the version that should be added to the .lock file. Similarly, during dependency resolution, 1.10.1 should not be considered because it does not exist on pypi for my architecture.
Actual result
Tensorflow 1.10.1 is getting added to my .lock file, and then cannot be installed because it doesn't exist for windows.
Steps to replicate
I've attached a redacted version of my .lock file. I've also attached my pipfile, where I've commented out irrelevant local dependencies, so in principle, installing it on a windows machine should reproduce my error.
A simpler way to replicate it might just be to start with a fresh virtualenv on windows, manually pip install tensorflow in it (which will install 1.10.0 unless google adds the windows binary for 1.10.1 to pypi between now and then), and then trying to do pipenv update tensorflow
I've attached a screenshot of the current state of the relevant pypi page to show that no windows binary for 1.10.1 is listed there.
The included output of pipenv --support is also lightly redacted (some directory names and the name of the virtualenv has been changed)
Issue description
pipenv is adding a version of tensorflow (1.10.1) to the .lock file which I do not have installed and which does not exist as a binary for my architecture (windows) on pypi.org yet. It is then, unsurprisingly, failing to install that version.
I actually have tensorflow 1.10.0 installed in this virtualenv, and I have checked that by importing it, etc.
Expected result
Since I have tensorflow 1.10.0 installed in this virtualenv, that is the version that should be added to the .lock file. Similarly, during dependency resolution, 1.10.1 should not be considered because it does not exist on pypi for my architecture.
Actual result
Tensorflow 1.10.1 is getting added to my .lock file, and then cannot be installed because it doesn't exist for windows.
Steps to replicate
I've attached a redacted version of my .lock file. I've also attached my pipfile, where I've commented out irrelevant local dependencies, so in principle, installing it on a windows machine should reproduce my error.
A simpler way to replicate it might just be to start with a fresh virtualenv on windows, manually pip install tensorflow in it (which will install 1.10.0 unless google adds the windows binary for 1.10.1 to pypi between now and then), and then trying to do pipenv update tensorflow
I've attached a screenshot of the current state of the relevant pypi page to show that no windows binary for 1.10.1 is listed there.
The included output of pipenv --support is also lightly redacted (some directory names and the name of the virtualenv has been changed)
Files are below:
verbose_output_redacted.txt
pipfile_redacted.txt
$ pipenv --support
Pipenv version:
'2018.7.1.dev0'
Pipenv location:
'c:\\development\\python\\pipenv\\pipenv'
Python location:
'c:\\development\\python\\anaconda\\python.exe'
Python installations found:
5.1.0
:C:\development\python\Anaconda\python.exe
3.6.5
:C:\Program Files\Python36\python.exe
3.6.4
:C:\Program Files (x86)\Python36-32\python.exe
PEP 508 Information:
System environment variables:
ALLUSERSPROFILE
APPDATA
CARBON_MEM_DISABLE
CHOCOLATEYINSTALL
CHOCOLATEYLASTPATHUPDATE
COMMONPROGRAMFILES
COMMONPROGRAMFILES(X86)
COMMONPROGRAMW6432
COMPUTERNAME
COMSPEC
CONDA_ENVS_PATH
CONFIGSETROOT
DRIVERDATA
FPS_BROWSER_APP_PROFILE_STRING
FPS_BROWSER_USER_PROFILE_STRING
FSHARPINSTALLDIR
GENICAM_GENTL32_PATH
GENICAM_GENTL64_PATH
GIT_LFS_PATH
HOMEDRIVE
HOMEPATH
LOCALAPPDATA
LOGONSERVER
MSMPI_BIN
NUMBER_OF_PROCESSORS
ONEDRIVE
OS
PATH
PATHEXT
PIPENV_ACTIVE
PIP_PYTHON_PATH
PROCESSOR_ARCHITECTURE
PROCESSOR_IDENTIFIER
PROCESSOR_LEVEL
PROCESSOR_REVISION
PROGRAMDATA
PROGRAMFILES
PROGRAMFILES(X86)
PROGRAMW6432
PROMPT
PSMODULEPATH
PUBLIC
PYLON_DEV_DIR
PYTHONDONTWRITEBYTECODE
SESSIONNAME
SYSTEMDRIVE
SYSTEMROOT
TEMP
TMP
USERDOMAIN
USERDOMAIN_ROAMINGPROFILE
USERNAME
USERPROFILE
VBOX_MSI_INSTALL_PATH
VIRTUAL_ENV
VS140COMNTOOLS
WINDIR
Pipenvûspecific environment variables:
PIPENV_ACTIVE
:1
Debugûspecific environment variables:
PATH
:C:\Users\Henry Kozachkov\.virtualenvs\redacted-Mc-cEOz6\Scripts;c:\development\python\anaconda\Library\bin;C:\Program Files\Basler\pylon 5\Runtime\Win32\;C:\Program Files\Basler\pylon 5\Runtime\x64\;C:\development\python\Anaconda\Scripts\;C:\development\python\Anaconda\;C:\Program Files\Python36\Scripts\;C:\Program Files\Python36\;C:\Program Files\ImageMagick-7.0.7-Q16;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Python36-32\Scripts\;C:\Program Files (x86)\Python36-32\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\ProgramData\chocolatey\bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Meld;C:\development\python\swigwin-3.0.12;;C:\Program Files\Git LFS;C:\Users\Henry Kozachkov\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Nmap
VIRTUAL_ENV
:C:\Users\Henry Kozachkov\.virtualenvs\redacted-Mc-cEOz6
Contents of
Pipfile
('C:\development\redacted\redacted\redacted\Pipfile'):Contents of
Pipfile.lock
('C:\development\redacted\redacted\redacted\Pipfile.lock'):The text was updated successfully, but these errors were encountered: