Hope PaddyG or someone else in pi3D Land sees this ...
I'm trying to install Pi3D on a shiny, new 4 GB Pi 5 with the latest Debian-based RPi OS, and when I try to sudo pip3 install pi3d (also in pi3d-master and a copy in a pi3d directory, as well as in ~), I get an error I've never seen after dozens of successful Pi3D installs since the beginnings of Pi3D:
jim@raspberrypi:~ $ sudo pip3 install pi3d
error: externally-managed-environment
This environment is externally managed
To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
...
I was going to try to just extract the Pi3D zip file downloaded off the Pi3D Github page, but then when I tried to do a Python install, I got the following, I couldn't recall where setup.py is placed by the pip3 install, and the zip files don't include setup.py (it does appear in the Github file tree view):
jim@raspberrypi:~/Downloads/pi3d $ sudo python3 setup.py install
python3: can't open file '/home/jim/Downloads/pi3d/setup.py': [Errno 2] No such file or directory
Thanks and All the Best,
Jim
I'm trying to install Pi3D on a shiny, new 4 GB Pi 5 with the latest Debian-based RPi OS, and when I try to sudo pip3 install pi3d (also in pi3d-master and a copy in a pi3d directory, as well as in ~), I get an error I've never seen after dozens of successful Pi3D installs since the beginnings of Pi3D:
jim@raspberrypi:~ $ sudo pip3 install pi3d
error: externally-managed-environment
This environment is externally managed
To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
...
I was going to try to just extract the Pi3D zip file downloaded off the Pi3D Github page, but then when I tried to do a Python install, I got the following, I couldn't recall where setup.py is placed by the pip3 install, and the zip files don't include setup.py (it does appear in the Github file tree view):
jim@raspberrypi:~/Downloads/pi3d $ sudo python3 setup.py install
python3: can't open file '/home/jim/Downloads/pi3d/setup.py': [Errno 2] No such file or directory
Thanks and All the Best,
Jim
Statistics: Posted by Jim_Manley — Sun Jan 21, 2024 1:27 am — Replies 0 — Views 78