worldveil / photomosaic

Creating fun photomosaics, GIFs, and murals from your family pictures using ML & similarity search
646 stars 60 forks source link

Error Building #13

Open tanmuhittin opened 4 years ago

tanmuhittin commented 4 years ago

After running sh build.sh in the last step (12) I get these last lines and image is not created.

ERROR: Package 'imageio' requires a different Python: 2.7.17 not in '>=3.5' The command '/bin/sh -c pip install -r /home/requirements.txt' returned a non-zero code: 1

tanmuhittin commented 4 years ago

So here is what I did In the requirements.txt I changed version of moviepy to moviepy==0.2.2 . After that I had a successful build. Then I launched the jupyter notebook using sh launch.sh When I try to run the first line and I had error : libx264.so.138: cannot open shared object file: No such file or directory on line : import cv2

so then I go to page https://pypi.org/project/opencv-python/ and it says

Python 2.7 is the only supported version in 2.x series. Python 2.7 support will be dropped in the end of 2019.

Since python 2.7 had EOL looks like dependencies also stopped supporting 2.7 . Is there any way to successfully run this package?

rbarrera87 commented 4 years ago

Have you been able to fix this issue somehow @tanmuhittin ? I was thinking that perhaps the solution could be upgrading python in the dockerfile, however I don't know if the whole repo works well with another version of python 😕

tanmuhittin commented 4 years ago

No I could not