Spyder won't launch in my Mac M3 Sonoma 14.4

I have dowloaded Anaconda, and when I try to launch spyder it shows this error:
/opt/anaconda3/bin/pythonw: line 3: 46827 Segmentation fault: 11 /opt/anaconda3/python.app/Contents/MacOS/python “$@”
Can someone please help me get this sorted out.

Hello Santidealbacazares,

Thank you for the information. I believe your OS is Mac but correct me if I am wrong.

Can you try the below method of installing Spyder in a new conda environment?

  1. First open your command terminal and make sure you are in a conda prompt, which means there should be an environment name like (base) next to your prompt.
  2. Create a new environment with the command below:
  3. conda create -n <env_name>
  4. Once the environment is created we will activate it with the command below:
  5. conda activate <env_name>
  6. Now we are in our new environment, from here we can install spyder without other complications.
  7. conda install spyder
  8. With spyder and its dependancies installed, you should be able to run spyder in the command line:
  9. command to run is just spyder
  10. or if you are in Anaconda-Navigator, you just need to switch to your new environment you made and then launch spyder.

Let me know if you have any questions or issues with the steps given?