Installing detectron2 errors out ("ModuleNotFoundError: No module named 'torch' even though torch is part of the environment) #8330
Labels
kind/question
User questions (candidates for conversion to discussion)
status/external-issue
Issue is caused by external project (platform, dep, etc)
-vvv
option) and have included the output below.Issue
I am trying to add Detectron2 (https://detectron2.readthedocs.io/en/latest/) to my project. I am using a very recent version of pytorch for other reasons, so I first installed a nightly build of torch/torchvision (see pyproject.toml), and am now trying to add detectron2 from this pull request facebookresearch/detectron2#4868 :
I am getting the following output: https://gist.github.com/ldorigo/4bcc4b270cf24afbab3f9d20810c82a8
I am not sure whether this is an issue with Poetry or the upstream package, if so let me know and I will open an issue there.
The text was updated successfully, but these errors were encountered: