Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'otter' #905

Open
Hansin2901 opened this issue Jan 11, 2025 · 3 comments
Open

ModuleNotFoundError: No module named 'otter' #905

Hansin2901 opened this issue Jan 11, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@Hansin2901
Copy link

I set up an otter grader file and uploaded it to gradescope, unfortunately no code is able to run because when run_otter.py is run it cant find the otter module

The results uploaded to Gradescope were not formatted correctly. Please see
http://gradescope-autograders.readthedocs.io/en/latest/specs/#output-format
for more details.

Use the "Debug via SSH" button below to debug this issue.

We did not receive any results for this submission.

The autograder produced the following output:

Traceback (most recent call last):
File "/autograder/source/run_otter.py", line 3, in
from otter.run.run_autograder import main as run_autograder
ModuleNotFoundError: No module named 'otter'

This is the exact error.

I tried to SSH as well and I manually installed otter to see if that would do the trick but to no avail.

@Hansin2901 Hansin2901 added the bug Something isn't working label Jan 11, 2025
@chrispyles
Copy link
Member

@Hansin2901 this error usually indicates an error while building the grading image. Can you share the image build output?

@Hansin2901
Copy link
Author

output.txt
I could not paste the output so I am attaching a txt file

@chrispyles
Copy link
Member

@Hansin2901 what version of Otter are you using? If you are on v6.x.x and haven't upgraded to v6.0.4, please do so and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants