python - 安装 rioxarray 时出现 RuntimeError
问题描述
当我尝试通过以下方式安装 rioxarray 时:
pip install rioxarray
我收到以下错误:
RuntimeError: The current Numpy installation (...) fails to pass a sanity check due to a bug in the windows runtime.
一些搜索让我在这里结束,这表明将 numpy 降级到 1.19.3。
但这对我不起作用。
有没有进一步的建议?
操作系统:窗口 10,python:3.8.5
先感谢您。
解决方案
是的,numpy==1.19.3
在这种情况下使用不会有帮助。如果您不介意使用 anaconda,可以安装 rioxarray。安装工作没有任何警告,conda 负责所有依赖项。
> conda create -n myproj
> conda activate myproj
> conda install -c conda-forge rioxarray
> python
Python 3.9.1 | packaged by conda-forge | (default, Dec 9 2020, 01:07:06) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>import rioxarray
>>>print(rioxarray.__version__)
0.1.1
推荐阅读
- javascript - 渲染没有更新?
- cordova - 使用带有模拟器的 Cordova 和 Android Studio,事件日志一直显示“无法打开连接到:localhost/127.0.0.1:5037”
- docker - Docker-compose关于Domjudge服务器的设置问题
- flutter - 如何更改现有 TextStyle 的特定属性?
- uwp - (UWP) 如何在 ContentDialog 中启用按钮之前包含延迟?
- django-rest-framework - 使用 Django Rest Framework 同时更新或创建多个实例
- sharepoint - 如何将共享点列表绑定到 Sql DB 表
- javascript - 将对象数组推入对象内的数组中
- javascript - 新安装的 pwa 不显示内容
- asp.net-core - “指定的 CGI 应用程序遇到错误,服务器终止了进程”在 gearhost 上