操作系统:Mac Catalina
报错内容:ERROR: Could not find a version that satisfies the requirement tqsdk (from versions: none)
ERROR: No matching distribution found for tqsdk
额外信息:pip已经是最新版本了20.0.2
尝试下载wheel包后本地安装提示: tqsdk-1.6.3-py3-none-any.whl is not a supported wheel on this platform.
如何破?
问题已解决,做了如下操作
1、安装python3.8
2、alias python /usr/local/bin/python3
3、pip3 install tqsdk
因为tqsdk只提供python3的版本,所以要用pip3安装,而mac默认情况下pip和pip3都会调用python命令,所以要手动做别名
还有一点,我在pycharm下就没有问题,但是在mac环境下就报错