Python Forum
Installing pyperclip with Anaconda
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing pyperclip with Anaconda
#1
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.
Reply
#2
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.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
am I meant to be trying to install in Spyder though? 

I feel like I am missing an initial step.
Reply
#4
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_i...ion#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
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  installing prospector and updating anaconda packages amir 2 985 Dec-24-2022, 06:13 AM
Last Post: amir
  Using Pyperclip in Python 3 Does Not Paste Data in Desired Format aspire27 0 2,315 Sep-06-2019, 11:35 PM
Last Post: aspire27
  Installing pyperclip module Truman 5 18,006 Apr-29-2018, 03:29 PM
Last Post: snippsat
  Downloading and using pyperclip PMPythonlearner 2 5,043 Dec-31-2017, 04:37 PM
Last Post: PMPythonlearner

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020