[英]Getting install package leads to PyCrypto error while installing Python libraries?
I'm trying to install smartapi Python library我正在尝试安装 smartapi Python 库
pip install smartapi
But it's throw error.....但这是抛出错误......
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> PyCrypto
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
My Python version is 3.10.2 and my pip version is 22.0.3我的Python版本是3.10.2 ,我的pip版本是22.0.3
PyCrypto is no longer supported . 不再支持 PyCrypto 。 See https://stackoverflow.com/a/69516560/7976758 and https://stackoverflow.com/a/58077358/7976758 .
请参阅https://stackoverflow.com/a/69516560/7976758和https://stackoverflow.com/a/58077358/7976758 。
SmartAPI requires Python 2 (see the bottom of the left column). SmartAPI需要Python 2(见左栏底部)。 Try Python 2.7.
尝试 Python 2.7。 Or find out a different package.
或者找出另一个 package。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.