Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-3.9.0-embed-amd64 用pip安装失败(包括aliyun-python-sdk-core和aliyun-python-sdk-iot) #9

Open
ghost opened this issue Dec 7, 2020 · 6 comments

Comments

@ghost
Copy link

ghost commented Dec 7, 2020

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)
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 "", line 1, in
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.

@tietang
Copy link

tietang commented Jun 6, 2024

同样的问题:

......\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 "", line 2, in
File "", line 34, in
File "C:\Users\hy\AppData\Local\Temp\pip-install-8h1o9jtn\aliyun-python-sdk-core-v3_b3b53e839d294ab3a6db7c270572cd49\setup.py", line 41, in
VERSION = import(PACKAGE).version
^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'aliyunsdkcore'
[end of output]

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.

@geekil
Copy link
Owner

geekil commented Jun 7, 2024

@tietang
阿里云python sdk最新文档地址

阿里将sdk接入分为特化调用和泛化调用,特化调用安装地址为:

pip install alibabacloud_dysmsapi20170525==2.0.24,

泛化地址为:

pip install alibabacloud-tea-openapi

@tietang
Copy link

tietang commented Jun 19, 2024

同样的问题, python_embeded 环境一样安装不了

@Jack-919
Copy link

阿里云python sdk最新文档地址

阿里将sdk接入分为特化调用和泛化调用,特化调用安装地址为:

pip install alibabacloud_dysmsapi20170525==2.0.24,

泛化地址为:

pip install alibabacloud-tea-openapi这两种方法都不行,现在报错是 ModuleNotFoundError: No module named 'alibabacloud_tea_openapi'

@geekil
Copy link
Owner

geekil commented Jun 22, 2024

@Jack-919 pypi地址 你看看你的环境和python版本

@nicklhy
Copy link

nicklhy commented Sep 25, 2024

Same problem here. Got this bug when pip install oss2 with comfyui windows version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants