ARTICLE AD BOX
I've just got started on anaconda and I've been trying to clone this github repo https://github.com/THU-MIG/yoloe/.
after running the clone command and activating a required venv with python 3.10, all that remained was to install the requirements:
pip install -r requirements.txt
Ridiculously enough, this is what happened:
error: subprocess-exited-with-error × Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> [19 lines of output] Traceback (most recent call last): File "D:\ProgramData\anaconda3\envs\yoloe\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module> main() File "D:\ProgramData\anaconda3\envs\yoloe\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "D:\ProgramData\anaconda3\envs\yoloe\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 157, in get_requires_for_build_editable return hook(config_settings) File "C:\Users\jeffg\AppData\Local\Temp\pip-build-env-iyul_9eb\overlay\Lib\site-packages\setuptools\build_meta.py", line 481, in get_requires_for_build_editable return self.get_requires_for_build_wheel(config_settings) File "C:\Users\jeffg\AppData\Local\Temp\pip-build-env-iyul_9eb\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "C:\Users\jeffg\AppData\Local\Temp\pip-build-env-iyul_9eb\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires self.run_setup() File "C:\Users\jeffg\AppData\Local\Temp\pip-build-env-iyul_9eb\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\jeffg\AppData\Local\Temp\pip-build-env-iyul_9eb\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 10, 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: Failed to build 'file:///D:/code/yoloe/third_party/lvis-api' when getting requirements to build editableand yet, when I run the command pip list :
Package Version ---------- ------- packaging 25.0 pip 26.0.1 setuptools 80.10.2 wheel 0.46.3Here it is. This has caused me to suspect that the problem isn't with pip but rather with system configurations. Here's my .condarc :
channels: - defaults show_channel_urls: true envs_dirs: - D:\ProgramData\anaconda3\envs pkgs_dirs: - D:\ProgramData\anaconda3\pkgsThis is what I get when I run conda info:
active environment : yoloe active env location : D:\ProgramData\anaconda3\envs\yoloe shell level : 2 user config file : C:\Users\jeffg\.condarc populated config files : D:\ProgramData\anaconda3\.condarc C:\Users\jeffg\.condarc conda version : 26.1.1 conda-build version : 25.11.1 python version : 3.13.9.final.0 solver : libmamba (default) virtual packages : __archspec=1=skylake __conda=26.1.1=0 __cuda=13.1=0 __win=10.0.26200=0 base environment : D:\ProgramData\anaconda3 (writable) conda av data dir : D:\ProgramData\anaconda3\etc\conda conda av metadata url : None channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : D:\ProgramData\anaconda3\pkgs envs directories : D:\ProgramData\anaconda3\envs C:\Users\jeffg\.conda\envs C:\Users\jeffg\AppData\Local\conda\conda\envs temporary directory : C:\Users\jeffg\AppData\Local\Temp platform : win-64 user-agent : conda/26.1.1 requests/2.32.5 CPython/3.13.9 Windows/11 Windows/10.0.26200 solver/libmamba conda-libmamba-solver/25.11.0 libmambapy/2.3.2 aau/0.7.5 c/. s/. e/. a/. administrator : False netrc file : None offline mode : FalseAnd I have properly added the following to my PATH:
D:\ProgramData\anaconda3 D:\ProgramData\anaconda3\Scripts D:\ProgramData\anaconda3\Library\bin D:\ProgramData\anaconda3\Library\mingw-w64\binIt seems to me that I've done nothing wrong(that is, I have been following the instructions I found online, chances are that some of those are wrong), and I've tried all existing solutions like python ensurepip, but to no avail. Could someone please help me fix this?
