apt-get - 无法安装项目 7.2.0
问题描述
我在 Ubuntu 19.10 上,我正在尝试安装 proj 7.2.0
根据网站,我应该使用这个:
sudo apt-get install proj-bin
但似乎这个命令安装了 5.2.0 版:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libappindicator1 libdbusmenu-gtk4
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
proj-bin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 63,9 kB of archives.
After this operation, 245 kB of additional disk space will be used.
Get:1 http://nl.archive.ubuntu.com/ubuntu eoan/universe amd64 proj-bin amd64 5.2.0-1 [63,9 kB]
Fetched 63,9 kB in 0s (530 kB/s)
Selecting previously unselected package proj-bin.
(Reading database ... 278906 files and directories currently installed.)
Preparing to unpack .../proj-bin_5.2.0-1_amd64.deb ...
Unpacking proj-bin (5.2.0-1) ...
Setting up proj-bin (5.2.0-1) ...
Processing triggers for man-db (2.8.7-3) ...
关于如何安装 7.2.0 的任何想法?
我需要这个版本,因为它是安装pyproj 3支持的最低版本:
pip install pyproj
这给出了:
Collecting pyproj
Using cached https://files.pythonhosted.org/packages/17/e5/3f5cdff3e955bcd768cdb0f4236f2d6e022aaa72f57caf7f4d5f552c88fc/pyproj-3.0.0.post1.tar.gz
Installing build dependencies ... done
Complete output from command python setup.py egg_info:
ERROR: Minimum supported proj version is 7.2.0, installed version is DeprecationWarning:. For more information see: https://pyproj4.github.io/pyproj/stable/installation.html
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-uiv4m209/pyproj/
解决方案
https://pyproj4.github.io/pyproj/stable/installation.html
如果你安装pip>=19.0
你不需要安装PROJ,它应该安装manylinux2010
轮子。
推荐阅读
- sql - 不匹配查询未返回预期结果
- python - 删除列表python中的列表
- r - 在欧拉图中绘制带有分割法线和斜体面的标签 (euler)
- python - TypeError:“tensorflow.python.framework.ops.EagerTensor”对象不支持项目分配
- r - 无数据时自动切割x轴
- javascript - 如何在 Nextjs 中使用 Firestore 模拟器
- sql - Oracle SQL DB select muti join error join error - ORA-00933: SQL command not properly ended
- c# - c# 不能从'IInterface 强制转换
' to 'IInterface - 将没有泛型的类转换为具有泛型的接口 - python - Python,与变量不同的舍入和硬编码值
- javascript - 仅当 GET 不存在该值时才发布