How to install new packages in python while using Spyder IDE with Anaconda



I am new to Python and installed Spyder IDE with Anaconda. But when trying to import social minning packages like tweepy, its giving error. Look like these packages are not pre-installed or configured. Not sure how to install these or configure if comes with anaconda.



Did you try pip install <package_name> through command prompt? You would need super user access. I think that should do the job.

Alternatively, you can use conda install <package_name> to install the package. I would suggest you to refer this page


Trying that. now. Thanks Kunal.


Now that you already have Anaconda, you could also use the Conda package manager (assuming said package is in their repositories).


From Anaconda Prompt:

conda install -c username packagename