But if you really want to install that package globally, or if need to test / use it frequently without activating a virtual environment, I suppose installing it as a global package is the way to go. I want to add that using a virtual environment is usually the preferred way to develop a python application, so answer is probably the best in an ideal world. First you need to install Homebrew, a powerful package manager for Mac. Much python packages require also the dev package, so install it too: sudo apt-get install python3-devĬheck also Tobu's answer if you want an even more upgraded version of Python. By the way, if you're wondering why I keep referring to Python 3.x the x is a stand-in for sub-versions (or point releases as developers call them.) This means any version of Python 3. No extra processes needed Very lightweight and no external dependencies. A simple to use API for scheduling jobs, made for humans. (Note: previous versions of this guide used Homebrew to install python, but this is. If pip3 symlink does not exists, check for something like pip-3. Run Python functions (or any other callable) periodically using a friendly syntax. We’ll use it to install the dependencies to compile and install python. If it doesn't work, this method should work for any Linux distro and supported version: On some versions of Ubuntu the command is pip-3.2: sudo pip-3.2 install MODULE_NAME The short answer applies only on newer systems. Source: Shashank Bharadwaj's comment Long Answer Short Answer sudo apt-get install python3-pip