CondaHTTPError and ModuleNotFoundError: No module named 'filterinterpolation_cuda'
Opened this issue · 1 comments
Hello,
When I run the DAIN_4_Microscopy.ipynb notebook in colab, I got this error when running "Install the requirements" section:
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
`$ /usr/local/bin/conda install pytorch==1.1 cudatoolkit torchvision -c pytorch -y`
environment variables:
CIO_TEST=<not set>
COLAB_DEBUG_ADAPTER_MUX_PATH=/usr/local/bin/dap_multiplexer
COLAB_LANGUAGE_SERVER_PROXY=<set>
CONDA_ROOT=/usr/local
LD_LIBRARY_PATH=/usr/lib64-nvidia
LIBRARY_PATH=/usr/local/cuda/lib64/stubs
PATH=/opt/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/us
r/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/tools/node/bin:/tools/googl
e-cloud-sdk/bin
PYTHONPATH=/env/python
PYTHONWARNINGS=ignore:::pip._internal.cli.base_command
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
TCLLIBPATH=/usr/share/tcltk/tcllib1.20
active environment : None
user config file : /root/.condarc
populated config files :
conda version : 4.5.4
conda-build version : not installed
python version : 3.6.5.final.0
base environment : /usr/local (writable)
channel URLs : https://conda.anaconda.org/pytorch/linux-64
https://conda.anaconda.org/pytorch/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/linux-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/linux-64
https://repo.anaconda.com/pkgs/pro/noarch
package cache : /usr/local/pkgs
/root/.conda/pkgs
envs directories : /usr/local/envs
/root/.conda/envs
platform : linux-64
user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Linux/6.1.85+ ubuntu/22.04 glibc/2.35
UID:GID : 0:0
netrc file : None
offline mode : False
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/pro/linux-64/repodata.json.bz2>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com/ blocked, please file
a support request with your network engineering team.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/pro/linux-64/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')],)",),))',),)
A reportable application error has occurred. Conda has prepared the above report.
Upload successful.
Solving environment: failed
It looks like the connection to conda failed. So I install the torch package with pip command pip install torch==1.1.0 torchvision==0.3.0
successfully. But then when I run "Perfome DAIN Frame Interpolation" section (I want to directly use pretrained model for prediction, so I skip the section 3 and 4), I got this error
ModuleNotFoundError: No module named 'filterinterpolation_cuda'
I'm wonderring whether there are any solution for this problem, thanks.
I am sorry to hear that it is not working for you.
It seems that google colab changed some things on their side which breaks the installation process.
I think the easiest way would be (if you have a PC with a graphics card available) to download the notebook and run it with the suggested installation locally.
I hope that helps!