first-order-model
first-order-model copied to clipboard
Failed Docker build: requirement imageio==2.22.0
Seeking help on building the docker image - The previous system build failed. So, I resorted to docker.
In the docker build process I get the following dep error:
Collecting ffmpeg-python==0.2.0 Downloading ffmpeg_python-0.2.0-py3-none-any.whl (25 kB) ERROR: Could not find a version that satisfies the requirement imageio==2.22.0 (from versions: 1.1-linux32, 1.1-linux64, 1.1-osx64, 1 .1-win32, 1.1-win64, 1.2-linux32, 1.2-linux64, 1.2-osx64, 1.2-win32, 1.2-win64, 1.3-linux32, 1.3-linux64, 1.3-osx64, 1.3-win32, 1.3-w in64, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.4, 0.4.1, 0.5, 0.5.1, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0.0, 2.0.1, 2.1.0, 2.1.1 , 2.1.2, 2.2.0, 2.3.0, 2.4.0, 2.4.1, 2.5.0, 2.6.0, 2.6.1, 2.8.0, 2.9.0, 2.10.1, 2.10.2, 2.10.3, 2.10.4, 2.10.5, 2.11.0, 2.11.1, 2.12. 0, 2.13.0, 2.13.1, 2.13.2, 2.13.3, 2.13.4, 2.13.5, 2.14.0, 2.14.1, 2.15.0, 2.16.0) ERROR: No matching distribution found for imageio==2.22.0 The command '/bin/sh -c pip3 install https://download.pytorch.org/whl/cu100/torch-1.0.0-cp36-cp36m-linux_x86_64.whl git+https://g ithub.com/1adrianb/face-alignment -r requirements.txt' returned a non-zero code: 1
I also tried imageio==2.22.2 and got a similar result: ERROR: No matching distribution found for imageio==2.22.2
Any guidance is greatly appreciated.
Hi,
You can download imageio==2.22.0 from this link https://files.pythonhosted.org/packages/78/7a/3e4e595faea7112785de0a78efd8349a860b2ce6cd4d8fc15afe42c27f5f/imageio-2.22.0-py3-none-any.whl . It can be find in this page https://pypi.org/project/imageio/2.22.0/#files.
After downloading put the imageio-2.22.0-py3-none-any.whl file into your project directory.
Then edit requirements.txt like bellow #imageio==2.22.0 comment this line ./imageio-2.22.0-py3-none-any.whl add this line which is your file that you downloaded
After that you can run the docker build -t first-order-model . command.
After that, you are probably going to get the same error for numpy ๐ ๐
Absolute wacko. I spent hours fixing panda and matplotlib dependencies and gave up. Silly me, there's a Dockerfile over there. Now I'm gonna fix the same things, but inside a container.
@WalterClementsJr If you will still have problem.You can try this repo https://hub.docker.com/r/paperspace/first-order-model
Hi,
You can download imageio==2.22.0 from this link https://files.pythonhosted.org/packages/78/7a/3e4e595faea7112785de0a78efd8349a860b2ce6cd4d8fc15afe42c27f5f/imageio-2.22.0-py3-none-any.whl . It can be find in this page https://pypi.org/project/imageio/2.22.0/#files.
After downloading put the imageio-2.22.0-py3-none-any.whl file into your project directory.
Then edit requirements.txt like bellow #imageio==2.22.0 comment this line ./imageio-2.22.0-py3-none-any.whl add this line which is your file that you downloaded
After that you can run the docker build -t first-order-model . command.
After that, you are probably going to get the same error for numpy ๐ ๐
There are still errors๏ผ#0 130.7 ERROR: Package 'imageio' requires a different Python: 3.6.9 not in '>=3.7'