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
Cannot use pytorch interpreter help function due to error #10480
Comments
@KennethAdamMiller you report that your Python version is 2.7, but you are using Python 3.7 (as evidenced by the stack-trace). We fixed this issue (which affects Python 3.7) in #10271 It was fixed after the 0.4.1 release and will be part of the next release. |
"for both python 2 and 3" |
@KennethAdamMiller sorry for missing that. Can I see a stack-trace for python2? (the python 3.7 issue has been fixed, maybe python 2 has a different issue in your case) |
which python/usr/local/bin/python pythonPython 2.7.15 (default, Jun 17 2018, 13:05:56)
Thanks for being attentive and helping me with it! :D |
in your console, before
Does that fix the issue? |
Yeah that did fix it! |
We should probably test and support |
Closing this issue because we no longer support Python 2. Please reopen if it's still relevant. |
Issue description
I can't use the help due to an error, and I've reinstalled torch for both python 2 and 3 and with both anaconda and my host python.
Code example
System Info
Please copy and paste the output from our
environment collection script
PyTorch version: 0.4.1
Is debug build: No
CUDA used to build PyTorch: None
OS: Mac OSX 10.13.6
GCC version: Could not collect
CMake version: version 3.11.4
Python version: 2.7
Is CUDA available: No
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
Versions of relevant libraries:
[pip] numpy (1.14.5)
[pip] torch (0.4.1)
[pip] torchvision (0.2.1)
[conda] Could not collect
The text was updated successfully, but these errors were encountered: