我是此repo的所有者,我正在尝试从另一个项目导入它。我通过pip install git+https://github.com/FranGoitia/shapelets使用pip安装了它,但我无法导入它。我尝试导入shapelets和shapelets_classifier,但都不起作用。
发布于 2017-02-14 00:17:00
您没有以正确的方式安装git存储库。
试试这个:
pip install -e git+git://github.com/FranGoitia/shapelets@master#egg=shapelets_classifier-1.0-py3.5然后,您可以使用导入shapelet
发布于 2017-02-13 23:59:56
正如您在存储库中看到的那样,您实际尝试从中导入的文件是shapelet.py,因此可以尝试使用import shapelet
https://stackoverflow.com/questions/42207483
复制相似问题