sphero-inc / sphero-sdk-raspberrypi-python

Sphero RVR SDK to run on Raspberry Pi using Python
Other
77 stars 50 forks source link

README and pi_dependencies to Python 3.7 #2

Closed Kinvert closed 4 years ago

Kinvert commented 4 years ago

Some README stuff that might be helpful to help with navigation and finding tutorials.

A bigger change was pi_dependencies to Python 3.7. I had a problem, so I made a brand new Raspbian install. I still got errors when running ./pi_dependencies and it seems to be based on using Python 3.5 instead of Python 3.7.

My brand new Raspbian install came with Python 3.7, and did not come with Python 3.5. So I changed this to 3.7 and it worked on my install.

This will likely help your users.

Another user in your forum may have noticed the same issue.

https://community.sphero.com/t/rvr-started-shipping-newbie-saying-hi-drop-a-line-and-say-hello/535/5

Thanks :)

acampos81 commented 4 years ago

Hello again @Kinvert. We did catch this issue at the last minute, so we are working to revamp the getting started instructions, as well as the shell script that installs initial dependencies. We are going to instruct users to install pipenv, and run our SDK from a virtual environment using the latest version of Python available on their distribution of Raspbian (provided it's 3.5 or later). Thank you for taking the time to point this out! It's a big help 👍

acampos81 commented 4 years ago

We're going to verify the serial port issue a little further.

Kinvert commented 4 years ago

Will the virtual environment add another layer of complexity that could make RVR less accessible to new users?

acampos81 commented 4 years ago

While it will add 2 additional steps to work with RVR programs (having to start the virtual environment, and exit once no longer working with RVR), we will add guidance in our documentation to guide new users. Power users will likely already be familiar with using virtual environments for their python projects. Our goal is to make the setup process more stable across different iterations of Pi hardware, and not interfere with global settings.