Closed teethandnail closed 2 weeks ago
Looking in indexes: https://pypi.org/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 xxx/.pyenv/pyenv.d/exec/pip-rehash/pip: line 20: 4808 Segmentation fault: 11 "$PYENV_COMMAND_PATH" "$@"
my python version is 3.10.10, my computer is macbook m1pro.
I solved this problem. It's ok now. I use conda to create a new environment and execute pip install -r requirements.txt in the environment.
pip install -r requirements.txt
Looking in indexes: https://pypi.org/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 xxx/.pyenv/pyenv.d/exec/pip-rehash/pip: line 20: 4808 Segmentation fault: 11 "$PYENV_COMMAND_PATH" "$@"
my python version is 3.10.10, my computer is macbook m1pro.