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
I'm trying to use pipenv install with a package that has an older tensorflow dependency which fails with the following error. At first, I thought this problem was with the lib that I want to use, but the issue happens even if I try to install the dependency directly for example: pipenv install tensorflow==1.15.5:
% pipenv install tensorflow==1.15.5
Installing tensorflow==1.15.5...
Error: An error occurred while installing tensorflow==1.15.0!
Error text:
ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.5 (from -r /var/folders/sc/ycc3tm5d1js7bhb5kfvgwd0m0000gn/T/pipenv-ob9rvotp-requirements/pipenv-xb874qkn-requirement.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for tensorflow==1.15.5 (from -r /var/folders/sc/ycc3tm5d1js7bhb5kfvgwd0m0000gn/T/pipenv-ob9rvotp-requirements/pipenv-xb874qkn-requirement.txt (line 1))
Expected result
pipenv install should be have similarly to pip install when run inside the virtual env.
Actual result
See error above.
Steps to replicate
pipenv --python 3.7 in a test directory.
pipenv shell to enter your virtual environment.
pip install --upgrade pip to upgrade to the latest version of pip in the virtual environment. Exit the virtual env.
Run: pipenv install tensorflow==1.15.5. You should get a failure.
pipenv shell to enter your virtual environment.
pip install tensorflow==1.15.5 within the virtual environment. This will work.
Issue description
I'm trying to use
pipenv install
with a package that has an oldertensorflow
dependency which fails with the following error. At first, I thought this problem was with the lib that I want to use, but the issue happens even if I try to install the dependency directly for example:pipenv install tensorflow==1.15.5
:Expected result
pipenv install
should be have similarly topip install
when run inside the virtual env.Actual result
See error above.
Steps to replicate
pipenv --python 3.7
in a test directory.pipenv shell
to enter your virtual environment.pip install --upgrade pip
to upgrade to the latest version of pip in the virtual environment. Exit the virtual env.pipenv install tensorflow==1.15.5
. You should get a failure.pipenv shell
to enter your virtual environment.pip install tensorflow==1.15.5
within the virtual environment. This will work.$ pipenv --support
Pipenv version:
'2020.11.15'
Pipenv location:
'/usr/local/Cellar/pipenv/2020.11.15/libexec/lib/python3.9/site-packages/pipenv'
Python location:
'/usr/local/Cellar/pipenv/2020.11.15/libexec/bin/python'
Python installations found:
3.9.1
:/usr/local/bin/python3
3.9.1
:/usr/local/bin/python3.9
3.8.2
:/usr/bin/python3
3.7.9
:/Users/mel/.pyenv/versions/3.7.9/bin/python3
2.7.16
:/usr/bin/python2
2.7.16
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
PATH
TERM_PROGRAM
PYENV_ROOT
SHELL
TERM
TMPDIR
TERM_PROGRAM_VERSION
TERM_SESSION_ID
USER
SSH_AUTH_SOCK
_
LaunchInstanceID
__CFBundleIdentifier
PWD
LANG
XPC_FLAGS
XPC_SERVICE_NAME
SHLVL
HOME
LOGNAME
SECURITYSESSIONID
__CF_USER_TEXT_ENCODING
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
:/usr/local/Cellar/pipenv/2020.11.15/libexec/tools:/usr/local/opt/ruby/bin:/Users/mel/.pyenv/bin:/Users/mel/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin
SHELL
:/bin/zsh
LANG
:en_CA.UTF-8
PWD
:/Users/mel/Repositories/test
Contents of
Pipfile
('/Users/mel/Repositories/test/Pipfile'):The text was updated successfully, but these errors were encountered: