-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conda 23.11 breaks Windows shortcuts, e.g. to Spyder #167
Comments
What happens if you reinstall spyder |
Still doesn't work. I also tried updating conda first and only then creating the environment, which gave the same result. |
This is probably related to menuinst 2.x being dependend on in 23.11.0. @jaimergp Please take a look at this. |
Not sure if this is related, but menuinst 2.0.0 removed the _legacy package which is called by cwp.py from miniconda. cwp.py:
When menuinst 2.0.0 is installed, change the above to:
All shoftcuts that use cwp.py will be broken until this change is made to cwp.py. |
@pythonic2020 good catch! I've opened #168 to address this issue |
2.0.1 will be cut soon, addressing this issue. Thanks for the report, investigation and patience! |
Has it been verified that the import error is the only cause of this issue? I was about to start a new issue with the same problem (but with shortcuts to my own packages) reporting that I think the error is related to the switch to argparse when I found this. I have not been the best about keeping conda up to date so this presented itself to my when I went to set up a new machine with our software thus I don't know exactly when it was introduced. I created shortcuts as I have on other machines, but they didn't work. I then attempted to run the shortcut command manually on the terminal (using python instead of pythonw:
I know cwp.py was switched to argparse back in March of 2023 and this issue wasn't reported until December, but I don't know how long those changes would take to propagate to users to be reported and thus if I have the same issue as here or a new one. If this constitutes it's own issue, let me know and I will make one. |
Yes, might be due to the change to argparse. Please open a new issue so we can investigate. Thanks! |
What happened?
After updating to conda 23.11 the shortcut to open Spyder in the Windows start menu (automatically placed there by
conda install spyder
) does not work anymore. I assume that this applies to similar shortcuts of other packages to, though I tested it only with Spyder.How to reproduce
conda-forge
channel:conda config --add channels conda-forge
.conda create -n testenv spyder
.conda update --all
(inbase
environment). This should update to conda version 23.11.Note that the update does not change the Spyder version or even anything in
testenv
, so this can't be an issue on their end, I think. Also you can still start Spyder from the command line (conda activate testenv && spyder
), so Spyder itself is not broken by the update. I assume that something in the commands called by the shortcut is broken.Conda Details
conda info
conda config
conda list
The text was updated successfully, but these errors were encountered: