搭建Python(3.7及以上版本)环境并安装DashScope SDK报错

搭建Python3.7及以上版本环境并安装DashScope SDK报错


搭建Python环境这里忽略,搭建好环境后安装

pip install dashscope

但是会报错,如下所示:

ERROR: Could not find a version that satisfies the requirement dashscope (from versions: none)
ERROR: No matching distribution found for dashscope

可以尝试以下方法成功安装:

pip install dashscope -i https://pypi.tuna.tsinghua.edu.cn/simple/

你可能感兴趣的:(python,开发语言,通义千问大模型)