Closed ManasKatyal closed 6 years ago
To be clear, what exactly is the command you are running when you get this message?
Are you supplying the required parameters, school_id
student
or teacher
and user_id
?
Such as: lectocal.run 123 student 321233
Hi again. I came though that point. Now after I have entered lectocal.run I get this message.
manas$ python -m lectocal.run 484 student 22838092523
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Library/Python/2.7/site-packages/lectocal/run.py", line 71, in
Looks like the problem is that you are using Python 2.7 (File "/Library/Python/2.7/site-packages/lectocal/lesson.py" in your output).
Lectocal only supports Python 3 and above. You can install it from https://www.python.org.
Feel free to reach back out if you still have issues after using a newer version of Python.
Hi Hanse.
I keep getting the error.
usage: lectocal.run [-h] [--credentials CREDENTIALS] [--calendar CALENDAR] [--weeks WEEKS] school_id {student,teacher} user_id lectocal.run: error: too few arguments
And I have tried almost anything. Do you have any fix for me?