I am using python 3.11. I was setting up a remote development enviornment and the anaconda distribution was just messing everything up. In order to get it to work I had to uninstall the conda distribution. Now that I have gotten the remote enviornment to work my computer is messed up. I cannot write python commands like which python in the Terminal. but I can use pip in the terminal. I have a script with the distfit package loaded but it will no longer import into spyder despite being able to use it from the terminal.
pip install distfit
/Applications/Spyder.app/Contents/MacOS/python: No module named pip
Note: you may need to restart the kernel to use updated packages.
I have tried to add the Path of the python site-packages folder but everytime i try to add it spyder crashes and does not save it.
Traceback (most recent call last):
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/pythonpath/widgets/pathmanager.py", line 169, in <lambda>
triggered=lambda x: self.add_path())
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/pythonpath/widgets/pathmanager.py", line 456, in add_path
if self.listwidget.row(self.user_header) < 0:
RuntimeError: wrapped C/C++ object of type QListWidgetItem has been deleted
I have reinstalled python a few times as well as spyder and I cannot find any answers.