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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/spyderlib/5bda13af-4515-49b5-a7e5-ebf08482ba0bn%40googlegroups.com.