-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
ImportError: No module named 'tools.setup_helpers' #707
Comments
Can you please show me the command you ran and the full stack trace it gives you? |
Sure. I ran
I tried deleting the cached version and doing a fresh download. That didn't work either. |
since pytorch is not on PyPI yet, doing |
When I use the command Reading https://pypi.python.org/simple/torch/ During handling of the above exception, another exception occurred: Traceback (most recent call last): Thanks, |
as i mentioned above, |
I have a similar problem. I follow the instructions on installing pytorch on Linux via pip, python 3.5. The two commands in the instructions are as follows:
The first (installation of the wheel) was fine. The second gave the ImportError: No module named 'tools.setup_helpers'. So I'm not sure this issue should be closed. Here's the output:
|
@svohara for some reason it's trying to reinstall What's the output of the command: |
@svohara try using three backticks for quoting instead of one. That's hard to read.
Try finding and deleting that file. |
same error message for
I'm using mac and python 3.5 |
@unnir |
@soumith I expect people will just keep doing this until there's a working package on PyPI. That's just the first thing people are going to try for a Python project. Maybe you could upload an
|
@soumith from the same place as I got a common sense. normally I'm using pip for installing packages. @lukeyeager totally agree. |
@unnir i didn't mean you dont have common sense. Sorry about that. |
Install by pytorch.org |
IFU master 08/10/2020.
Fix nested loop traversal
I did't fix my problem. I'm trying to install Caffe2 for python (3.8.7). It shows me this message:
I need help as soon as possible :( NOTE: |
The EXACTLY same problem I meet (during installing caffe2) |
Same problem here! |
Same issue here as well |
I have the same problem |
I have the same problem too |
Well, I feel like this must be fixed somehow.... I am also facing the same problem guys... |
Same problem. Use Collecting caffe2
Using cached caffe2-0.5.0a0.dev100.tar.gz (10.7 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-i_faspwa/caffe2_6bf5d76bcddc4318b88e7aef5c343901/setup.py", line 108, in <module>
from tools.setup_helpers.env import check_env_flag, check_negative_env_flag
ModuleNotFoundError: No module named 'tools.setup_helpers'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed |
I'm facing the same problem... 7 years is quite a long time for this issue to exist. |
Hi,
I tried to update PyTorch using pip and I got this error message. For some reason python 3.5 isn't recognizing tools.setup_helpers as a module. Any idea why that might be/how to fix it?
Thanks,
Shawn
The text was updated successfully, but these errors were encountered: