Open ghost opened 3 years ago
同样的问题:
......\python_embeded\python.exe -s -m pip install aliyun-python-sdk-core-v3 Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Collecting aliyun-python-sdk-core-v3 Using cached https://mirrors.aliyun.com/pypi/packages/50/31/bdf3eba750e9d7213248efea30ad29a62f2d449607e03f538d4d9455d952/aliyun-python-sdk-core-v3-2.13.33.tar.gz (440 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
@tietang 阿里云python sdk最新文档地址
阿里将sdk接入分为特化调用和泛化调用,特化调用安装地址为:
pip install alibabacloud_dysmsapi20170525==2.0.24
,
泛化地址为:
pip install alibabacloud-tea-openapi
同样的问题, python_embeded 环境一样安装不了
阿里将sdk接入分为特化调用和泛化调用,特化调用安装地址为:
pip install alibabacloud_dysmsapi20170525==2.0.24
,泛化地址为:
pip install alibabacloud-tea-openapi
这两种方法都不行,现在报错是 ModuleNotFoundError: No module named 'alibabacloud_tea_openapi'
pip install aliyunsdkcore Looking in indexes: http://mirrors.aliyun.com/pypi/simple/ Collecting aliyunsdkcore Downloading http://mirrors.aliyun.com/pypi/packages/36/80/4fd3153ce15ec7edae283fa937ee1adc0855f980ce248611b2e009d343df/aliyunsdkcore-1.0.3.tar.gz (23 kB)", line 1, in
ERROR: Command errored out with exit status 1:
command: 'd:\python-3.9.0-embed-amd64\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Admin\AppData\Local\Temp\pip-install-vc5sofny\aliyunsdkcore_760263d2c4f3402088d9f8592997f656\setup.py'"'"'; file='"'"'C:\Users\Admin\AppData\Local\Temp\pip-install-vc5sofny\aliyunsdkcore_760263d2c4f3402088d9f8592997f656\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Admin\AppData\Local\Temp\pip-pip-egg-info-lpu5ujkl'
cwd: C:\Users\Admin\AppData\Local\Temp\pip-install-vc5sofny\aliyunsdkcore_760263d2c4f3402088d9f8592997f656\
Complete output (5 lines):
Traceback (most recent call last):
File "
File "C:\Users\Admin\AppData\Local\Temp\pip-install-vc5sofny\aliyunsdkcore_760263d2c4f3402088d9f8592997f656\setup.py", line 225, in
VERSION = import(PACKAGE).version
ModuleNotFoundError: No module named 'aliyunsdkcore'
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.