ModuleNotFoundError: No module named 'PyDIP', although it's installed

前端 未结 2 1294
执念已碎
执念已碎 2021-01-25 09:28

Trying to work with image recognition, I installed Python with OpenCV, following this tutorial. Later on, I decided to give PyDIP a try, running the commands given on this answe

相关标签:
2条回答
  • 2021-01-25 09:45

    You are trying to install the PyDIP module by installing it with pip, but the Python Package Index says the pydip module on there is an

    Adjudication logic engine for Diplomacy board game

    To install it you have to build it from source.

    Check here for help.

    0 讨论(0)
  • 2021-01-25 09:55

    The project has top-level package pydip (not PyDIP). So import it:

    import pydip as dip
    

    AFAIU PyDIP is a different package.

    0 讨论(0)
提交回复
热议问题