If python on mac goes missing


me@local:~/repos/aaa$ pipenv install
-bash: /usr/local/bin/pipenv: /usr/local/opt/python/bin/python3.7: bad interpreter: No such file or directory

When I put something in brew, python became 3.8, 3.7.7 disappeared from / usr / local / bin, and t again.


me@local:~/repos/aaa$ ll /usr/local/bin/python*
lrwxr-xr-x  1 me  admin    39B Apr 30 17:46 /usr/local/bin/python-build@ -> ../Cellar/pyenv/1.2.18/bin/python-build
lrwxr-xr-x  1 me  admin    40B Jul 13 12:09 /usr/local/bin/python3@ -> ../Cellar/[email protected]/3.8.3_2/bin/python3
lrwxr-xr-x  1 me  admin    47B Jul 13 12:09 /usr/local/bin/python3-config@ -> ../Cellar/[email protected]/3.8.3_2/bin/python3-config
lrwxr-xr-x  1 me  admin    42B Jul 13 12:09 /usr/local/bin/python3.8@ -> ../Cellar/[email protected]/3.8.3_2/bin/python3.8
lrwxr-xr-x  1 me  admin    49B Jul 13 12:09 /usr/local/bin/python3.8-config@ -> ../Cellar/[email protected]/3.8.3_2/bin/python3.8-config

Somehow fixed

pyenv install 3.7.7
pyenv global 3.7.7
brew uninstall pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip uninstall pipenv virtualenv
pip install pipenv

I don't really understand it, so it seems like it's fixed. python difficult

Does the pip you put in with brew not look for python properly, or do you remember the location of what was before?

How can I change the python path used by pip / pipenv / virtualenv?

Recommended Posts

If python on mac goes missing
python on mac
If Python 3.5.0 installation fails on Mac
Install Python on Mac
Install Python 3 on Mac
Install Python 3.4 on Mac
Install pygame on python3.4 on mac
Handling of python on mac
Update python on Mac to 3.7-> 3.8
Install pandas 0.14 on python3.4 [on Mac]
Notes on installing Python on Mac
Building a Python environment on Mac
Create a Python environment on Mac (2017/4)
Python environment construction memo on Mac
Install Python 3.7 Anaconda on MAC, but Python 2
Install python3 on Mac (El Capitan)
Environment construction of python3.8 on mac
Steps to install python3 on mac
Call C / C ++ from Python on Mac
Update Python on Mac from 2 to 3
I want to know if you install Python on Mac ・ Iroha
Introducing MAMP + Python + SQLAlchemy (Mysql-Python) on Mac
Create a python environment on your Mac
Follow active applications on Mac with Python
How to erase Python 2.x on Mac.
Notes on building Python and pyenv on Mac
Build Python environment with Anaconda on Mac
Video processing using Python + OpenCV on Mac
Python on Windows
twitter on python3
[Python] if statement
Python on Windbg
Build a Python environment on Mac (Mountain Lion)
Run Zookeeper x python (kazoo) on Mac OS X
Build a Python development environment on your Mac
Try working with Mongo in Python on Mac
Put Python 2.7.x on Mac OSX 10.15.5 with pyenv
Shpinx (Python documentation builder) on Mac OS X
Try importing MLB data on Mac and Python
Python conda on cygwin
Install python on WSL
Install pyenv on mac
Install Python3 on Mac and build environment [Definitive Edition]
PyOpenGL setup on Python 3
Install Python on Pidora.
I tried Python on Mac for the first time.
Install Python venv --VSCode --GitHub integration environment on Mac
Install Scrapy on python3
Install selenium on Mac and try it with python
Pyenv + virtualenv on Mac
Steps to install the latest Python on your Mac
Build a machine learning Python environment on Mac OS
Install Ansible on Mac
Preferences to generate animated GIFs from Python on Mac
Install Python3.4 on CentOS 6.6
numba installation on mac
Installing pandas on python2.6
Build a Python development environment on Mac OS X
python basic on windows ②
Build a Python environment on your Mac using pyenv
Install python on windows