anandpawara / Real_Time_Image_Animation

The Project is real time application in opencv using first order model
GNU General Public License v3.0
3.23k stars 521 forks source link

Dependency error - ipykernel #7

Closed evertonberz closed 4 years ago

evertonberz commented 4 years ago

Hi I got this dependency error below.

(env) everton@tromso:~/Real_Time_Image_Animation$ python --version
Python 2.7.17
(env) everton@tromso:~/Real_Time_Image_Animation$ pip --version
pip 20.1.1 from /home/everton/Real_Time_Image_Animation/env/lib/python2.7/site-packages/pip (python 2.7)
(env) everton@tromso:~/Real_Time_Image_Animation$ pip install -r requirements.txt
...

ERROR: Could not find a version that satisfies the requirement ipykernel==5.2.1 (from -r requirements.txt (line 14)) (from versions: 4.0.1, 4.0.2, 4.0.3, 4.1.0, 4.1.1, 4.2.0, 4.2.1, 4.2.2, 4.3.0, 4.3.1, 4.4.0, 4.4.1, 4.5.0, 4.5.1, 4.5.2, 4.6.0, 4.6.1, 4.7.0, 4.8.0, 4.8.1, 4.8.2, 4.9.0, 4.10.0, 4.10.1)
ERROR: No matching distribution found for ipykernel==5.2.1 (from -r requirements.txt (line 14))
anandpawara commented 4 years ago

The project is built on python 3.7.3 I suggest try with python 3.7 or higher version

evertonberz commented 4 years ago

Sorry, I had this error below in python 3, then I switched to python 2.

(env) everton@tromso:~/Real_Time_Image_Animation$ python --version
Python 3.7.5
(env) everton@tromso:~/Real_Time_Image_Animation$ pip install -r requirements.txt
...
ERROR: Could not find a version that satisfies the requirement pywin32==227 (from -r requirements.txt (line 48)) (from versions: none)
ERROR: No matching distribution found for pywin32==227 (from -r requirements.txt (line 48))
evertonberz commented 4 years ago

I just deleted the pywin32 line from requirements.txt and now it works in Linux.

I also had to install this package in Linux:

sudo apt-get install python3-tk