Use python3.7 #6

Closed
opened 2021-02-11 10:15:28 +01:00 by acheong08 · 4 comments
acheong08 commented 2021-02-11 10:15:28 +01:00 (Migrated from github.com)

Errors when using python3.9

Errors when using python3.9
smm0864 commented 2021-04-30 10:17:53 +02:00 (Migrated from github.com)

when running the install script getting the following error (python 3.9)

Collecting numpy==1.17.0
  Downloading numpy-1.17.0.zip (6.5 MB)
     |████████████████████████████████| 6.5 MB 1.5 MB/s
ERROR: Could not find a version that satisfies the requirement opencv-python==4.1.0.25
ERROR: No matching distribution found for opencv-python==4.1.0.25

trying to install opencv manually results in similar error:

$pip3 install opencv-python==4.1.2.30
ERROR: Could not find a version that satisfies the requirement opencv-python==4.1.2.30 (from versions: 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48)
ERROR: No matching distribution found for opencv-python==4.1.2.30
when running the install script getting the following error (python 3.9) ``` Collecting numpy==1.17.0 Downloading numpy-1.17.0.zip (6.5 MB) |████████████████████████████████| 6.5 MB 1.5 MB/s ERROR: Could not find a version that satisfies the requirement opencv-python==4.1.0.25 ERROR: No matching distribution found for opencv-python==4.1.0.25 ``` trying to install opencv manually results in similar error: ``` $pip3 install opencv-python==4.1.2.30 ERROR: Could not find a version that satisfies the requirement opencv-python==4.1.2.30 (from versions: 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48) ERROR: No matching distribution found for opencv-python==4.1.2.30 ```
LordLommel commented 2021-07-22 15:54:27 +02:00 (Migrated from github.com)

Downgrade to Python 3.7 did not work fro me.

Downgrade to Python 3.7 did not work fro me.
chychkan commented 2021-08-02 02:41:56 +02:00 (Migrated from github.com)

Hi everyone! I added support for Python 3.7 and 3.8 and I'm working on support for 3.9.
Make sure you drop the .dfl/env/ directory and re-run the ./scripts/0_setup.sh when you switch to a different Python version.

Hi everyone! I added support for Python `3.7` and `3.8` and I'm working on support for `3.9`. Make sure you drop the `.dfl/env/` directory and re-run the `./scripts/0_setup.sh` when you switch to a different Python version.
chychkan commented 2021-08-09 03:34:58 +02:00 (Migrated from github.com)

Now should work for Python 3.9 too (added in https://github.com/chychkan/DeepFaceLab_MacOS/pull/16)

Now should work for Python `3.9` too (added in https://github.com/chychkan/DeepFaceLab_MacOS/pull/16)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CalvinBackup/DeepFaceLab_MacOS#6