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

I can't install all requirement fot the cnn-watermark-removal #44

Open
FoxieFlakey opened this issue Jul 6, 2020 · 4 comments
Open

Comments

@FoxieFlakey
Copy link

FoxieFlakey commented Jul 6, 2020

I cannot install either with pip, pip2, or pip3

Step i did in the terminal is (after i clone the git)

  1. sudo apt-get install libjpeg-dev zlib1g-dev
    It install properly without any error
  2. pip install -r requirements.txt don't work also. Then i use pip2 then pip3 all is not working at all with pip3 it almost complete it the error is in the tensorflow the pip cannot find version that statisfies the package

All the pip command i run is failed

All my python versions:
Python 2 is 2.7.18
Python 3 is 3.8.3 is more than 3.6 requirement (Read from Pipfile)

pip and pip2 command result:
ERROR: Could not find a version that satisfies the requirement matplotlib==3.1.1 (from -r requirements.txt (line 1)) (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3, 2.2.4, 2.2.5)
ERROR: No matching distribution found for matplotlib==3.1.1 (from -r requirements.txt (line 1))

pip3 command result:
ERROR: Could not find a version that satisfies the requirement tensorflow==1.14.0 (from -r requirements.txt (line 4)) (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0)
ERROR: No matching distribution found for tensorflow==1.14.0 (from -r requirements.txt (line 4))

If the problem is the python version. I sure that not the problem
All 'my sudo apt-get install' results

Python 3:
Command: sudo apt-get install python3

Result:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.8.2-3).

Python 2:
Command: sudo apt-get install python2

Result:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2 is already the newest version (2.7.17-2). for some reason python2 output 2.7.18 not 2.7.17
python2 set to manually installed.

@FoxieFlakey
Copy link
Author

Hello can someone fix this?

@mohdimran043
Copy link

Hi All, Even i am facing problem while installing tensorflow from requirement.txt
"ERROR: Could not find a version that satisfies the requirement tensorflow==1.14"

@thinktanktom
Copy link

Try creating a virtual environment with conda. Use this command:
conda create --name myenv tensorflow=1.14.0

@Xoma163
Copy link

Xoma163 commented Feb 20, 2021

Install python3.6

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

4 participants