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't install nueral-renderer-pytorch 1.1.3 during pip install -r requirements.txt #112

Open
eduardoLopex666 opened this issue Sep 9, 2021 · 2 comments

Comments

@eduardoLopex666
Copy link

While installing packages in my Python 3 conda environment using 'pip install -r requirements.txt', I got the following error.
What can be a possible solution to this dilemma?

ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Public\Anaconda\envs\spin\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Rukshar Alam\\AppData\\Local\\Temp\\pip-install-0nahomca\\neural-renderer-pytorch_f6cc23a34f1243c7ab1612ec4351ce37\\setup.py'"'"'; __file__='"'"'C:\\Users\\Rukshar Alam\\AppData\\Local\\Temp\\pip-install-0nahomca\\neural-renderer-pytorch_f6cc23a34f1243c7ab1612ec4351ce37\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Rukshar Alam\AppData\Local\Temp\pip-pip-egg-info-uraoju8v'
         cwd: C:\Users\Rukshar Alam\AppData\Local\Temp\pip-install-0nahomca\neural-renderer-pytorch_f6cc23a34f1243c7ab1612ec4351ce37\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Rukshar Alam\AppData\Local\Temp\pip-install-0nahomca\neural-renderer-pytorch_f6cc23a34f1243c7ab1612ec4351ce37\setup.py", line 4, in <module>
        from torch.utils.cpp_extension import BuildExtension, CUDAExtension
    ModuleNotFoundError: No module named 'torch'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/15/28/dd59b5098e60e75948ae414ee65700597217199591dffa22797f47914702/neural_renderer_pytorch-1.1.3.tar.gz#sha256=d0d86b003c2cc1a4d8a909862fb52ff153641636471097651239764a428c9137 (from https://pypi.org/simple/neural-renderer-pytorch/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement neural-renderer-pytorch (from versions: 1.1.3)
ERROR: No matching distribution found for neural-renderer-pytorch
@Ruid6
Copy link

Ruid6 commented Aug 24, 2022

While installing packages in my Python 3 conda environment using 'pip install -r requirements.txt', I got the following error. What can be a possible solution to this dilemma?

ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Public\Anaconda\envs\spin\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Rukshar Alam\\AppData\\Local\\Temp\\pip-install-0nahomca\\neural-renderer-pytorch_f6cc23a34f1243c7ab1612ec4351ce37\\setup.py'"'"'; __file__='"'"'C:\\Users\\Rukshar Alam\\AppData\\Local\\Temp\\pip-install-0nahomca\\neural-renderer-pytorch_f6cc23a34f1243c7ab1612ec4351ce37\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Rukshar Alam\AppData\Local\Temp\pip-pip-egg-info-uraoju8v'
         cwd: C:\Users\Rukshar Alam\AppData\Local\Temp\pip-install-0nahomca\neural-renderer-pytorch_f6cc23a34f1243c7ab1612ec4351ce37\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Rukshar Alam\AppData\Local\Temp\pip-install-0nahomca\neural-renderer-pytorch_f6cc23a34f1243c7ab1612ec4351ce37\setup.py", line 4, in <module>
        from torch.utils.cpp_extension import BuildExtension, CUDAExtension
    ModuleNotFoundError: No module named 'torch'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/15/28/dd59b5098e60e75948ae414ee65700597217199591dffa22797f47914702/neural_renderer_pytorch-1.1.3.tar.gz#sha256=d0d86b003c2cc1a4d8a909862fb52ff153641636471097651239764a428c9137 (from https://pypi.org/simple/neural-renderer-pytorch/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement neural-renderer-pytorch (from versions: 1.1.3)
ERROR: No matching distribution found for neural-renderer-pytorch

Same problem. has anyone solved it ?

@bibibabibo26
Copy link

由于该项目用pytorch0.4.0版本,与高版本pytorch会有兼容问题,故安装编译时失败。解决该问题参考这篇博客https://blog.csdn.net/u011058765/article/details/117000663 已验证成功

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

3 participants