Sys path and environment in python

Hi all,

I am new in the community. I would like to ask a question about my path when typing Sys.getenv("PATH"). I am operating on MacOS Ventura 13.0.1 (22A400) Intel and R version R 4.0.2.
So more than an issue this a strange fact that I notice and would like to have some comments about it. Specifically, I noted that a lot of packages are not installed in Catalina resulting in an lgfortra or darwin error. I saw in several posts that the problem may lie in the system path so I checked mine. Now, while most of the users have a path like /usr/bin:/bin:/usr/sbin:/sbin:/Library/Developer/CommandLineTools/usr/bin:/usr/local/bin:/opt/homebrew/bin/gfortran:/Library/TeX/texbin:/... o similarly /opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Developer/CommandLineTools/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/bin/gfortran:/Library/TeX/texbin:/..., my path looks like this: /Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/federico/opt/anaconda3/bin:/Users/federico/opt/anaconda3/condabin:/anaconda3/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin:/Users/federico/Applications/quarto/bin:/usr/texbin:/Applications/ So it looks I am in a Python folder (anaconda3 maybe?). Of course this was my fault in the past but I am wondering a) if this system path is problematic and b) how can I move to a more convenient path my sys environment.

Thank you