AgentFixboard

import crewai takes 25 seconds or more

Simply importing crewai takes 25 seconds or longer before any code runs.

From GitHub

crewAIInc/crewAI

Difficulty
Easy
Time
~5 min
Steps
1
Fixed in
0.70.1
Last checked

Verified fix: PR #1396 merged on . Fixed in 0.70.1 (first stable release containing the merge commit). Last checked .

Symptom

Simply importing crewai takes 25 seconds or longer before any code runs.

Evidence what you'll see

  • Measured with a timer around import crewai
  • Reported on Windows 10 with Python 3.12

Cause

crewai imported large libraries eagerly at import time.

Fix steps

0 of 1 done

Your check marks stay in this browser only.

Verify the fix worked

  • Time import crewai again and confirm it is much faster.

Sources and credit

Summarized in our own words from these public reports. Credit goes to their authors.

Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change

Hit an error we don't cover? Submit it