numpy issues on MAC installation #12

Closed
opened 2021-06-18 22:36:41 +02:00 by itsjesshewitt · 1 comment
itsjesshewitt commented 2021-06-18 22:36:41 +02:00 (Migrated from github.com)

Hi there!

I just downloaded all the content via your instructions for deepfacelab for mac, and when I try running the second script '2_extract_images_from_video_data_src.sh' I get the following error:

Traceback (most recent call last): File "/Users/MYUSERNAME/DeepFaceLab_MacOS/.dfl/DeepFaceLab/main.py", line 6, in <module> from core.leras import nn File "/Users/MYUSERNAME/DeepFaceLab_MacOS/.dfl/DeepFaceLab/core/leras/__init__.py", line 1, in <module> from .nn import nn File "/Users/MYUSERNAME/DeepFaceLab_MacOS/.dfl/DeepFaceLab/core/leras/nn.py", line 25, in <module> import numpy as np ModuleNotFoundError: No module named 'numpy'

However i've also tried using pip3 install numpy, and brew install numpy, both of which worked, and i've even checked the version of numpy - but I still get the 'no module named numpy' error when i run the second script. Any help for this?

Thanks!

Hi there! I just downloaded all the content via your instructions for deepfacelab for mac, and when I try running the second script '2_extract_images_from_video_data_src.sh' I get the following error: `Traceback (most recent call last): File "/Users/MYUSERNAME/DeepFaceLab_MacOS/.dfl/DeepFaceLab/main.py", line 6, in <module> from core.leras import nn File "/Users/MYUSERNAME/DeepFaceLab_MacOS/.dfl/DeepFaceLab/core/leras/__init__.py", line 1, in <module> from .nn import nn File "/Users/MYUSERNAME/DeepFaceLab_MacOS/.dfl/DeepFaceLab/core/leras/nn.py", line 25, in <module> import numpy as np ModuleNotFoundError: No module named 'numpy'` However i've also tried using pip3 install numpy, and brew install numpy, both of which worked, and i've even checked the version of numpy - but I still get the 'no module named numpy' error when i run the second script. Any help for this? Thanks!
chychkan commented 2021-08-02 02:44:50 +02:00 (Migrated from github.com)

Hi @itsjesshewitt! Error message like that most likely means that the execution of the ./scripts/0_setup.sh was not successful. Could you please try running it again and share it's full output as well as what is the Python version you're using (you can find your Python version by executing command python -V).

Hi @itsjesshewitt! Error message like that most likely means that the execution of the `./scripts/0_setup.sh` was not successful. Could you please try running it again and share it's full output as well as what is the Python version you're using (you can find your Python version by executing command `python -V`).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CalvinBackup/DeepFaceLab_MacOS#12