5

When I try to rub a script in SublimeREPL for Python, it says:

ImportError: No module named 'matutil'

What setting can I change so the Python REPL is looking in the right directory?

Castielle
  • 435
  • 1
  • 5
  • 16
  • Is there such a module called `matutil`? There's no record of it on PyPI... – MattDMo Aug 21 '13 at 14:08
  • No, it's just a module I'm using for a class. The module is located in a specific directory, and I want it so when I type "import matutil", the REPL will import the module. – Castielle Aug 22 '13 at 07:55
  • The answer to your question is here: http://stackoverflow.com/questions/15261193/sublime-text-2-console-and-python-3/15276533#15276533 – Max Caldwell Dec 29 '13 at 22:37
  • You can find the answer to your question here: http://stackoverflow.com/questions/22058396/python-and-ipython-with-sublimerepl – Jonathan May 16 '14 at 18:26
  • Solutions posted in the comments above didn't help in my case. You can find what worked for me here: https://stackoverflow.com/questions/45077749/why-sublimerepl-wont-import-a-python-module-or-read-a-file-in-cwd – z33k Jul 13 '17 at 11:35

0 Answers0