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

执行pip install -r .\backend\requirements.txt报错 #62

Open
gisfzb opened this issue Mar 22, 2023 · 5 comments
Open

执行pip install -r .\backend\requirements.txt报错 #62

gisfzb opened this issue Mar 22, 2023 · 5 comments

Comments

@gisfzb
Copy link

gisfzb commented Mar 22, 2023

image
安装GeoView python依赖,报错

@jscslld
Copy link
Member

jscslld commented Mar 22, 2023

请问您使用的python是什么版本的?建议降级到3.9或使用conda手动安装numpy依赖

@gisfzb
Copy link
Author

gisfzb commented Mar 22, 2023

我现在使用的是Python 3.10.10,我降到3.9试试

@gisfzb
Copy link
Author

gisfzb commented Mar 22, 2023

降级到3.9或使用conda手动安装numpy依赖都没能解决,GeoView对环境有哪些特殊依赖吗

@jscslld
Copy link
Member

jscslld commented Mar 23, 2023

降级到3.9或使用conda手动安装numpy依赖都没能解决,GeoView对环境有哪些特殊依赖吗

没有,我本地试了下,windows下利用conda install numpy安装numpy依赖后,把requirements.txt里的numpy>=1.21.3行注释掉可以正常安装。ubuntu下可以直接pip install

@yaxiAndcc
Copy link

可能是pip 版本问题换成21.1.1 就行了
python -m pip install pip==21.1.1

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