This page (revision-22) was last changed on 2022-04-19 01:44 by Murray Altheim

This page was created on 2019-12-21 22:01 by unknown

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
22 2022-04-19 01:44 6 KB Murray Altheim to previous
21 2021-11-29 10:49 6 KB Murray Altheim to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 3 changed one line
See also: [CircuitPython] and [MicroPython] and [Upgrading Python|UpgradingPython]
See also: [CircuitPython] and [MicroPython]
At line 5 removed one line
!! A Python Library Devoted to Robotics
At line 7 changed one line
This is a Python code collection of robotics algorithms.
!! Upgrading to a Newer Version of Python
At line 9 changed one line
Features:
To upgrade to a newer version of Python, e.g., 3.8.5:
{{{
sudo apt update
At line 11 changed 3 lines
# Easy to read for understanding each algorithm's basic idea.
# Widely used and practical algorithms are selected.
# Minimum dependency.
sudo apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev
At line 15 changed one line
See: __[Python Robotics|https://github.com/AtsushiSakai/PythonRobotics]__ by Atsushi Sakai
wget https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz
At line 17 changed 5 lines
!! How to Have Pip3 Install a Module to a Specific Python Version
'nuff said (in the title):
tar zxf Python-3.8.5.tgz
cd Python-3.8.5
./configure --enable-optimizations
make -j4
sudo make install
}}}
or
At line 23 changed one line
python3.8 -m pip install foo
sudo make altinstall
At line 26 added one line
if you don't want the newly-installed version to be the default.
At line 28 added 2 lines
Replace "3.8.5" above with whatever version you want to install.
You can browse the directory at: [https://www.python.org/ftp/python]
At line 31 added 4 lines
%%information
You must be patient. On a Pi 4, this can take a long time; on a 3 B+ a very long time. On a Pi Zero basically overnight.
%%
At line 34 removed one line
* Support for various Pimoroni Breakout Garden boards as [MicroPython modules|https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/modules]
At line 36 removed one line
At line 45 removed one line
* [PyRobot|https://pyrobot.org/], an Open Source Robotics Research Platform
At line 53 changed 8 lines
* [asyncio implementation on MicroPython|https://docs.micropython.org/en/latest/library/uasyncio.html] (uasyncio)
* [Module Support Matrix - Which Modules Are Available on Which Boards|https://circuitpython.readthedocs.io/en/latest/shared-bindings/support_matrix.html?filter=i2cperipheral] (by customising the URL you can change the highlighting)
* [Pybotics|https://pypi.org/project/pybotics/], The Python Toolbox for Robotics
* [Robot Framework|https://robotframework.org/], a generic open source automation framework.
It can be used for test automation and robotic process automation (RPA).
* [Python 101: Redirecting stdout|https://www.blog.pythonlibrary.org/2016/06/16/python-101-redirecting-stdout/]