2020-12-04 ParkingProject install pyproj and proj tips

shit I forget this ubuntu doesn't have option to input chinese

reference:https://proj.org/install.html

reference:https://pyproj4.github.io/pyproj/stable/installation.html

BACKGROUND: Xavier (ubuntu18.04) python3.6.9

Before we install pyproj in ubuntu

1. install proj

sudo apt-get install proj-bin

In this way you will install proj4.9.3, and it is not fit for pyproj. Installing pyproj needs PROJ in 7.2.0(pip -v is 20.1)

2.install proj7.2.0

2.1 install sqlite3 first

make sure that the version of sqlite3 is higher than 3.11

sudo apt-get install sqlite3

2.2 install proj7.2.0 

firstly, download a proj7.2.0.tar.gz 

click here to download: https://download.csdn.net/download/qq_42321822/13453242

tar -xvzf proj7.2.0.tar.gz
cd proj-7.2.0
mkdir build
cd build
cmake ..
cmake --build .
sudo cmake --build . --target install   (note: input this line within /build/)

Now, check your installation

ctest

and

projsync --system-directory

After this, input proj to check your proj's version

it will show as 7.2.0

3.install pyproj3.0.0.post1

pip install pyproj

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值