Avisos
Vaciar todo

Python 2.7 unsupported, plans to update?  

  RSS
Phrozen
(@phrozen)
Miembro
Python 2.7 unsupported, plans to update?

Is there plans to upgrade to a newer, and supported version of Python for PrusaLink before this is released to the public?

Respondido : 08/10/2021 2:42 pm
Eric E
(@eric-e)
Miembro
I see Python 3

pi@PrusaLink:/usr/bin $ ps -afe | grep python

pi 615 1 5 Sep30 ? 11:12:00 /usr/bin/python3 /home/pi/.local/bin/prusa-link start -I

My Python3 is 3.7.3 from January 2021.  A bit behind, but that's okay.

Don’t trust forum advice.

Respondido : 08/10/2021 8:54 pm
Phrozen
(@phrozen)
Miembro
Topic starter answered:
confirmed

I normally do a check of the defaults as that's what i am going to assume its running

pi@PrusaLink:~ $ python -V
Python 2.7.16

but you're absolutely correct it does have Python 3 i didn't think to validate what prusalink was running

pi@PrusaLink:~ $ ps aux|grep python
pi         412 23.6  7.3 214448 32376 ?        Sl   Sep24 5431:04 /usr/bin/python3 /home/pi/.local/bin/prusa-link start -I

pi@PrusaLink:~ $ /usr/bin/python3 -V
Python 3.7.3
Respondido : 10/10/2021 3:10 pm
McBig
(@mcbig)
Miembro
RE: Python 2.7 unsupported, plans to update?

Hi, new PrusaLink image will be based on Rasbian bullseye where there is only Python 3.9. And PrusaLink is developed only for Python 3.7 and above, in fact new PrusaLink for Python3.8 and above.

Respondido : 01/12/2021 3:20 pm
Compartir: