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