question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pipenv gets wrongly dependency function32

See original GitHub issue

Issue description

Seems pipenv install gets an unnecessary dependency function32 which supports python2.7 only.

Expected result

in this case, pipenv should not include function32 as a dependency since it is not needed(pip doesn’t need it)

Actual result

pipenv uses it as a secondary dependency and it will fail because function32 doesn’t work with python3

Steps to replicate

pipenv install tensorflow==2.0.0-rc0 --three --pre --verbose


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
fgervaiscommented, Aug 29, 2019

Well it seems the issue was described here all along and I missed it.

I updated pipenv to master and verified that 2.0.0-rc0 can be installed.

@fujiaoliu if you want to test on your side you can install pipenv in pipenv, it’s quite easy and comes at no risk for your system. Also you’ll get that nice inception feel 😃

git clone https://github.com/pypa/pipenv.git
cd pipenv
git checkout master
cd ../project
pipenv install -e $(pwd)/../pipenv/
pipenv shell
pipenv install --pre tensorflow==2.0.0-rc0
2reactions
quantversecommented, Dec 12, 2019

Yeah, this is very annoying. I will need to dismiss Pipenv entirely in order to use Tensorflow 2, or I need to install Pipenv from master branch. I really wonder why there was no new release in last year…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is pipenv telling me the wrong version of python?
Now, it seems you already have an existing Pipfile that has "2.7" on it. Or it could be that there's already an existing...
Read more >
Common Pipenv Errors - Towards Data Science
When you use pipenv install to get a new dependency, the Pipfile and Pipfile.lock are automatically updated with that new dependency.
Read more >
Frequently Encountered Pipenv Problems - Read the Docs
Make sure your dependencies actually do resolve. If you're confident they are, you may need to clear your resolver cache. Run the following...
Read more >
pipenv Documentation - Read the Docs
[dev-packages]. "e1839a8" = {path = ".", editable = true} ... Note: All sub-dependencies will get added to the Pipfile.lock as well. Sub-dependencies are...
Read more >
Which Python Dependency Manager Should I Choose?
Which of Pip, Pipenv, Conda, the ActiveState Platform and many more Python dependency managers suit your needs better? Find out here!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found