From d434ae62484e1eaae3326445ef3465b40b6edf51 Mon Sep 17 00:00:00 2001 From: Ryan Clary <9618975+mrclary@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:03:35 -0700 Subject: [PATCH] Only check for EXTERNALLY-MANAGED if not a conda environment --- spyder/plugins/updatemanager/widgets/update.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spyder/plugins/updatemanager/widgets/update.py b/spyder/plugins/updatemanager/widgets/update.py index dd60a762891..ffaca78de69 100644 --- a/spyder/plugins/updatemanager/widgets/update.py +++ b/spyder/plugins/updatemanager/widgets/update.py @@ -51,7 +51,10 @@ SKIP_CHECK_UPDATE = ( sys.executable.startswith(('/usr/bin/', '/usr/local/bin/')) - or osp.exists(osp.join(get_path('stdlib'), 'EXTERNALLY-MANAGED')) + or ( + not is_anaconda() + and osp.exists(osp.join(get_path('stdlib'), 'EXTERNALLY-MANAGED')) + ) )