Postinstall Folder High Sierra

Postinstall

I keep getting errors trying to install Native React in virtual studio code terminal. Here's my node and npm versions. Desktop Allen$ $ npm -v 6.14.14 Desktop Allen$ node -v v14.17.4 When trying to. Creating HFS+ disk images from folders in High Sierra. In macOS 10.13, if you use Disk Utility to create a new image from a folder, it will be APFS formatted. These images can only be read on 10.12 or newer, and there’s no option to pick a different format in the GUI. Instead you can use hdiutil in Terminal make a folder into an HFS+ disk image.

Question or issue on macOS:

I’ve been trying to install pip on macOS sierra via brew, but every time it completes without installing the binaries in /usr/local/Cellar/python/2.7.13/bin.

I’ve tried:

then:

I found the path to python, which is /usr/local/Cellar/python/2.7.13/bin but no binary for pip there.

I also tried the easy_install approach:

UPDATE:

When I run brew postinstall python I am getting the following error:

How to solve this problem?

Solution no. 1:

You just need to install pip which is not automatically installed in macOS Sierra.

Run sudo easy_install pip

Solution no. 2:

Post Install Folder High Sierra Free

For Mac OS Sierra, cannot install pip via easy_install since there is a problem with TLS Version, Installed Open-SSL version won’t support TLS 1.2

So install pip using curl as follows,

Solution no. 3:

OK gang, lots of these answers where helpful but none of them got me to the finish line. I am running High Sierra 10.13.4. The problem as documented above is that Brew installs pip in the /usr/local/bin directory but Python is in /usr/bin (although as Carl said, Python3 correctly goes to /usr/local/bin).

My immediate use case is related to getting the Postgres BigSQL package to install.

The steps I took are as follows:

  1. Clear out the brew cache $ rm -rf ~/Library/Caches/Homebrew
  2. Clear out the site-packages $ sudo rm -rf /usr/local/lib/python2.7/site-packages
  3. Reinstall Python $ brew reinstall python This pulls down python-3.5.6.high_sierra and put it in /usr/local/bin/python3
  4. But which python still shows /usr/bin/python
  5. The solution is to run brew install [email protected] which pulls down [email protected]_3.high_sierra
  6. Now which python shows the correct path /usr/local/bin/python which is also where all your pip stuff is installed, so now pip will work.
  7. Of course if you have not installed the latest version of pip you should do that too with sudo pip install --upgrade pip

Solution no. 4:

Something must be wrong with your brew installation.

Latest macOS version.

And it definitely exists.

How Large Is Macos High Sierra

Solution no. 5:

I had this issue and I found this to be the solution. BTW pip isn’t installed via brew. It comes with python and python virtualenvs.

if you type which python without brew install python you’ll get the location in /usr/bin/python. That is the system python which we don’t want to develop with.

Postinstall Folder High Sierra

So i took the following steps.
1) brew install python
2) export PATH='/usr/local/opt/python/libexec/bin:$PATH' place that in your ~/.bash_profile
3) source ~/.bash_profile in your terminal
4) type which python and that should have changed the location to /usr/local/opt/python/libexec/bin/python.

This will allow you to pip install normally and use the brew version of python.

Now before high sierra python used to be located in /usr/local/bin but for some reason if you place /usr/local/bin in your paths it automatically points back to /usr/bin, so this is the only solution I have been able to come up with.

Python3 does not have this issue, if you brew install python3 and type which python3 you’ll see that it’s located in /usr/local/bin/python3.

Solution no. 6:

Postinstall Folder High Sierra

For what it’s worth, after upgrading to high sierra I found my machine pretty much unusable for development, even crashing plenty of times.

Post install folder high sierra os

Regarding python, i had a rights issue inside the site-packages folder, therefore the reinstall did not work out:

So to fix it, I completely removed the site-packages:

With this, reinstalling python2, and having a working pip2 again, worked like a charm:

Hope that helps.

Solution no. 7:

How to create a bootable usb for macos high sierra

The error message has the answer for you…

Postinstall Folder For Macos High Sierra

Remove /Users/justin/.venvburrito/lib/python/distribute-0.6.35-py2.7.egg/ and run brew reinstall python. setuptools is the wrong version.

Hope this helps!