aliyun / aliyun/aliyun-openapi-python-sdk
aliyun-python-sdk-core can not install
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 578
- PR merge metrics
- No merged PRs in 30d
Description
您好我是写了一个Comfyui的插件叫 ComfyUI-Portrait-Maker,很多windows用户出现一个问题,我的windows用户安装modelscope包的时候依赖于aliyun-python-sdk-core 出现下面的错误:
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2~=2.17.0->openxlab->opendatalab->openmim)
Using cached aliyun-python-sdk-core-2.13.36.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
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\albam\AppData\Local\Temp\pip-install-025cd5tn\aliyun-python-sdk-core_78b82f9b135341b1a2825e5884118385\setup.py", line 41, in <module>
VERSION = __import__(PACKAGE).__version__
ModuleNotFoundError: No module named 'aliyunsdkcore'
[end of output]
不仅仅是我遇到了这样的问题,使用ComfyUI的用户只要是windows用户,使用了ComfyUI的整合包release有依赖于aliyun-python-sdk-core 的,都会出现pip安装不了的情况,也咨询了ComfyUI的作者,作者给出的解决方案也解决不了 如下aliyunsdkcore error
请阿里的大神们帮忙看看,毕竟这个问题不在少数,我在Stable-diffusion-webui的issue里面也看到过类似的问题,都是无法解决
- Python Version:3.10.11
- aliyunsdkcore Version:modelscope 1.9.2
- API:aliyun-python-sdk-core
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Windows installation failure for aliyun-python-sdk-core 2.13.36 with Python 3.10.11, then inspect setup.py at line 41 and the aliyunsdkcore package referenced by the traceback. Done means pip can generate package metadata and install the dependency successfully in the reported modelscope dependency chain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100