2024-09-28 16:58:47 发布
网友
我是这个repo的所有者,我正在尝试从另一个项目导入它。我通过pip install git+https://github.com/FranGoitia/shapelets使用pip安装了它,但是我无法导入它。我尝试导入shapelets和shapelets\u分类器,但都不起作用。你知道吗
pip install git+https://github.com/FranGoitia/shapelets
您没有正确安装git repo。你知道吗
试试这个:
pip install -e git+git://github.com/FranGoitia/shapelets@master#egg=shapelets_classifier-1.0-py3.5
那你可以用 导入shapelet
正如您在存储库中看到的,您实际尝试从中导入的文件是形状.py,所以试试import shapelet
import shapelet
您没有正确安装git repo。你知道吗
试试这个:
那你可以用 导入shapelet
正如您在存储库中看到的,您实际尝试从中导入的文件是形状.py,所以试试
import shapelet
相关问题 更多 >
编程相关推荐