-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DLL load failed #12
Comments
I use virtual environment, and these all lib that I installed -i https://pypi.org/simple
aiofiles==23.1.0 ; python_version >= '3.7' and python_version < '4.0'
aiohttp==3.8.4 ; python_version >= '3.6'
aiosignal==1.3.1 ; python_version >= '3.7'
altair==5.0.0 ; python_version >= '3.7'
anyio==3.6.2 ; python_full_version >= '3.6.2'
asttokens==2.2.1
async-timeout==4.0.2 ; python_version >= '3.6'
attrs==23.1.0 ; python_version >= '3.7'
backcall==0.2.0
certifi==2023.5.7 ; python_version >= '3.6'
charset-normalizer==3.1.0 ; python_full_version >= '3.7.0'
click==8.1.3 ; python_version >= '3.7'
colorama==0.4.6 ; platform_system == 'Windows'
comm==0.1.3 ; python_version >= '3.6'
contourpy==1.0.7 ; python_version >= '3.8'
cycler==0.11.0 ; python_version >= '3.6'
debugpy==1.6.7 ; python_version >= '3.7'
decorator==5.1.1 ; python_version >= '3.5'
executing==1.2.0
fastapi==0.95.2 ; python_version >= '3.7'
ffmpy==0.3.0
filelock==3.12.0 ; python_version >= '3.7'
fire==0.5.0
fonttools==4.39.4 ; python_version >= '3.8'
frozenlist==1.3.3 ; python_version >= '3.7'
fsspec==2023.5.0 ; python_version >= '3.8'
gradio==3.32.0
gradio-client==0.2.5 ; python_version >= '3.7'
h11==0.14.0 ; python_version >= '3.7'
httpcore==0.17.1 ; python_version >= '3.7'
httpx==0.24.1 ; python_version >= '3.7'
huggingface-hub==0.14.1 ; python_full_version >= '3.7.0'
idna==3.4 ; python_version >= '3.5'
imageio==2.28.1
imageio-ffmpeg==0.4.8
ipykernel==6.23.1
ipython==8.13.2 ; python_version >= '3.9'
ipywidgets==8.0.6
jedi==0.18.2 ; python_version >= '3.6'
jinja2==3.1.2 ; python_version >= '3.7'
jsonschema==4.17.3 ; python_version >= '3.7'
jupyter-client==8.2.0 ; python_version >= '3.8'
jupyter-core==5.3.0 ; python_version >= '3.8'
jupyterlab-widgets==3.0.7 ; python_version >= '3.7'
kiwisolver==1.4.4 ; python_version >= '3.7'
linkify-it-py==2.0.2
markdown-it-py[linkify]==2.2.0 ; python_version >= '3.7'
markupsafe==2.1.2 ; python_version >= '3.7'
matplotlib==3.7.1 ; python_version >= '3.8'
matplotlib-inline==0.1.6 ; python_version >= '3.5'
mdit-py-plugins==0.3.3 ; python_version >= '3.7'
mdurl==0.1.2 ; python_version >= '3.7'
multidict==6.0.4 ; python_version >= '3.7'
nest-asyncio==1.5.6 ; python_version >= '3.5'
ninja==1.11.1
numpy==1.24.3
orjson==3.8.12 ; python_version >= '3.7'
packaging==23.1 ; python_version >= '3.7'
pandas==2.0.1 ; python_version >= '3.8'
parso==0.8.3 ; python_version >= '3.6'
pickleshare==0.7.5
pillow==9.5.0 ; python_version >= '3.7'
platformdirs==3.5.1 ; python_version >= '3.7'
prompt-toolkit==3.0.38 ; python_full_version >= '3.7.0'
psutil==5.9.5 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
pure-eval==0.2.2
pydantic==1.10.7 ; python_version >= '3.7'
pydub==0.25.1
pygments==2.15.1 ; python_version >= '3.7'
pyparsing==3.0.9 ; python_full_version >= '3.6.8'
pyrsistent==0.19.3 ; python_version >= '3.7'
python-dateutil==2.8.2 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'
python-multipart==0.0.6 ; python_version >= '3.7'
pytz==2023.3
pywin32==306 ; sys_platform == 'win32' and platform_python_implementation != 'PyPy'
pyyaml==6.0 ; python_version >= '3.6'
pyzmq==25.0.2 ; python_version >= '3.6'
requests==2.30.0 ; python_version >= '3.7'
semantic-version==2.10.0 ; python_version >= '2.7'
six==1.16.0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'
sniffio==1.3.0 ; python_version >= '3.7'
stack-data==0.6.2
starlette==0.27.0 ; python_version >= '3.7'
termcolor==2.3.0 ; python_version >= '3.7'
toolz==0.12.0 ; python_version >= '3.5'
tornado==6.3.2 ; python_version >= '3.8'
tqdm==4.65.0
traitlets==5.9.0 ; python_version >= '3.7'
typing-extensions==4.5.0 ; python_version >= '3.7'
tzdata==2023.3 ; python_version >= '2'
uc-micro-py==1.0.2 ; python_version >= '3.7'
urllib3==2.0.2 ; python_version >= '3.7'
uvicorn==0.22.0 ; python_version >= '3.7'
wcwidth==0.2.6
websockets==11.0.3 ; python_version >= '3.7'
widgetsnbextension==4.0.7 ; python_version >= '3.7'
yarl==1.9.2 ; python_version >= '3.7'
|
are you running the colab.ipynb locally? you should use for local env python gradio_app.py |
|
These are steps I did: py -m venv venv
pip install pipenv
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 #my nvcc version relate to this torch version
pipenv install #another libs except torch and torchvision Is there any mistake? |
I have no idea what it causes too. I use conda personally, therefore I would recommend to use conda. For your python venv, could you try to install all requirements via
this is verified that works on remote google colab notebook. |
ok, btw, if you have a workable environment with torch installed correctly, I think you can simply use it directly and install the missing packages. We have very loose requirements for the package versions, so that most of your existing packages could remain unchanged. |
I got the same questions! |
I try to re-setup the virtual env using conda and it works, |
|
Do you have a solution for the probelm"ImportError: DLL load failed while importing fused:"now? |
Not yet, I give it up. Sorry
ZhizhuangWang ***@***.***>于2023年10月2日 周一18:55写道:
… Do you have a solution for the probelm"ImportError: DLL load failed while
importing fused:"now?
—
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXLZIONZJI7MPJROW457L5DX5KFQZANCNFSM6AAAAAAYKI2LZ4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I got error with cpp_extension.py
previously, I got this error
then, I try to change
['ninja', '-v']
to['ninja', '--version']
(got this solution while exploring onstackoverflow
) .and then, this
Error : *DLL load failed*
show up.Can anybody help with this?
The text was updated successfully, but these errors were encountered: