Open Bluscream opened 5 months ago
It's in the readme
On recent Debian (Bookworm ant later) and Ubuntu (Lunar and later) versions, the
libpython3.*-stdlib
package ships a file/usr/lib/python3.*/EXTERNALLY-MANAGED
, which prevents the installation of Python modules outside ofvenv
environments. motionEye however has a small number of dependencies with no strict version requirements and hence is very unlikely to break any Python package you might have installed via APT. To bypass this block, addbreak-system-packages=true
to the[global]
section of yourpip.conf
:grep -q '\[global\]' /etc/pip.conf 2> /dev/null || printf '%b' '[global]\n' | sudo tee -a /etc/pip.conf > /dev/null sudo sed -i '/^\[global\]/a\break-system-packages=true' /etc/pip.conf
It's in the readme
You know there are about ~50 tutorials and readmes official or not and only one mentions this ...
I have a suggestion: in the README.md, omit the part about grep'ing and chaning the pip.conf file and just add the --break-system-packages argument to pip like so:
sudo python3 -m pip install --break-system-packages --pre motioneye
Makes the installation easy again.
this didnt happen when i set up motioneye last time