lewagon / data-setup

Setup instructions for Le Wagon's students on their first day of Data Science Bootcamp
https://www.lewagon.com/data
1.81k stars 507 forks source link

m1 student and brew #266

Closed TulipeSoyeuse closed 1 year ago

TulipeSoyeuse commented 1 year ago

found out monday that many m1 student had a python3.10.9 installed on their machine through homebrew. Because homebrew is referenced in the PATH before pyenv ( cd .zprofile ) those student used homebrew pip instead of pyenv during all bootcamp.

fix it just by add the pyenv export path after eval homebrew

ssaunier commented 1 year ago

👋 Is this related to https://github.com/lewagon/setup/issues/421 ?

gmanchon commented 1 year ago

Hello @TulipeSoyeuse, we use homebrew in order to install pyenv, therefore homebrew needs to be referenced before pyenv in the PATH. The solution would be to uninstall the students hombrew python 3.0.19 install. Maybe this is a side effect of the prepwork @krokrob WDYT ?

krokrob commented 1 year ago

I have no idea of the prepwork requiring any setup of Python

gmanchon commented 1 year ago

In this case @TulipeSoyeuse the solution does not require steps other than brew uninstall python or brew uninstall python3 depending on the package 🙌 Thanks for reporting 🙏