![]() ![]() Add the following lines: echo 'eval "$(pyenv init -path)"' > ~/.zprofileĮcho 'eval "$(pyenv init -)"' > ~/. Open Terminal, then type in: brew install openssl readline sqlite3 xz zlibįinally, update the shell profile configuration, i.e ~/.zshrc if your default shell is ZSH. To make pyenv work, install build dependencies through Homebrew. The Homebrew Python documentation recommends pyenv to manage Python environments. ![]() The pip package for Python is automatically downloaded and installed by the script. You lose control over “site-packages” and all the PIP packages that you had installed might become inaccessible. The get-pip.py procedure uses the command line to install pip. For example, the "youtube-dl" package uses Python as its dependency, the Python package may get updated as and when needed. Many people prefer to use Homebrew to install software packages, but should you use it for Python development? The problem with using Homebrew Python is that it’s not in your control. ![]() You can do so by using Spotlight Search ( Command + Space Bar) and then search for the Terminal app. If you’re working on multiple Python projects, the default location, which needs sudo privileges, creates hurdles. Here’s how you install PIP on Mac, step-by-step: Open up your Terminal application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |