romainsacchi / carculator

Prospective environmental and economic life cycle assessment of vehicles made blazing fast.
http://carculator.psi.ch
BSD 3-Clause "New" or "Revised" License
48 stars 14 forks source link

ValueError: unsupported pickle protocol: 5 #29

Closed Shima-Fa closed 1 year ago

Shima-Fa commented 1 year ago

@romainsacchi Good day Mr. Sacchi, after installing the new version of carculator (1.8), unfortunately I get the value error "unsupported pickle protocol: 5" directly right after import carculator command.

The package from conda install -c romainsacchi carculator looks like has some version control problem, then I decided to install the package from PyPi but looks like the problem is still there.

I would appreciate any help regarding this issue

romainsacchi commented 1 year ago

Hello,

I think this might be a python version issue. Are you using Python 3.8 or lower? If so, could you try in a new environment with Python 3.9 or 3.10?

romainsacchi commented 1 year ago

Also, try to install carculator 1.8.1 instead of 1.8.0.

Shima-Fa commented 1 year ago

Thank you very much, that solved the problem!