Replies: 2 comments 3 replies
-
Are you using code generated by ChatGPT/Cursor? If so, they might have generated an incorrect import. Please see our Python quickstarts: (for example, https://github.com/TimefoldAI/timefold-quickstarts/tree/stable/python/hello-world). |
Beta Was this translation helpful? Give feedback.
3 replies
-
Ok. Good advice. My confidence in ai has been shaken.
Your comment about sudo is, I presume, is about permissions.
…On Thu, 27 Mar 2025, 21:05 Christopher Chianelli, ***@***.***> wrote:
My recommendations:
- Start from scratch using the Python hello work quickstart by cloning
this repository:
https://github.com/TimefoldAI/timefold-quickstarts/tree/stable. Follow
the instructions in the README to run the quickstart, then slowly modify
that quickstart to suit your needs.
- Do not use sudo; sudo can very easily corrupt your system if you do
not know what you are doing.
- Do not use ChatGPT to generate entire projects at once; instead
consider using it to define a single function/class at a time, and make
sure you fully understand that function/class before using it.
—
Reply to this email directly, view it on GitHub
<#1483 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHX3DOTGGM5TYHAFQXLN4YD2WRR2ZAVCNFSM6AAAAABZ5ZM2T2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRUGYYTINA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Forgive me if this is a really simple question or, in fact, unrelated to Timefold but I have tried to create a simple constraints app twice, using two different AIs (ChatGPT and Cursor) but get the same error.
No module named 'ai'
Does anyone know why this might be happening?
Thanks in advance
I am using a debian Raspberry Pi with
Package Version
blinker 1.9.0
click 8.1.8
Flask 3.0.2
itsdangerous 2.2.0
Jinja2 3.1.6
jpype1 1.5.2
MarkupSafe 3.0.2
packaging 24.2
pip 23.0.1
setuptools 66.1.1
timefold 1.20.1b0
Werkzeug 3.1.3
openjdk version "17.0.14" 2025-01-21
Beta Was this translation helpful? Give feedback.
All reactions