I installed two packages in Spyder through the IPython console using pip install <package name>
, and the installed packages work fine in Spyder. However, when I run the same script in Sublime Text, it throws an error saying that the required packages are not installed. Can anyone please suggest a workaround so that I do not have to reinstall the same package.
do you have multiple versions of python on your computer? If so, make sure that you are using the same interpreter in Spyder which you also have installed your packages on using pip.