You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x ] Tried the other applicable steps from the Troubleshooting Guide
[ x] Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
Folders will disappear from the PYTHONPATH manager when they are deleted, but remain in sys.path.
As far as I know, that means there is no way to remove that value from your sys.path until you re-create the directory and remove it from the manager.
What steps reproduce the problem?
Add a folder via PYTHONPATH manager
Delete the folder
Restart Spyder
Confirm it has disappeared from the manager
Confirm it is still present in sys.path
Add the folder back
Restart Spyder
Confirm the folder has returned to the manager
What is the expected output? What do you see instead?
I would expect that the folder remains in the manager, but it does not. Maybe also a message saying that a user-defined PYTHONPATH addition no longer exists with a prompt to remove or update it.
Paste Traceback/Error Below (if applicable)
n/a
Versions
Spyder version: 5.3.2
Python version: 3.8.10
Qt version: 5.15.2
PyQt version: 5.15.7
Operating System name/version: Windows 10
Dependencies
n/a
The text was updated successfully, but these errors were encountered:
Hey @rjyunis, thanks for reporting. We'll take care of this in our next major version (Spyder 6) because we plan to improve our PYTHONPATH manager significantly in that version.
ccordoba12
changed the title
Folders will disappear from the PYTHONPATH manager when they are deleted, but remain in sys.path
Folders will disappear from the PYTHONPATH manager when they are deleted, but remain in sys.pathDec 1, 2023
ccordoba12
changed the title
Folders will disappear from the PYTHONPATH manager when they are deleted, but remain in sys.path
Folders will disappear from the Pythonpath manager when they are deleted, but remain in sys.pathDec 1, 2023
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
Folders will disappear from the PYTHONPATH manager when they are deleted, but remain in sys.path.
As far as I know, that means there is no way to remove that value from your sys.path until you re-create the directory and remove it from the manager.
What steps reproduce the problem?
What is the expected output? What do you see instead?
I would expect that the folder remains in the manager, but it does not. Maybe also a message saying that a user-defined PYTHONPATH addition no longer exists with a prompt to remove or update it.
Paste Traceback/Error Below (if applicable)
n/a
Versions
Dependencies
n/a
The text was updated successfully, but these errors were encountered: