Hi Chuck, I think this could be related with an issue that was happening on Windows: Menuinst error related with the reset shortcut · Issue #23203 · spyder-ide/spyder <https://github.com/spyder-ide/spyder/issues/23203> A PR fixing that over the Spyder feedstock was done (Split spyder-menu.json into unix and windows versions. by mrclary · Pull Request #208 · conda-forge/spyder-feedstock <https://github.com/conda-forge/spyder-feedstock/pull/208>) and a new Spyder 6.0.2 conda build was done. Also we just released on conda-forge Spyder 6.0.3 which should also fix the menuinst error you were seeing.
Let is know if the info above helps! Best regards, Daniel El martes, 3 de diciembre de 2024 a las 14:46:36 UTC-5, chuck....@gmail.com escribió: > Worked around the error. I stubbed out this python function that was > issuing the error. Sypder seems to be working OK at the moment. At least > pandas is working. > function in > miniforge3/lib/python3.10/site-packages/conda/gateways/disk/create.py > def make_menu(prefix, file_path, remove=True): > pass # I stubbed this out. > """ > Create cross-platform menu items (e.g. Windows Start Menu) > > Passes all menu config files %PREFIX%/Menu/*.json to > ``menuinst.install``. > ``remove=True`` will remove the menu items. > """ > ''' > try: > import menuinst > > menuinst.install( > join(prefix, win_path_ok(file_path)), > remove=remove, > prefix=prefix, > root_prefix=context.root_prefix, > ) > except Exception: > stdoutlog.error("menuinst Exception", exc_info=True) > ''' > > > On Tuesday, December 3, 2024 at 12:31:02 PM UTC-6 Chuck Banken wrote: > >> Hi All, >> >> Attempted to upgrade my spyder installation from 6.0.0 to 6.0.2. >> >> The update aborted with: >> FileNotFoundError: [Errno 2] No such file or directory: >> '/home/cbanken/miniforge3/envs/spyder-env/Menu/spyder-menu.jsodone >> >> spyder launches, but pandas module is missing. >> >> Using miniforge3. >> >> I can confirm that pandas is missing in spyder-env using conda commands. >> >> conda doctor -v -n spyder-env >> Missing Files: >> spyder-6.0.2-linux_pyh62a8a7d_4: >> Menu/spyder-menu.json >> Menu/spyder-menu.json >> >> I deleted spyder-env and tried re-installing from scratch. No joy. Even >> the uninstall complains with errors. >> >> conda remove -n spyder-env --all >> >> Executing transaction: | menuinst Exception >> Traceback (most recent call last): >> File >> "/home/cbanken/miniforge3/lib/python3.10/site-packages/conda/gateways/disk/create.py", >> >> line 261, in make_menu >> menuinst.install( >> File >> "/home/cbanken/miniforge3/lib/python3.10/site-packages/menuinst/api.py", >> line 146, in _install_adapter >> with open(json_path) as f: >> FileNotFoundError: [Errno 2] No such file or directory: >> '/home/cbanken/miniforge3/envs/spyder-env/Menu/spyder-menu.json'menuinst >> Exception >> Traceback (most recent call last): >> File >> "/home/cbanken/miniforge3/lib/python3.10/site-packages/conda/gateways/disk/create.py", >> >> line 261, in make_menu >> menuinst.install( >> File >> "/home/cbanken/miniforge3/lib/python3.10/site-packages/menuinst/api.py", >> line 146, in _install_adapter >> with open(json_path) as f: >> FileNotFoundError: [Errno 2] No such file or directory: >> '/home/cbanken/miniforge3/envs/spyder-env/Menu/spyder-menu.jsodone >> Traceback (most recent call last): >> File >> "/home/cbanken/miniforge3/lib/python3.10/site-packages/conda/gateways/disk/create.py", >> >> line 261, in make_menu >> menuinst.install( >> File >> "/home/cbanken/miniforge3/lib/python3.10/site-packages/menuinst/api.py", >> line 146, in _install_adapter >> with open(json_path) as f: >> FileNotFoundError: [Errno 2] No such file or directory: >> '/home/cbanken/miniforge3/envs/spyder-env/Menu/spyder-menu.json'menuinst >> Exception >> Traceback (most recent call last): >> File >> "/home/cbanken/miniforge3/lib/python3.10/site-packages/conda/gateways/disk/create.py", >> >> line 261, in make_menu >> menuinst.install( >> File >> "/home/cbanken/miniforge3/lib/python3.10/site-packages/menuinst/api.py", >> line 146, in _install_adapter >> with open(json_path) as f: >> FileNotFoundError: [Errno 2] No such file or directory: >> '/home/cbanken/miniforge3/envs/spyder-env/Menu/spyder-menu.jsodone >> >> Suggestions? >> >> Thanks, >> Chuck Banken >> >> >> -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/spyderlib/08b512d7-3702-4f15-9b04-6809f9ae06f4n%40googlegroups.com.