KCLegalHackers / 2016-Coding-For-Lawyers

This repository is for our weekly Coding for Lawyers meetup.
MIT License
10 stars 9 forks source link

pip module installs for OS X #15

Closed JwhiteheadMO closed 8 years ago

JwhiteheadMO commented 8 years ago

As we discussed on Tuesday:

OS X comes with an older version of python installed, so when you install modules via PIP, you'll need to specify a particular version of python. This seemed to finally work for me.

python3.6 -m pip install pyperclip

I also used "sudo -H" to install it as an admin in the home directory. That was encouraged by a message spit out by python, but I see others discourage the use of sudo pip as a potentially unsafe security practice (sudo pip might allow malicious code to execute as a super-user). Pyperclip is probably fine, but something to keep in mind with modules you cannot verify.

JwhiteheadMO commented 8 years ago

/close