question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

installation is broken on MacOS ?

See original GitHub issue

Describe the bug

Hi ! I attempted to install pipx following the instructions on Pypi

How to reproduce

brew install pipx
pipx ensurepath

output

Traceback (most recent call last):
  File "/usr/local/Cellar/pipx/0.15.4.0/libexec/bin/pipx", line 6, in <module>
    from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

Expected behavior Successful install ? 😃

my specs

macOS version Catalina 10.15.6 Homebrew 2.4.9

I’m happy to provide more specific details about my env if needed !

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:22 (12 by maintainers)

github_iconTop GitHub Comments

4reactions
itsayellowcommented, Aug 10, 2020

Why is brew install pipx recommended over python3 -m pip install pipx in the first place? I tried the latter on macOS before reading the docs and things seem to be working fine with python 3.7.7

@AlJohri knows more than I do about this, but among the advantages: brew install pipx installs pipx and its dependencies to its own isolated environment, so it doesn’t clutter up your main python installed packages (e.g. when you type pip list).

2reactions
gaborbernatcommented, Aug 11, 2020

python3 -m pip install pipx this can work just fine most of the time, fail horribly if the system python is read-only, cause random issues if pipx requires dependencies that are in conflict with other packages you’ve installed. We have not solved yet how to bootstrap pipx itself (something like curl https://get-pipx.zipapp && python3 get-pipx.zipapp to install pipx). Until we do using a operating system installer is your safest option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix a Damaged macOS Installer - MacRumors
To fix the damaged installer, you should just download the installer again. Doing so will also ensure that you have all of the...
Read more >
If an error occurred while updating or installing macOS
Use Disk Utility to repair your startup disk. Then try updating or installing macOS again. Install from macOS Recovery. Install while your Mac ......
Read more >
How to Fix “application is damaged, can't be used to install ...
First click the “Apple” icon on the top left of the desktop menu –> System preference –> Date & Time –> under “Date...
Read more >
[FIX] Application is Damaged and Can't be Used to Install ...
[FIX] Application is Damaged and Can't be Used to Install macOS · Method 1: Change Mac's Date · Method 2: Delete the Property...
Read more >
6 Fix “Application is Damaged, can't be used to install macOS ...
Method 1: Delete and Reinstall macOS System Installers ... The simplest way to eliminate the Error, “This copy of the Install macOS .app ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found