How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

[Help] Extremely Slow First-Time Import in New Conda Environments (torch / torchvision / cupy / PyMuPDF, etc.) with Almost Zero CPU/Disk Usage

calendar_today July 6, 2026 person @mrsimon07 domain anaconda

Likely culprit: Windows Defender/SmartScreen doing on-access signature checks (cloud lookup) on each new DLL/PYD the first time it’s touched — that matches near-zero CPU/disk, multi-minute stalls, fast on immediate re-import (cached verdict), slow again after time (cache expires), and works fine on the other machine (different AV state/policy or already-trusted files). Quick things to check/try: Confirm it’s Defender , not just “disabled real-time protection” (that toggle doesn’t disable cloud/MAPS lookups or Smart App Control): Check if Smart App Control is ON (Settings → Privacy & Security)

open_in_new Read original post