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

安装报错 #103

Open
liuxb99 opened this issue Aug 20, 2024 · 2 comments
Open

安装报错 #103

liuxb99 opened this issue Aug 20, 2024 · 2 comments

Comments

@liuxb99
Copy link

liuxb99 commented Aug 20, 2024

Collecting aliyun-python-sdk-core>=2.13.12 (from oss2->funasr>=1.1.2->-r ./requirements.txt (line 4))
Using cached aliyun-python-sdk-core-2.15.1.tar.gz (443 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 "", line 2, in
File "", line 34, in
File "C:\Users\CYLiu99\AppData\Local\Temp\pip-install-l10oqeqh\aliyun-python-sdk-core_9e8cc767cc9847409b8447f4867a2ddd\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.

@zhenglee1984
Copy link

Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
+ C:\Users\Administrator\AppData\Local\Programs\Python\Python313\python.exe C:\Users\Administrator\AppData\Local\Temp\pip-install-4f748iz5\numpy_1ec75184bd774636839b8493b4faa3b7\vendored-meson\meson\meson.py setup C:\Users\Administrator\AppData\Local\Temp\pip-install-4f748iz5\numpy_1ec75184bd774636839b8493b4faa3b7 C:\Users\Administrator\AppData\Local\Temp\pip-install-4f748iz5\numpy_1ec75184bd774636839b8493b4faa3b7.mesonpy-unkdbu7x -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\Administrator\AppData\Local\Temp\pip-install-4f748iz5\numpy_1ec75184bd774636839b8493b4faa3b7.mesonpy-unkdbu7x\meson-python-native-file.ini
The Meson build system
Version: 1.2.99
Source dir: C:\Users\Administrator\AppData\Local\Temp\pip-install-4f748iz5\numpy_1ec75184bd774636839b8493b4faa3b7
Build dir: C:\Users\Administrator\AppData\Local\Temp\pip-install-4f748iz5\numpy_1ec75184bd774636839b8493b4faa3b7.mesonpy-unkdbu7x
Build type: native build
Project name: NumPy
Project version: 1.26.4
WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe

  ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
  The following exception(s) were encountered:
  Running `icl ""` gave "[WinError 2] 系统找不到指定的文件。"
  Running `cl /?` gave "[WinError 2] 系统找不到指定的文件。"
  Running `cc --version` gave "[WinError 2] 系统找不到指定的文件。"
  Running `gcc --version` gave "[WinError 2] 系统找不到指定的文件。"
  Running `clang --version` gave "[WinError 2] 系统找不到指定的文件。"
  Running `clang-cl /?` gave "[WinError 2] 系统找不到指定的文件。"
  Running `pgcc --version` gave "[WinError 2] 系统找不到指定的文件。"

  A full log can be found at C:\Users\Administrator\AppData\Local\Temp\pip-install-4f748iz5\numpy_1ec75184bd774636839b8493b4faa3b7\.mesonpy-unkdbu7x\meson-logs\meson-log.txt
  [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.

E:\face\FunClip\FunClip>

@zhenglee1984
Copy link

ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9
ERROR: Could not find a version that satisfies the requirement torch>=1.13 (from versions: none)
ERROR: No matching distribution found for torch>=1.13

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

2 participants