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

impossible to install in python 3.7.9 #6

Closed
doubianimehdi opened this issue Jan 26, 2022 · 3 comments
Closed

impossible to install in python 3.7.9 #6

doubianimehdi opened this issue Jan 26, 2022 · 3 comments

Comments

@doubianimehdi
Copy link

Hi,

I can't install the package because of numpy ...
Collecting stripnet
Downloading stripnet-0.0.5-py3-none-any.whl (11 kB)
Downloading stripnet-0.0.4-py3-none-any.whl (11 kB)
Downloading stripnet-0.0.3-py3-none-any.whl (11 kB)

The conflict is caused by:
stripnet 0.0.6 depends on numpy==1.22.0
stripnet 0.0.5 depends on numpy==1.22.0
stripnet 0.0.4 depends on numpy==1.22.0
stripnet 0.0.3 depends on numpy==1.22.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

I have a virtual pipenv environnement in python 3.7.9

@stephenleo
Copy link
Owner

stephenleo commented Jan 27, 2022

Unfortunately the numpy restriction was to solve an ongoing issue with HDBSCAN which is required by BERTopic: scikit-learn-contrib/hdbscan#457. So until HDBSCAN releases a new version we're stuck with it

You're unable to install numpy 1.22 because of python 3.7? Can I check if it works while using python 3.8 instead?

@doubianimehdi
Copy link
Author

Yes it works with Python 3.8 only ...

@stephenleo
Copy link
Owner

stephenleo commented Jan 27, 2022

Thanks for confirming. Unfortunately until HDBSCAN releases a new version with the fix I think we're stuck with this :( I'll update setup.py to mention only python 3.8.

If ok, I'll close this ticket with that change

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