Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails due to conflicting numpy version #1

Open
NeolithEra opened this issue Jun 3, 2020 · 3 comments
Open

Installation fails due to conflicting numpy version #1

NeolithEra opened this issue Jun 3, 2020 · 3 comments

Comments

@NeolithEra
Copy link

Hi, users are unable to run CBGT due to dependency conflict with numpy package. As shown in the following full dependency graph of CBGT, CBGT requires numpy==1.11.3,while seaborn>=0.5.1 requires numpy>1.11.3.

According to pip’s “first found wins” installation strategy, numpy 1.11.3 is the actually installed version. However, numpy 1.11.3 does not satisfy numpy>1.11.3.

Dependency tree-----------

CBGT - 0.0.6
| +- future(install version:0.18.2 version range:*)
| +- matplotlib(install version:3.2.1 version range:>=1.4.3)
| | +- cycler(install version:0.10.0 version range:>=0.10)
| | | +- six(install version:1.14.0 version range:*)
| | +- kiwisolver(install version:1.2.0 version range:>=1.0.1)
| | +- numpy(install version:1.11.3 version range:>=1.11)
| | +- pyparsing(install version:3.0.0a1 version range:>=2.0.1)
| | +- python-dateutil(install version:2.8.1 version range:>=2.1)
| +- numpy(install version:1.11.3 version range:==1.11.3)
| +- pandas(install version:1.0.3 version range:>=0.15.1)
| +- seaborn(install version:0.10.0 version range:>=0.5.1)
| | +- matplotlib(install version:3.2.1 version range:>=2.1.2)
| | | +- cycler(install version:0.10.0 version range:>=0.10)
| | | | +- six(install version:1.14.0 version range:*)
| | | +- kiwisolver(install version:1.2.0 version range:>=1.0.1)
| | | +- numpy(install version:1.11.3 version range:>=1.11)
| | | +- pyparsing(install version:3.0.0a1 version range:>=2.0.1)
| | | +- python-dateutil(install version:2.8.1 version range:>=2.1)
| | +- numpy(install version:1.18.2 version range:>1.13.3)
| | +- pandas(install version:1.0.3 version range:>=0.22.0)
| | +- scipy(install version:1.2.3 version range:>=1.0.1)

Thanks for your help.
Best,
Neolith

@NeolithEra
Copy link
Author

Solution

  1. Loosen the version range of numpy to be >=1.11.3.
  2. Remove your direct dependency numpy, and use the numpy transitively introduced by seaborn.
    @clappm Which solution do you prefer, 1 or 2?
    Please let me know your choice. May I pull a request to solve this issue?

@NeolithEra
Copy link
Author

@dunovank,Could you help me review this issue? Thx :p

@dunovank
Copy link
Member

Hi @NeolithEra I'm sorry but I'm no longer actively contributing/supporting to this project or the repo. @clappm can you weigh in on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants