Python Forum
Installing pyperclip with Anaconda - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Installing pyperclip with Anaconda (/thread-2388.html)



Installing pyperclip with Anaconda - jamesh291183 - Mar-13-2017

Hi,

I am trying to install 'pyperclip' with Anaconda (whilst following the 'Automate the boring stuff' book). I am a Python newbie so am probably making a multitude of errors.

I have tried to install the version of pyperclip from the Anaconda site (I cannot post the link as its my first post). I have downloaded it, and in Sypder used the code; 

conda install -c bryanwweber pyperclip=1.5.27 

Which doesn't work and gives the standard invalid syntax message. 

Where am I meant to be installing this and how? I'm guessing it can't be in Spyder. 

Does Anaconda have a specific area for installing this sort of thing or am I meant to use Powershell (using Powershell was what initially led me to getting Anaconda and trying to install there). 

Any help would be much appreciated, apologies for the complete lack of understanding probably conveyed in my post.


RE: Installing pyperclip with Anaconda - wavic - Mar-13-2017

See what -c option means.
You have to use --name option for non-active virtual environment Or just conda install package_name if you are in active one.


RE: Installing pyperclip with Anaconda - jamesh291183 - Mar-13-2017

am I meant to be trying to install in Spyder though? 

I feel like I am missing an initial step.


RE: Installing pyperclip with Anaconda - wavic - Mar-13-2017

Spyder is some IDE, right? I didn't notice it. Sorry! 
You install a package into a created anaconda virtual environment or just in anaconda. You have to tell Spyder to use the Python which comes with anaconda. See https://docs.continuum.io/anaconda/ide_integration#spyder
I don't use Spyder or any other IDE with anaconda, though.
Just try conda install pyperclip

Take a look at the documentation.

One more thing. In the first link here is mentioned that Spyder comes with anaconda. I think better use this