Numpy library

Re: Numpy library

por Richard Lobb -
Número de respuestas: 0

The only solution I know of is to install numpy on the Jobe server. This is just a single command for a sysadmin:

    sudo -H python3 -m pip install numpy

I suggest you ask whoever manages your Jobe server to run that command for you. You could perhaps mention to them that they will of course need to take down the firewall temporarily while they run the command.

It is also possible for question authors to set up their own Jobe servers and use them within specially customised questions but this isn't a suitable approach for beginner CodeRunner users!

One more thing: numpy needs a lot of memory and it is likely that your questions will crash with a segment fault when run. To avoid this you need to increase the memory limit for the questions:

  • Open the author's view of the question
  • Click the Customise checkbox
  • Open Advanced Customisation
  • Set the memory limit to a larger value.