Reputation: 369
In my virtual environment (created through pipenv), I try running pipenv install tensorflow
. The following is the output:
Installing tensorflow…
Adding tensorflow to Pipfile's [packages]…
✔ Installation Succeeded
Pipfile.lock (a451a4) out of date, updating to (5ca2ea)…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Building requirements...
Resolving dependencies...
⠦ Locking...
And it remains stuck on Locking...
for atleast ten minutes, so I decided to kill the installation at that point. So it's stuck on the part where it's adding tensorflow to the Pipfile.lock file. I have python version 3.6.8 (I don't want to upgrade to 3.7 because tensorflow is still not compatible with 3.7 to my knowledge) and I am wondering why it is stuck on the locking portion of the installation. Please help, thanks!
Upvotes: 3
Views: 1689
Reputation: 691
The issue is with PIPENV
. You will have to update pipenv to master branch and verify that tensorflow == 2.0.0-rc0 can be installed.
You can use this instead
pipenv run pip install tensorflow
You can find more on this issue at GitHub Issues Pipenv
Upvotes: 2