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

Fix Numpy version #22

Open
JoseMLopezSanz opened this issue Apr 20, 2020 · 1 comment
Open

Fix Numpy version #22

JoseMLopezSanz opened this issue Apr 20, 2020 · 1 comment

Comments

@JoseMLopezSanz
Copy link

The numpy version is not specified on the requirements file and the code doesn't run with 1.14 or 1.18, fixing it to 1.16 should solve the problem

@flackbash
Copy link

Currently, there are conflicting requirements for numpy. While installing the requirements, I get the error message:

The conflict is caused by:
    The user requested numpy==1.14.0
    scipy 1.0.0 depends on numpy>=1.8.2
    tensorflow-tensorboard 0.4.0 depends on numpy>=1.12.0
    tensorflow 2.5.0 depends on numpy~=1.19.2

And after setting numpy to v1.19.2

The conflict is caused by:
    The user requested requests==2.18.4
    tensorboard 2.8.0 depends on requests<3 and >=2.21.0
    The user requested requests==2.18.4
    tensorboard 2.7.0 depends on requests<3 and >=2.21.0
    The user requested requests==2.18.4
    tensorboard 2.6.0 depends on requests<3 and >=2.21.0
    The user requested requests==2.18.4
    tensorboard 2.5.0 depends on requests<3 and >=2.21.0

After setting requests to v2.21.0, there is a problem with scipy:

ERROR: Failed building wheel for scipy

I was able to install everything by changing the requirements to the following:

enum34==1.1.6
tensorflow-tensorboard==0.4.0
termcolor==1.1.0
tensorflow==2.5.0
gensim==3.1.0
nltk==3.4.5
numpy==1.19.2
requests==2.21.0

However, I ran into another problem that I reported in #38 so I'm not sure if everything will run through without errors after that.

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