-
Notifications
You must be signed in to change notification settings - Fork 1
Python pyenv Installation
Molly Krumholz edited this page Aug 4, 2021
·
7 revisions
gem 'pycall
gem 'numpy'
gem 'pandas'
In command line interface (CLI), install the following to local:
brew install update
brew install pyenv
env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.9.6
pyenv local 3.9.6
or pyenv global 3.9.6
Type in pyenv versions
in the CLI to check the python version:
=> system
- 3.9.6 (set by...)
Install the following gems to obtain python libraries:
python3 -m pip install numpy
python3 -m pip install pandas
python3 -m pip install sklearn
Finally, bundle install
in the CLI.