Skip to content

Commit

Permalink
Only check for EXTERNALLY-MANAGED if not a conda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary committed Oct 9, 2024
1 parent 7a7323e commit d434ae6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spyder/plugins/updatemanager/widgets/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
)
)


Expand Down

0 comments on commit d434ae6

Please sign in to comment.