Adding a Module (Specifically Pymorph) to Spyder (Python Ide)

Adding a module (Specifically pymorph) to Spyder (Python IDE)

Ok, no one has answered this yet but I managed to figure it out and get it working after also posting on the spyder discussion boards. For any libraries that you want to add that aren't included in the default search path of spyder, you need to go into Tools and add a path to each library via the PYTHONPATH manager. You'll then need to update the module names list from the same menu and restart spyder before the changes take effect.

How install a module in spyder

you can select your python interpreter in Tool > Preferences > Python Interpreter > Use the following python Interpreter > (path to python.exe)

Make sure to restart your console or spyder.

Spyder doesn't recognise my library, ImportError: No module named 'numdifftools'

on the IPython console within spyder allows you to use pip. So, in the example, you could do:

[1] !pip install numdifftools



Related Topics



Leave a reply



Submit