all AI news
Easy to install Python -> Mac | Fix $PATH
May 4, 2024, 6:36 p.m. | Linlee
DEV Community dev.to
1. Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2.Install Pyenv
brew install pyenv pyenv-virtualenv
pyenv install -l
3.Test pyenv
pyenv virtualenv 3.12.0 myproject
pyenv local myproject
pyenv virtualenv-delete my project
4.Test python
$ python3 --version
Python 3.9.6
$ which -a python3
/usr/bin/python3
==================================================
FIX Python not found in ZSH
Rus this
brew info python
Python has been installed as
/opt/homebrew/bin/python3
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
/opt/homebrew/opt/python@3.11/libexec/bin
Open profile …
easy found homebrew install mac not found path project pyenv python python 3 python3 test zsh
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US