boschresearch / pcg_gazebo

Procedural Generation for Gazebo
https://boschresearch.github.io/pcg_gazebo/
Apache License 2.0
69 stars 24 forks source link

pyrsistent requires Python '>=3.5' but the running Python is 2.7.17 #123

Closed andrestoga closed 4 years ago

andrestoga commented 4 years ago

Hi,

I'm getting this error while trying to install pcg_gazebo using pip:

"pyrsistent requires Python '>=3.5' but the running Python is 2.7.17"

Best,

awesomebytes commented 4 years ago

I ran into this error in a different piece of software (nbformat) days ago. pyrsistent is deprecating python2.7 support. The trick is to install the latest py2.7 supported version with

pip install pyrsistent==0.16.1
andrestoga commented 4 years ago

I didn't work for me... What worked for me was to install it with pip3. The problem with that is that I'm not going to be able to use it with ROS Melodic since it uses python 2.7.

andrestoga commented 3 years ago

Thanks! with that fix works but it is not updated in pip.