我不熟悉使用pip安装python软件包,并且遇到了麻烦。我正在尝试使用pip安装库“ mlfinlab”,并在Anaconda / Jupyter Notebooks中运行它。当我在终端中输入“ pip install mlfinlab”时,我在末尾收到以下消息:
{"500px": {"unicode": "\\uf26e", "styles": ["brands"], "label": "500px"}, "accessible-icon": {"unicode": "\\uf368", "styles": ["brands"], "label": "Accessible Icon"}, "accusoft": {"unicode": "\\uf369", "styles": ["brands"], "label": "Accusoft"}, "acquisitions-incorporated": {"unicode": "\\uf6af", "styles": ["brands"], "label": "Acquisitions Incorporated"}}
我不确定该错误消息是否相关,但我认为我还是应该包含它。
我曾尝试过运行Jupyter Notebook并导入mlfinlab,但被告知该名称没有模块。
我已经尝试运行:
Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
在Jupyter笔记本中,然后将其输出与“ -m pip install mlfinlab”一起输入我的命令行中,这似乎也不起作用。
答案 0 :(得分:0)
我最终升级了llvmlite软件包,这似乎可以解决问题。没有尝试尝试其他发布的解决方案,但它可能也可以工作。
答案 1 :(得分:-1)
可能是pip的问题,请尝试通过以下方式进行升级:
pip install --upgrade pip