Problems - zsh with Catalina, Python/Python3, pip/pip, PATH, zshrc.

How can I resolve this?

Fresh install of Catalina becomes a nightmare. Installed Anaconda Navigator. Did not install Python pkg from the website but using the Python versions shipped with MBP 2020. Here are some errors:

Lastly I tried to install packages with pip3 install [package] but getting a long list of errors that can be seen here:
Code Block fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    error: command 'xcrun' failed with exit status 1

Code Block
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:64:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:75:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h:31:
  /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
  #error architecture not supported

Code Block
alexanderberg@Alexanders-MacBook-Pro ~ % which python
/usr/bin/python
alexanderberg@Alexanders-MacBook-Pro ~ % which python3
/usr/bin/python3
alexanderberg@Alexanders-MacBook-Pro ~ % which pip
pip not found
alexanderberg@Alexanders-MacBook-Pro ~ % which pip3
/usr/bin/pip3
alexanderberg@Alexanders-MacBook-Pro ~ % pip3 install --upgrade pip
Collecting pip
  Using cached https://files.pythonhosted.org/packages/4e/5f/528232275f6509b1fff703c9280e58951a81abe24640905de621c9f81839/pip-20.2.3-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 19.2.3
    Uninstalling pip-19.2.3:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'RECORD'
Consider using the `--user` option or check the permissions.



How can I resolve this?

You answered your own question...

install Python pkg from the website

Problems - zsh with Catalina, Python/Python3, pip/pip, PATH, zshrc.
 
 
Q