Skip to content
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

Can I get the installation environment information? #14

Open
fine4546 opened this issue Oct 6, 2021 · 0 comments
Open

Can I get the installation environment information? #14

fine4546 opened this issue Oct 6, 2021 · 0 comments

Comments

@fine4546
Copy link

fine4546 commented Oct 6, 2021

I have environment info

docker - pytorch 1.6
python 3.7.7

run : 'python main_dpir_sisr.py'
I know that pytorch-fft is necessary.

pip install pytorch-fft
Collecting pytorch-fft
Using cached pytorch_fft-0.15.tar.gz (7.8 kB)
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0qpqfjyv/pytorch-fft/setup.py'"'"'; file='"'"'/tmp/pip-install-0qpqfjyv/pytorch-fft/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-0qpqfjyv/pytorch-fft/pip-egg-info
cwd: /tmp/pip-install-0qpqfjyv/pytorch-fft/
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-0qpqfjyv/pytorch-fft/setup.py", line 6, in
import build
File "/tmp/pip-install-0qpqfjyv/pytorch-fft/build.py", line 3, in
from torch.utils.ffi import create_extension
File "/opt/conda/lib/python3.7/site-packages/torch/utils/ffi/init.py", line 1, in
raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Is it right to install this?
Thank you for letting me know the wrong part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant