@@ -47,29 +47,47 @@ We recommend using
4747
4848
4949## Python and Other Tools
50- By far the easiest way to get all of the tools installed and setup is by using the Anaconda Python
50+
51+ ### Pipenv
52+ [ Pipenv] ( https://github.com/pypa/pipenv ) is an easy way to install compatible versions of ` cffi ` , ` cython ` , and
53+ ` pybind11 ` . Once ` pipenv ` in installed, these other packages can be installed in a virtual environment using:
54+ ``` shell script
55+ pipenv install
56+ ```
57+
58+ Then this Python virtual environment can be entered using:
59+ ``` shell script
60+ pipenv shell
61+ ```
62+
63+ ### Anaconda Python
64+ Another easy way to get all of the tools installed and setup is by using the Anaconda Python
5165distribution. This is a free distribution of Python available for Windows, Mac OS X, and Linux which
5266comes with a couple hundred of the most common and useful Python modules pre-installed including Cython
5367and CFFI. It also comes with the `` conda `` package manager which can be used to install additional
5468tools such as SWIG.
5569
56- ## Anaconda Python
57- Download the latest version of [ Anaconda] ( https://www.continuum.io/downloads ) . Either the Python 3.6 or
58- Python 2.7 version should be fine, but we recommend the Python 3.6 version.
70+ Download the latest version of [ Anaconda] ( https://www.continuum.io/downloads ) . We recommend Python 3.6 or newer.
5971
6072Install Anaconda per the instructions and let it modify your .bashrc, .bash_profile, or path accordingly.
6173NOTE: Do not use `` sudo `` to install Anaconda, just install it as a normal user.
6274
6375This also installs Cython and CFFI.
6476
6577## SWIG
66- Now that Anaconda is installed, you can use the included ** conda** package manager to install SWIG. Do
78+ If Anaconda is installed, you can use the included ** conda** package manager to install SWIG. Do
6779the following in a command-line terminal:
6880
6981``` bash
7082conda install swig
7183```
7284
85+ Alternatively, on macOS you can use the Homebrew package manager to install SWIG:
86+
87+ ``` shell script
88+ brew install swig
89+ ```
90+
7391## PyPy
7492PyPy is best installed with a package manager such as * brew* on Mac OS X or * apt-get** on many Linux distros.
7593
0 commit comments