Skip to content

Menu related error when installing 6.1.1rc1 on macOS #25373

@dalthviz

Description

@dalthviz

Tried creating a conda environment with the following command:

conda create -n spyder_611rc1 -c conda-forge -c conda-forge/label/spyder_rc python=3.12 spyder=6.1.1rc1 matplotlib

The env was created but the env creation transaction ended up throwing an error related with menuinst:

Executing transaction: | menuinst Exception                                                                     
Traceback (most recent call last):                                                                              
  File "/opt/miniconda3/lib/python3.12/site-packages/conda/gateways/disk/create.py", line 266, in make_menu     
    menuinst.install(                                                                                           
  File "/opt/miniconda3/lib/python3.12/site-packages/menuinst/api.py", line 146, in _install_adapter            
    with open(json_path) as f:                                                                                  
         ^^^^^^^^^^^^^^^                                                                                        
FileNotFoundError: [Errno 2] No such file or directory: '/opt/miniconda3/envs/spyder_611rc1/Menu/spyder-menu.jsodone                                                                                                            
#                                                                                                               
# To activate this environment, use                                                                             
#                                                                                                               
#     $ conda activate spyder_611rc1                                                                            
#                                                                                                               
# To deactivate an active environment, use                                                                      
#                                                                                                               
#     $ conda deactivate  

Setup info

Base env had menuinst 2.2.0 and conda 25.5.1

  • Spyder version: 6.1.1rc1 (conda)
  • Python version: 3.12.12 64-bit
  • Qt version: 5.15.15
  • PyQt5 version: 5.15.11
  • Operating System: macOS-15.7-arm64-arm-64bit

Notes

Updating menuinst to the latest (2.4.1) prevents seeing the error message

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions