Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

mac book pro M1 Max 64G执行:pip install -r requirements.txt 报错

Open FeedHedgehog opened this issue 1 year ago • 3 comments

执行 (.venv) (base) mac@JayMBP Deep-Live-Cam % pip install -r requirements.txt Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple, https://download.pytorch.org/whl/cu118 Ignoring torch: markers 'sys_platform != "darwin"' don't match your environment Ignoring torchvision: markers 'sys_platform != "darwin"' don't match your environment Ignoring onnxruntime: markers 'sys_platform == "darwin" and platform_machine != "arm64"' don't match your environment Ignoring onnxruntime-gpu: markers 'sys_platform != "darwin"' don't match your environment Ignoring tensorflow: markers 'sys_platform != "darwin"' don't match your environment ERROR: Could not find a version that satisfies the requirement numpy==1.23.5 (from versions: 1.24.1, 1.26.3) ERROR: No matching distribution found for numpy==1.23.5

e16e205405ddf74284f6d82fb150dab4

FeedHedgehog avatar Aug 29 '24 10:08 FeedHedgehog

替换numpy版本为:numpy==1.24.1后,opencv-python 找不到对应版本!

40e93cb7874b024f4e8d9035f6374857

FeedHedgehog avatar Aug 29 '24 12:08 FeedHedgehog

I had the same today (running on M2 Max). I got it working by manually pip install commands for each package.

I could not get pip install onnxruntime-silicon to install though.

Then I keprt running % python3 run.py --execution-provider coreml until no more missing package errors and the Tk UI sprung to life!

budda avatar Sep 03 '24 00:09 budda

it cannot find the onnxruntime-silicon version that is in the requirements.txt. So I changed it to the available one. onnxruntime-silicon==1.15.0; that could be installed, but I have not figured out how to run it, because I just started installing. I think Iam missing ffmpeg now.

JahnKhan avatar Sep 06 '24 14:09 JahnKhan