Channels
announcements
ask-marvin
best-practices-coordination-plane
data-ecosystem
data-tricks-and-tips
events
find-a-prefect-job
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
marvin-in-the-wild
pacc-clearcover-june-12-2023
pacc-may-31-2023
ppcc-may-16-2023
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-community
prefect-contributors
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-us-what-you-got
Powered by
Title
a
Amanuel
05/17/2023, 3:38 PM
Hello prefect community.... I am having issue importing schedules ........ImportError: cannot import name 'schedules' from 'prefect'.... I am using prefect Version: 2.10.9
✅ 2
s
Sahil Rangwala
05/17/2023, 3:51 PM
Hello Amanuel, what is your import error? How are you importing the schedule? Were you
able to install Prefect correctly
?
n
Nate
05/17/2023, 3:52 PM
prefect.schedules
is not a module, you need to import from
prefect.server.schemas.schedules
like
this
a
Amanuel
05/17/2023, 3:56 PM
thanks It is working now.... I was using
🙌 1
from prefect.schedules import IntervalSchedule
n
Nate
05/17/2023, 3:56 PM
🎉
#prefect-getting-started
Join Slack