marcbelmont / cnn-watermark-removal

Fully convolutional deep neural network to remove transparent overlays from images
1.25k stars 229 forks source link

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

Open FoxieFlakey opened 4 years ago

FoxieFlakey commented 4 years ago

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 commented 4 years ago

Hello can someone fix this?

mohdimran043 commented 4 years ago

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 commented 4 years ago

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

Xoma163 commented 3 years ago

Install python3.6