Potrzebuje w Blender wersji 4.1 zainstalować mediapipe i dostaje taki błąd: C:\Program…
- User
Potrzebuje w Blender wersji 4.1 zainstalować mediapipe i dostaje taki błąd: C:\Program Files\Blender Foundation\Blender 4.1\4.1\python\bin\python.exe -m pip install protobuf==3.20.3 --user Collecting protobuf==3.20.3 Using cached protobuf-3.20.3-py2.py3-none-any.whl.metadata (720 bytes) Using cached protobuf-3.20.3-py2.py3-none-any.whl (162 kB) Installing collected packages: protobuf Successfully installed protobuf-3.20.3
[notice] A new release of pip is available: 23.2.1 -> 25.1.1 [notice] To update, run: C:\Program Files\Blender Foundation\Blender 4.1\4.1\python\bin\python.exe -m pip install --upgrade pip C:\Program Files\Blender Foundation\Blender 4.1\4.1\python\bin\python.exe -m pip install mediapipe==0.9.0.1 --user ERROR: Could not find a version that satisfies the requirement mediapipe==0.9.0.1 (from versions: 0.10.5, 0.10.7, 0.10.8, 0.10.9, 0.10.10, 0.10.11, 0.10.13, 0.10.14, 0.10.18, 0.10.20, 0.10.21)
[notice] A new release of pip is available: 23.2.1 -> 25.1.1 [notice] To update, run: C:\Program Files\Blender Foundation\Blender 4.1\4.1\python\bin\python.exe -m pip install --upgrade pip ERROR: No matching distribution found for mediapipe==0.9.0.1 Error: Installation of mediapipe failed. Check system console output.
2025-05-02 19:57:10,204 - root - WARNING - The 'opencv_contrib_python' distribution was not found and is required by the application 05-02 19:57:10 - BlendArMocap: WARNING - The 'opencv_contrib_python' distribution was not found and is required by the application - cgt_dependencies.py:288 2025-05-02 19:57:10,358 - root - WARNING - The 'opencv_contrib_python' distribution was not found and is required by the application 05-02 19:57:10 - BlendArMocap: WARNING - The 'opencv_contrib_python' distribution was not found and is required by the application - cgt_dependencies.py:288 2025-05-02 19:57:10,452 - root - WARNING - The 'opencv_contrib_python' distribution was not found and is required by the application 05-02 19:57:10 - BlendArMocap: WARNING - The 'opencv_contrib_python' distribution was not found and is required by the application - cgt_dependencies.py:288
- Assistant
- User
wpisuje to w power shell administrator i dostaje np. taki błąd: C:\Program : The term 'C:\Program' is not recognized as the name of a cmdlet, function, script file, or operable progra m. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
- C:\Program Files\Blender Foundation\Blender 4.1\4.1\python\bin\python ...
-
code
+ CategoryInfo : ObjectNotFound: (C:\Program:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
- Assistant
Błąd, który widzisz, pojawia się dlatego, że PowerShell interpretuje spacje w ścieżce (
C:\Program Files\...) jako rozdzielacze argumentów, więc próbuje wykonać polecenieC:\Program, które oczywiście nie istnieje.
Jak to naprawić?
- Użyj cudzysłowów wokół ścieżki zawierającej spacje
W PowerShell ścieżki z spacjami trzeba ująć w podwójne cudzysłowy ("..."):
powershell& "C:\Program Files\Blender Foundation\Blender 4.1\4.1\python\bin\python.exe" -m pip install --upgrade pipZnaczenie:
&— operator wywołania polecenia z podaną ścieżką.