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

any chance of an upgrade to support modern python (3.10.x)? #210

Open
egoodchild opened this issue Oct 2, 2023 · 1 comment
Open

any chance of an upgrade to support modern python (3.10.x)? #210

egoodchild opened this issue Oct 2, 2023 · 1 comment

Comments

@egoodchild
Copy link

Hi 3d Photo Inpainting folks,

I love using this software, but when trying to use it with more modern python (3.10) I get the following errors. I'm a user of this software in the "Visions of Chaos" (VOC) package which doesn't support software requiring 3.7, so if I update I'll lose access. They have deprecated it out of VOC for now. So I'm crossing my fingers and hoping the update might be possible.

ERROR:
ImportError: cannot import name 'Mapping' from 'collections'
and
ImportError: cannot import name 'gcd' from 'fractions'
using these Python packages
python -m pip install --upgrade pip
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts wheel==0.38.4
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts matplotlib==3.6.1
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts opencv-python==4.5.5.62
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts vispy==0.9.3
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts transforms3d==0.3.1
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts networkx==2.3
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts scikit-image==0.19.2
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts pyaml==21.10.1
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts moviepy==1.0.3
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts pyqt6==6.3.0
pip uninstall -y numpy
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts numpy==1.23.5

@Satyaexp
Copy link

were you able to test it on a lower version and what's the approximate time taken?

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

2 participants