Reputation: 51
Earlier today i got a pop-up stating Spyder can be updated to 6.0.1. When i try to update it, I get the following error message:
The folder exists and but i am hesitant to delete it, as far as i can tell the current Spyder version is installed there. I installed spyder initially with Anaconda, but i updated it before with the built-in installer. I am using a Macbook Air M3 running Sequoia 15.0.1.
Upvotes: 1
Views: 356
Reputation: 29
This happens when updating/upgrading and the installer is unable to remove or override the exiting files. I just have a similar issue with my install using Brew. From what I can see there are two options.
1. Remove the files from the path - optional - > make a backup of those files first so it can be replaced in case things go wild:
sudo rm -rf /Library/spyder-6
the installation will proceed as expected.
2. Create an environment and install there, for example using conda and install the new version there. This, if one wants to keep the previous version installed in the system.
Other options will be a regular install using pip. Or check if the installed version matches the update/upgrade.
Myself I just went for option 1 and worked without issues.
Upvotes: 0