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

"ERROR: Command errored out with exit status 1" after running "python -m pip install -r requirements.txt" #83

Open
azumukupoe opened this issue Feb 20, 2020 · 0 comments

Comments

@azumukupoe
Copy link

ERROR: Command errored out with exit status 1: command: 'C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\azumu\\AppData\\Local\\Temp\\pip-install-5t4ofxog\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\azumu\\AppData\\Local\\Temp\\pip-install-5t4ofxog\\torch\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\azumu\AppData\Local\Temp\pip-record-hw42i1rt\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\Include\torch' cwd: C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\ Complete output (23 lines): running install running build_deps Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\setup.py", line 225, in <module> setup(name="torch", version="0.1.2.post2", File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\site-packages\setuptools\__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\setup.py", line 99, in run self.run_command('build_deps') File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\setup.py", line 51, in run from tools.nnwrap import generate_wrappers as generate_nn_wrappers ModuleNotFoundError: No module named 'tools.nnwrap' ---------------------------------------- ERROR: Command errored out with exit status 1: 'C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\azumu\\AppData\\Local\\Temp\\pip-install-5t4ofxog\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\azumu\\AppData\\Local\\Temp\\pip-install-5t4ofxog\\torch\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\azumu\AppData\Local\Temp\pip-record-hw42i1rt\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\Include\torch' Check the logs for full command output.

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