question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mim install mmcv-full in the wrong venv.

See original GitHub issue

When install the mmcv-full package use openmim, the package is installed in the wrong venv.

Reproduction

  1. What command or script did you run? In the pytorch venv, running mim install mmcv-full, and then pip list command cannot find the package in this venv. After deactivating the pytorch venv use deactivate, the mmcv-full package appears.

Bug fix It seams that the mim install funcition cannot recognize the venv environment.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DingYuan0118commented, Dec 11, 2021
  • first, use python -m venv test_mim to create a venv environment.
  • second, use pip install torch==1.10.0+cu102 torchvision==0.11.1+cu102 torchaudio===0.10.0+cu102 -f https://download.pytorch.org/whl/cu102/torch_stable.html as pytorch.org suggested to install the pytorch
  • then, use pip install openmim and mim install mmcv-full to install mmcv and it will show up a successfully installed message.
  • last, use pip list in this venv, and you cannot find the installed mmcv package
0reactions
zhouzaidacommented, Dec 13, 2021

Thank you for your patience. I will try to reproduce the error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation — mmcv 1.7.0 documentation - Read the Docs
Install with mim (recommended). mim is the package management tool for the OpenMMLab projects, which makes it easy to install mmcv-full.
Read more >
High Performance Finetune on COCO Format Dataset
In this section, our goal is to fast finetune and evaluate a pretrained model on Pothole dataset in COCO format. Pothole is a...
Read more >
MMAction2 Skeleton demo - Kaggle
ERROR : pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of...
Read more >
error: failed building wheel for pycocotools failed to ... - You.com
I had the same error for when I tried pip install pycocotools to my virtual environment venv . Installing pycocotools has other package...
Read more >
https://osm.etsi.org/gitlab/vnf-onboarding/osm-pac...
charms/virtual-pc/venv/yaml/error.py | 75 + . ... install, and (for an executable +work) run the object code and to modify the work, including scripts...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found