-
Notifications
You must be signed in to change notification settings - Fork 129
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
ModuleNotFoundError: No module named 'detectron2.config' #4
Comments
Did you do pip install -r requirements.txt ? I would reccomend to use a WSL if you are on Windows. |
I have same issue on windows 10 as alexfredo |
I have windows 10 too |
Have you cloned the Detectron repository? Please use |
yes i cloned and installed the detectron repo, installed it, now im getting: |
The issue lies with Windows, and while we are actively working on a solution, I would recommend utilizing Windows Subsystem for Linux (WSL) as a temporary workaround. You can easily download WSL from the Microsoft Store, and it functions seamlessly. I will also include this advice in the readme for your convenience. |
I'm on OSX Ventura and am running into the same issue as well. Edit: creating a venv, then first installing pytorch+ torchvision before installing the requirement.txt resolved this. |
I'm on linux, installed torch and torch vision, did pip install -r requirements.txt and then git clone of the detectron2 and getting no module named detectron2.config found |
I cannot reproduce your problem @zono50 , could you provide us with more details? Which version of torch and torch vision did you have? I suggest you to create a virtual env, git clone the detectron repo, then install the torch and torch vision(check the requirements.txt for the versions) and finally the pip install - r requirements.txt |
请问这个仓库git clone下来应该放在哪个目录下,放在vid2densepose目录下吗,还是同级?期待答复。谢谢 |
!apt install -y nvidia-cuda-dev |
Hi, I will try it on a fresh WSL installation, For me the best solution will be, no erros under windows 👯 Regards |
Hi I have a error when I use the "py main.py" command, the error :
File "C:\vid2densepose\main.py", line 1, in
from detectron2.config import get_cfg
ModuleNotFoundError: No module named 'detectron2.config'
Please helps ! thanks
The text was updated successfully, but these errors were encountered: