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

请求更新numpy版本为1.23.3以支持python3.10.X #19

Open
fatinghenji opened this issue Sep 26, 2022 · 4 comments
Open

请求更新numpy版本为1.23.3以支持python3.10.X #19

fatinghenji opened this issue Sep 26, 2022 · 4 comments

Comments

@fatinghenji
Copy link

fatinghenji commented Sep 26, 2022

目前需求的numpy版本为numpy-1.19.4,但该版本numpy仅支持到3.9.X
或应该在readme中注明可用的python版本。
具体参看:

@AkashiCoin
Copy link
Owner

我不知道你为什么会使用numpy-1.19.4, 但可以明确的是本仓库使用的numpy版本为1.21.0,是支持py3.10的
只不过因为我没有测试过py3.10所以并不支持py3.10使用pip安装此包,使用numpy的库在这MeetWq/MockingBirdForUse查看

@fatinghenji
Copy link
Author

Collecting numpy                                                                                                                                                                            
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c5/63/a48648ebc57711348420670bb074998f79828291f68aebfff1642be212ec/numpy-1.19.4.zip (7.3 MB)                                      
  Installing build dependencies ... done                                                                                                                                                    
  Getting requirements to build wheel ... done                                                                                                                                              
  Preparing metadata (pyproject.toml) ... -^canceled   

不排除是清华源的问题,我尝试下使用其他源进行安装

@fatinghenji
Copy link
Author

更换为清华源后该问题依旧存在。

@fatinghenji
Copy link
Author

fatinghenji commented Jan 10, 2023

我不知道你为什么会使用numpy-1.19.4, 但可以明确的是本仓库使用的numpy版本为1.21.0,是支持py3.10的 只不过因为我没有测试过py3.10所以并不支持py3.10使用pip安装此包,使用numpy的库在这MeetWq/MockingBirdForUse查看

今天又尝试安装时同样的问题依旧出现,再次查看相关文档后发现问题出在这里MockingBird

numpy==1.19.3; platform_system == "Windows"
numpy==1.19.4; platform_system != "Windows"

可能需要在readme里面指明支持的pyhton版本为3.9

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