Skip to content

feature: Add popular Python modules to codecheck server #69

@jmr-ua-pt

Description

@jmr-ua-pt

When teaching programming to general engineering, math and sciences students, it is quite common to use popular modules such as numpy, matplotlib and pandas, for instance.

However, CodeCheck is not currently prepared to run code that imports these modules.
Check this problem, for example. When you run it, you should get the error report:

Traceback (most recent call last):
  File "/tmp/codecheck/workYGnngVhSDjCreyGBPAG9/submissionrun1/prog.py", line 2, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

Editing the problem to include the full numpy package would not be easy, and probably not a good idea, because of the size and because it may comprise binary code files.
On the other hand, upgrading the server's Python library with these add-ons should be fairly easy for the administrator to do, and every user could benefit from this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions