-
Notifications
You must be signed in to change notification settings - Fork 225
Closed
Labels
installation-issuesIssue related to installation problems.Issue related to installation problems.
Description
I installed on ubuntu 18.04 :
- Qgis 3.12.3
- pyproj 2.6.1.post1 using pip3
Each time I try to import pyproj in a plugin or in a console script in Qgis console, Qgis crashes. This code works in spyder3.
import pyproj
#print(pyproj.proj_version_str, pyproj.show_versions())
crs4326 = pyproj.CRS.from_epsg(4326)
crs2154 = pyproj.CRS(2154)
p = pyproj.Proj(crs2154)
transformer = pyproj.Transformer.from_crs(crs2154, crs4326, always_xy=True)
lo, la, h = transformer.transform(700000, 6600000, 0)
mu = p.get_factors(lo, la).meridional_scale
print(mu)
Metadata
Metadata
Assignees
Labels
installation-issuesIssue related to installation problems.Issue related to installation problems.