Follow

3 Ways to Fix Pip Install Error on Ubuntu 23.04

If you’ve made the upgrade to Ubuntu 23.04 and try to run ‘pip install’ you’ll notice it now throws an error – but it’s not a bug. The reason why the pip install command doesn’t work in Ubuntu 23.04 is 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 similar to this: The good news is that there are a number of :sys_more_orange:

:sys_omgubuntu: omgubuntu.co.uk/2023/04/pip-in

Sign in to participate in the conversation
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。