FZJ-IEK3-VSA / FINE

The FINE python package provides a framework for modeling, optimizing and assessing energy systems
https://vsa-fine.readthedocs.io
Other
68 stars 39 forks source link

pyproj related errors in plotLocations (line 645 of standardIO.py) #35

Closed ghost closed 3 years ago

ghost commented 3 years ago

I installed FINE using conda environment file and then through pip install . on a Windows machine. I am able to run this example except for visualization where I get a following error when calling fig, ax = fn.plotLocations('regions.shp', indexColumn='regionName', plotLocNames=True):

File "_proj.pyx", line 129, in _proj.Proj.__cinit__

RuntimeError: b'no arguments in initialization list'

I have tried several suggestions given here for this error, including deleteting pyproj and installing it through pip, which gives a new error that says CRSError: Invalid project: : .... I tried several other suggestions given here, but nothing worked. I also deleted and reinstalled the environment/package after those suggestions and I get the same errors.

ghost commented 3 years ago

It seems to work with Python 3.7 and no constraint on gdal version.