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

GML installation issue #6

Closed
prashanthGit945 opened this issue Nov 30, 2020 · 2 comments
Closed

GML installation issue #6

prashanthGit945 opened this issue Nov 30, 2020 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@prashanthGit945
Copy link

ERROR: Command errored out with exit status 1:
command: 'C:\Users\prash\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\prash\AppData\Local\Temp\pip-install-9foi2r2a\torch\setup.py'"'"'; file='"'"'C:\Users\prash\AppData\Local\Temp\pip-install-9foi2r2a\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\prash\AppData\Local\Temp\pip-record-uf1syz3q\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\prash\Anaconda3\Include\torch'
cwd: C:\Users\prash\AppData\Local\Temp\pip-install-9foi2r2a\torch
Complete output (23 lines):
running install
running build_deps
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\prash\AppData\Local\Temp\pip-install-9foi2r2a\torch\setup.py", line 225, in
setup(name="torch", version="0.1.2.post2",
File "C:\Users\prash\Anaconda3\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\prash\Anaconda3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\prash\Anaconda3\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\prash\Anaconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\prash\AppData\Local\Temp\pip-install-9foi2r2a\torch\setup.py", line 99, in run
self.run_command('build_deps')
File "C:\Users\prash\Anaconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\prash\Anaconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\prash\AppData\Local\Temp\pip-install-9foi2r2a\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\prash\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\prash\AppData\Local\Temp\pip-install-9foi2r2a\torch\setup.py'"'"'; file='"'"'C:\Users\prash\AppData\Local\Temp\pip-install-9foi2r2a\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\prash\AppData\Local\Temp\pip-record-uf1syz3q\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\prash\Anaconda3\Include\torch' Check the logs for full command output.

@Muhammad4hmed
Copy link
Owner

Muhammad4hmed commented Nov 30, 2020

Its the issue of pytorch.

First install Pytorch as:

!pip3 install https://download.pytorch.org/whl/cu90/torch-1.1.0-cp36-cp36m-win_amd64.whl

!pip3 install https://download.pytorch.org/whl/cu90/torchvision-0.3.0-cp36-cp36m-win_amd64.whl

and then install GML:

!pip install GML

@prashanthGit945
Copy link
Author

installing PyTorch from the official website manually helps to install GML

@Muhammad4hmed Muhammad4hmed pinned this issue Nov 30, 2020
@Muhammad4hmed Muhammad4hmed added the documentation Improvements or additions to documentation label Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants