简体   繁体   English

无法在 Pycharm 终端或 Package 安装程序中安装 mediapipe package

[英]Cannot install mediapipe package in Pycharm terminal or Package installer

I am trying to use Mediapipe with python.我正在尝试将 Mediapipe 与 python 一起使用。 I originally tried mediapipe-rpi4 which did install successfully.我最初尝试了安装成功的 mediapipe-rpi4。 But when I run it I get this error message但是当我运行它时,我收到此错误消息

Traceback (most recent call last):回溯(最近一次通话最后):

    import mediapipe as mp
  File "C:\Users\Isiana\PycharmProjects\FitnessTrainer\venv\lib\site-packages\mediapipe\__init__.py", line 16, in <module>
    from mediapipe.python import *
  File "C:\Users\Isiana\PycharmProjects\FitnessTrainer\venv\lib\site-packages\mediapipe\python\__init__.py", line 17, in <module>
    from mediapipe.python._framework_bindings import resource_util
ModuleNotFoundError: No module named 'mediapipe.python._framework_bindings' ```



I then tried to download the regular mediapipe and I am getting this error now:

``` ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe ```

Does anyone know what I am  doing worng?

What is your python version?您的 python 版本是多少?

Open your terminal and run:打开终端并运行:

python --version

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM