-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Dependencies diaog not updating correctly when installing dependencies while spyder is running #3522
Comments
For new dependencies to appear in that dialog, you need to close Spyder (not just the dialog) and open it again. It's not possible for Spyder to detect new packages while it's running. |
I thought as much, but what is interesting, that it kind of does detect it, as in, the line is not red anymore and it says (OK) instead of (NOK). I opened this issue because of this odd/inconsistent behaviour. But as I've said, I think this is a very minor thing. |
What we can do is adding a note in the Dependencies dialog saying that new dependencies will be correctly detected only after Spyder is restarted. |
@dalthviz, you could work on this one :-) |
jedi >=0.9.0 : 0.10.0 (OK) This is my condition, please help. |
Try to reinstall configparser: conda uninstall configparser It worked for me. |
Description
This is a minor bug I noticed while installing dependencies with spyder running.
Spyder recognises newly installed dependencies, but will not insert the installed version number in the dependency info (or this bug report as can be seen by the additional information/dependencies below: pandas version number is displayed as None, but it is labeled as (OK). ) My guess would be that the version number is only requested at startup while the label (OK/NOK) as well as the color for each dependency is checked when opening the dialog?
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The expected output would be the version of the installed dependency. Instead we see that the dependency is not red anymore and is labeled as (OK) but not version number is displayed.
Please provide any additional information below
Restarting spyder fixes this problem, as the version number is correctly displayed then.
Uninstalling dependencies while spyder is running causes a similar (maybe even more serious?) bug, as in the fact that spyder does not seem to realize that the dependency is missing at all (still shows the old version number and labels it as (OK)). I just do not think this is so serious as people usually know when they uninstalled something.
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: