Python pyenv Installation - drink-this/drink-this-backend GitHub Wiki
Installing Python/pyenv
Gems Installed
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.