-
Notifications
You must be signed in to change notification settings - Fork 66
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
mim: command not found #214
Comments
ok, i had the same issue, the problem was where the mim was installed - i deleted it and reinstalled openmim with sudo and now it works fine, hope this helps you as well (: before this i tried installing it with pip and from source and nothing worked. Installing it with sudo pip worked. I think sudo solved my problem bcs non sudo pip couldnt install packages exactly where it wanted so it installed them in some random folder at /home/user/.local idk works now im chillin |
pip install openmim |
Hi, what is your environment (os and python version)? |
It can't find where mim is installed, easy solution instead of mim install mmengine run:
For me <path/where/mim/isnatlled> = /opt/anaconda3/envs/sf_av2/bin/mim :) |
It's a good practice to use Python modules explicitly by using the argument And the usage is very simple: Install from source: git clone https://github.com/open-mmlab/mim.git
cd mim
python -m pip install -e .
python -m mim --help Install from PyPi: python -m pip install openmim
python -m mim --help |
after installing mim in source-code style, but can't find the mim command.
The text was updated successfully, but these errors were encountered: