For your information, there is a separate Python forum here. See viewforum.php?f=32As said on the site for the usb coral accelator the use of python lower than 3.10 is necessary.
My default python version is 3.11 and i thought I added pyton 3.9 too.
My questions:
How to activate pyton3.9 instead of 3.11
How to tell 3.9 is properly installed
If it is not properly installed, how to add it on my raspberry/
I assume this is not the right place to put this post, but I think there are a lot of people here who can answer this.
Thanks in advance
You can install multiple versions of Python. The challenge is maintaining the links which point to the version that is launched when you enter PYTHON or PYTHON3. For example on one of my machines here's what I see.
Code:
$ whereis pythonpython: /usr/bin/python3.9-config /usr/bin/python /usr/bin/python3.9 /usr/lib/python2.7 /usr/lib/python3.9 /etc/python3.9 /usr/local/lib/python3.9 /usr/include/python3.9m /usr/include/python3.9 /usr/share/man/man1/python.1.gz$
In terms of managing multiple versions of Python, a Python forum may have more expertise. Here's an example https://discuss.python.org/t/managing-m ... ol/48620/5.
There are tools out there like Pyenv which I can't talk to since I haven't used them.
Given there may be some specific version packages, you may want to use a VIRTUAL ENVIRONMENT for your 3.9 work to isolate it from your other work. VENV allows you to specify a version of Python when you create i.t
Full disclosure, these are my unproven ideas since I haven't had to deal with your issue but is an approach I'd use.
Statistics: Posted by DS256 — Sat Nov 23, 2024 12:44 pm