Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove EXERTNALLY-MANAGED on Debian12 #58

Merged
merged 5 commits into from
Oct 21, 2023

Conversation

barnabasbusa
Copy link
Contributor

@barnabasbusa barnabasbusa commented Aug 7, 2023

Resolves: #57

Copy link
Owner

@geerlingguy geerlingguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way these tasks are laid out won't work on Ubuntu or other non-Debian distros, as the py3ver variable isn't defined.

It might be better to just add that 2nd task alone, with the when clause from the top task merged in.

@barnabasbusa
Copy link
Contributor Author

Changes made according to your feedback. Also bumped the CI versions, as I saw some deprecation notices with the earlier versions. And bumped the images on which molecule runs on.

@fbermel
Copy link

fbermel commented Aug 24, 2023

Hi,

I'm facing a similar issue. What about just doing this to remove the EXTERNALLY-MANAGED file?

- name: Remove EXTERNALLY-MANAGED file
  ansible.builtin.file:
    path: /usr/lib/python3.{{ ansible_python.version.minor }}/EXTERNALLY-MANAGED
    state: absent

This will keep working even if the system python changes.

elchusco added a commit to elchusco/ansible-role-pip that referenced this pull request Oct 13, 2023
 fix: remove EXERTNALLY-MANAGED on Debian12 geerlingguy#58
@crazychatting
Copy link

Hi,
what is needed to get this merged? I´m also facing this issue and saw this PR from months ago...

@geerlingguy geerlingguy merged commit 160021b into geerlingguy:master Oct 21, 2023
7 checks passed
geerlingguy added a commit that referenced this pull request Oct 21, 2023
@julianborghuis
Copy link

sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED

Then it works ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't install docker using pip on Debian 12
5 participants