Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyproj issue in v08 #1

Closed
tatawang opened this issue Jul 2, 2020 · 1 comment
Closed

pyproj issue in v08 #1

tatawang opened this issue Jul 2, 2020 · 1 comment

Comments

@tatawang
Copy link
Collaborator

tatawang commented Jul 2, 2020

Hi, Rizzi, I am testing the CARS v08, and get this issue:

Calculating the surrograte based on the link shapefile ...
Traceback (most recent call last):
File "CARS_rev_08_script.py", line 573, in
main(home_dir, input_dir, output_dir, )
File "CARS_rev_08_script.py", line 381, in main
gridfile_name, Radius_Earth, Unit_meters = True )
File "/Users/ctw/PycharmProjects/CARS/CARS_test_Country_KNU/src/CARS_v1_08.py", line 866, in roads_grid_surrogate_inf
if type(crs) == pyproj.crs.crs.CRS:
AttributeError: module 'pyproj' has no attribute 'crs'

#############
Line 866: if type(crs) == pyproj.crs.crs.CRS: <= this line is not in v07

What version of geopandas are you using??

@tatawang
Copy link
Collaborator Author

After I applied the "conda-forge", (>>conda config --add channels conda-forge), in terminal, I successfully upgrade the geopandas, pyproj and other packages to the latest version. Now I can run CARS v08.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant