I didn't have pip on my new Mac, so I want to be able to use the pip command, but I couldn't do it, so I'll leave it as a memo.
$ pip install selenium
-bash: pip: command not found
I tried to refer to Making pip available on Mac, but since easy_install seems to be deprecated, I searched for another method.
I tried various things, but it didn't go well, and the final result was when I referred to this article.
Download get-pip.py from the site https://bootstrap.pypa.io/get-pip.py.
$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Run get-pip.py in python.
$ sudo python get-pip.py
Check the version to see if you can use pip.
$ pip --version
Once installed, get-pip.py is no longer needed and should be removed.
$ rm get-pip.py
You can now use the pip command.
The personal blog has been newly renewed.
https://tamappe.com/
Here are the study records of Flutter and Swift UI. If you find the article helpful, please follow us on Twitter.
https://twitter.com/tamapppe
Recommended Posts