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

python

#1

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.


#2

@naiya_pavel

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


#3

Trying that. now. Thanks Kunal.


#4

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

https://docs.anaconda.com/anaconda-data-science-workflow

https://conda.io/docs/user-guide/concepts.html#conda-packages


#5

From Anaconda Prompt:

conda install -c username packagename