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

搞了两天了,安装不了 #379

Open
lanyilin666 opened this issue Aug 21, 2024 · 5 comments
Open

搞了两天了,安装不了 #379

lanyilin666 opened this issue Aug 21, 2024 · 5 comments

Comments

@lanyilin666
Copy link

C:\Users\30110>pip install geatpy
Collecting geatpy
Using cached geatpy-2.4.0.tar.gz (60.0 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\30110\AppData\Local\Temp\pip-install-j1f8w25r\geatpy_cd0e2c4429d6468da02329939f143e4c\setup.py", line 75, in
findAndCopy(core_path)
File "C:\Users\30110\AppData\Local\Temp\pip-install-j1f8w25r\geatpy_cd0e2c4429d6468da02329939f143e4c\setup.py", line 58, in findAndCopy
for files in os.listdir(path):
^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: '_core/Windows/lib64/v3.1'
[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.

@Decade-rider
Copy link

可以本地安装试试呢,我刚刚安装2.7.0成功了
我的命令如下:pip install XXX\geatpy-2.7.0-cp311-cp311-win_amd64.whl
先下载适合自己python版本的whl文件,再进行本地安装。XXX是你的whl文件所在路径

@lanyilin666
Copy link
Author

我python版本是3.12
好像不支持这个版本吧

@Decade-rider
Copy link

2.7是有支持3.12的可以下载的

@geatpy-dev
Copy link
Owner

在Github release里可以下载Python 3.12的版本的安装包。

@lanyilin666
Copy link
Author

哦哦,我把我python版本转成3.10了,一下就安好了,谢谢各位

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

3 participants