Initial Setup
MacOS Big Sur version 11.0.1
Python 3.9.2 installed using brew
pip 21.0.1
Pipenv to manage environment
Installing Pandas in Pipenv
Activate pipenv shell on the project folder (mine is called “pipenv-project”)
pipenv shell
The following commands are executed inside the pipenv shell.
pip install cython
git clone https://github.com/numpy/numpy.git --depth 1
cd numpy
pip install . --no-binary :all: --no-use-pep517
cd ..
git clone https://github.com/pandas-dev/pandas.git --depth 1
cd pandas
python setup.py install
cd ..
If you can't install from source. Just run
pip install cython
pip install numpy
pip install pandas