You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
netatmo-api-python is available from https://pypi.org/ (with sudo pip3 install)
The reason why the pip install command doesn’t work in Ubuntu >23.04 is down to an intentional shift in policy (also taken in Ubuntu’s upstream, Debian) to avoid conflicts between the Python package manager and Ubuntu’s underlying APT.
Basically, you can’t run pip install outside a virtual environment in Ubuntu 23.04. If you try to, you get a “externally managed environment” error
As many have already did (python3-flask-sqlalchemy, python3-flask-mail, etc.. ), python3-netatmo-api-python is still missing for installation with sudo apt install
The text was updated successfully, but these errors were encountered:
The reason why the pip install command doesn’t work in Ubuntu >23.04 is down to an intentional shift in policy (also taken in Ubuntu’s upstream, Debian) to avoid conflicts between the Python package manager and Ubuntu’s underlying APT. Basically, you can’t run pip install outside a virtual environment in Ubuntu 23.04. If you try to, you get a “externally managed environment” error
Isn't the solution to this not just removing one file. This is a well known solution to the problem.
Hello @clemefr, I understand that you really WANT this feature, unfortunately I don't expect to invest time in apt package creation.
As @rvk01 already suggest, there are many alternatives to live with pip even without venv. If you don't like the above solution, you can also do a pip install --break-system-packages <package> to install using pip and it will not break anything.
I don't like the choice of Ubuntu. Most modern language come with its own package manager and a very rich online library that this manager give access. Trying to replicate that on other package management systems is probably plannig failure as you will never have all packages ported to apt or yum or apk or ..
I can understand that this makes sense for some python libraries that depends on non python binaries (like for example pillow that would require libjpeg) but I would by far prefer to be able to list external dependencies for a given python package to decide my self the tool to use to install them (apt, yum, apk, ...).
By the way, fell free to create the package if you want to and provide it to the community ! You are very welcome.
We need to install globally netatmo-api-python
netatmo-api-python is available from https://pypi.org/ (with sudo pip3 install)
The reason why the pip install command doesn’t work in Ubuntu >23.04 is down to an intentional shift in policy (also taken in Ubuntu’s upstream, Debian) to avoid conflicts between the Python package manager and Ubuntu’s underlying APT.
Basically, you can’t run pip install outside a virtual environment in Ubuntu 23.04. If you try to, you get a “externally managed environment” error
As many have already did (python3-flask-sqlalchemy, python3-flask-mail, etc.. ), python3-netatmo-api-python is still missing for installation with sudo apt install
The text was updated successfully, but these errors were encountered: