Comments (4)
Hi @VacantHusky , openmim can be also used in Windows and it is recommended to install openmim in a conda environment.
from mim.
The package pip
is missed in your environment. You can use python -m ensurepip
to install pip
manually.
The ensurepip package provides support for bootstrapping the pip installer into an existing Python installation or virtual environment. This bootstrapping approach reflects the fact that pip is an independent project with its own release cycle, and the latest available stable version is bundled with maintenance and feature releases of the CPython reference interpreter.
In most cases, end users of Python shouldn’t need to invoke this module directly (as pip should be bootstrapped by default), but it may be needed if installing pip was skipped when installing Python (or when creating a virtual environment) or after explicitly uninstalling pip.
Source: https://docs.python.org/3.8/library/ensurepip.html
from mim.
`
(venv) D:\ai>python -m ensurepip
Looking in links: c:\Users\ADMINI~1\AppData\Local\Temp\tmpq7ar6q64
Requirement already satisfied: setuptools in d:\ai\venv\lib\site-packages (60.2.0)
Requirement already satisfied: pip in d:\ai\venv\lib\site-packages (24.0)
(venv) D:\ai>mim install "mmpose>=1.1.0"
Looking in indexes: https://mirror.baidu.com/pypi/simple/
Looking in links: https://download.openmmlab.com/mmcv/dist/cu117/torch2.0.0/index.html
Collecting mmpose>=1.1.0
Using cached https://mirror.baidu.com/pypi/packages/09/8c/b8f4d587b54f5f43febb4733799c616355f1d9f3a8add103ada126c87d24/mmpose-1.3.1-py2.py3-none-any.whl (1.7 MB)
Collecting chumpy (from mmpose>=1.1.0)
Using cached https://mirror.baidu.com/pypi/packages/01/f7/865755c8bdb837841938de622e6c8b5cb6b1c933bde3bd3332f0cd4574f1/chumpy-0.70.tar.gz (50 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
Traceback (most recent call last):
File "", line 9, in
ModuleNotFoundError: No module named 'pip'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\ai\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "D:\ai\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "D:\ai\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-_47_04h5\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-_47_04h5\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-_47_04h5\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-_47_04h5\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 11, in <module>
ModuleNotFoundError: No module named 'pip'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.`
i run cmd in venv in windows cmd, is no work for me
also i install mmcv like 'mim install mmcv',is work,but not work for 'mim install mmpose'
from mim.
I can reproduce the same issue.
Create a venv and then these commands (these are to try and get MusePose working)
pip install --no-cache-dir -U openmim
mim install mmengine
mim install "mmcv>=2.0.1"
mim install "mmdet>=3.1.0"
mim install "mmpose>=1.1.0"
mmpose stage gives the same no module named pip.
Is it possible to install the aboive using the standard pip install command, and if so, how?
from mim.
Related Issues (20)
- fix bug for 'TypeError: argument of type 'method' is not iterable' HOT 1
- mim: command not found HOT 5
- Support print_config
- install fail HOT 1
- mim train
- How to modify the config file with train function in MIM
- Download FileNotFoundError HOT 2
- [Bug] mmengine version not upgrade to the latest version using mim HOT 1
- mim conflicts with pip and doesn't allow installing mmdet when using pip==23.2.1 (repeated download)
- Support custom import projects directory
- Build Wheel only use one cpu core HOT 1
- Precompiled PyTorch 2.1.1 with cu121 cp311 build for Windows?
- Access Denied error on Windows HOT 3
- min install an older version of mmdet
- Torch requirement makes installing mmdet impossible ias part of a package HOT 4
- Openmim>=0.3.9 Installation Fails Due to OSError
- Permission error in the cache directory. HOT 1
- Conflicts with Google Colab Env
- Python 3.12 uses mim prompt module 'pkgutil' has no attribute 'ImpImporter‘ HOT 6
- Unable to uninstall any package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mim.