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

‘pip install -r requirements.txt’ setup reported the following error #15

Open
oceanMin opened this issue Jan 11, 2019 · 5 comments
Open

Comments

@oceanMin
Copy link

Could not find a version that satisfies the requirement Keras==2.1.2 (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for Keras==2.1.2 (from -r requirements.txt (line 1))

@shiyingyu
Copy link

I met another error, at line 2, OS is Mac OS X mojave. I just installed python 3.7 through homebrew.
image

@renzhe00
Copy link

I met another error, at line 2, OS is Mac OS X mojave. I just installed python 3.7 through homebrew.
image

tensorflow1.4.0 not support python3.7,you need install python 3.6 in virtualenv or conda

@villemikkola
Copy link

You can install tensorflow and other requirements separately with pip or just change the version requirements in the file to also match newer versions. So change tensorflow===1.4.0 to tensorflow>==1.4.0 and so on. At least the version 1.13.0 seems to work just fine.

@rensite
Copy link

rensite commented Aug 28, 2019

For Mac OS X Mojave 10.14.6 (18G87).
pip 19.2.3 (python 3.7)

requirements.txt:

Keras==2.1.2
tensorflow==1.14.0
nltk==3.2.5
opencv-python==4.0.0.21
numpy==1.17.1
h5py==2.9.0
matplotlib==2.0.2
Pillow==6.1.0
tqdm==4.17.1
scipy==1.3.1

And then pip install -r requirements.txt

UPD: Probably need to install brew install pkg-config before python packages.

@kaunas163
Copy link

I installed Python 3.6 (64 bit) and it worked fine. Any larger version (3.7, ...) fails sooner or later. Also there was need for 64 bit version, not 32 bit.

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

6 participants