When I run the python prepare_model_lib.py script, an error occurs:
Traceback (most recent call last):
File "/Users/wyh/Desktop/Programs/DoctorGPT/ios/prepare_model_lib.py", line 3, in <module>
from tvm.contrib import cc
ModuleNotFoundError: No module named 'tvm'
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10d1ca4b0>, 'Connection to mlc.ai timed out. (connect timeout=15)')': /wheels
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10df43470>, 'Connection to mlc.ai timed out. (connect timeout=15)')': /wheels
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10df43680>, 'Connection to mlc.ai timed out. (connect timeout=15)')': /wheels
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10df438c0>, 'Connection to mlc.ai timed out. (connect timeout=15)')': /wheels
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10df43ad0>, 'Connection to mlc.ai timed out. (connect timeout=15)')': /wheels
ERROR: Could not find a version that satisfies the requirement mlc-ai-nightly (from versions: none)
ERROR: No matching distribution found for mlc-ai-nightly
python version:
python --version
pip --version
which python
which pip3
Python 3.11.4
pip 23.2.1 from /Users/wyh/anaconda3/lib/python3.11/site-packages/pip (python 3.11)
/Users/wyh/anaconda3/bin/python
/Users/wyh/anaconda3/bin/pip3
❓ General Questions
When I run the python prepare_model_lib.py script, an error occurs:
I tried :
and got this:
python version:
MacOS Ventura 13.5.2