I have recently changed the username on my MacBook and deleted the previous installation of miniconda to install new anaconda. Moving forward, I removed previous definition for python interpreter based on miniconda (py36)
from Eclipse > Preferences > PyDev > Python Interpreter
, to add a new anaconda based python interpreter. These changes are working fine for the current session, or a quick restart of eclipse, however, if I reopen eclipse after a day or so, the interpreter settings are being switched back to the old settings. And I need to remove the old interpreter and add new interpreter all over again. The following is the error I receive with eclipse restart.
Error: An internal error occurred during: "List dependencies for: py36 (/Users/Viswanath/miniconda3/bin/python)". java.io.IOException: Cannot run program "/Users/Viswanath/miniconda3/bin/python": error=2, No such file or directory
Similar question has been asked in the past here. As mentioned in the answer to that question and here, I also believe that the root cause could be preference recording by a plugin such as Oomph. However, the documentation page for Oomph doesn't help with steps to remove the preference recording or presets. As shown in the following images, I unchecked the options from Eclipse > Preferences > Oomph > Setup Tasks > Preference Recorder & Preference Synchronizer
. Neither of these helped. Any help with directions to remove the recorded preference or presets from Oomph are appreciated.
Python Version: 3.7.8
Eclipse Version: 2020-09 (4.17.0)
PyDev Version: 8.0.1
Device: MacBook Pro
OS: macOS Big Sur 11.0.1
I think what did the trick was to delete the recorded preferences from Navigate -> Open Setup -> User -> Group named "User Pereferences".