PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Monday the 1st of August, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[01:54:31] <tdsmith> ionelmc: ty for linking https://www.youtube.com/watch?v=sPiWg5jSoZI on your metaclass blog post
[01:54:42] <tdsmith> david beazley's talk at pycon 2013
[06:39:03] <ionelmc> tdsmith: if you're into videos you might also like http://pymust.watch/ (small collection of oldies)
[08:10:37] <kellytk> I'm experiencing unexpected behavior attempting to install ansible using pip on OS X
[08:12:33] <kellytk> There is no /usr/local/bin/ansible* after `sudo pip install ansible`
[08:31:42] <glyph> kellytk: hi! never do 'sudo pip'. also that's not where 'sudo pip' would put a script on OS X.
[08:32:12] <glyph> kellytk: I believe you should be looking in /Library/Python/2.7/bin ?
[08:33:50] <kellytk> The instructions at http://docs.ansible.com/ansible/intro_installation.html state to use sudo
[08:43:11] <glyph> kellytk: I'm sorry, there are tons of terrible instructions lying around the internet :(. It's hard to tell these projects to update things. The problem with 'sudo pip install' is that you are installing stuff into your operating system without using your operating system's tools.
[08:43:51] <glyph> kellytk: On OS X the situation isn't quite as bad as linux, because at least System Integrity Protection ("rootless mode") will prevent you from actually damaging the installed OS.
[09:10:51] <kellytk> glyph: I removed pip, python from /usr/local/bin, and reinstalled python from its OS X installer. `which python` refers to /usr/local/bin/python -> ../../../Library/Frameworks/Python.framework/Versions/2.7/bin/python -- is that correct?
[09:20:02] <kellytk> Ansible installation using pip on OS X is failing: http://pastebin.com/8rptVsRn
[10:15:39] <glyph> kellytk: sure, that's right
[10:28:06] <kellytk> I removed the third party Python I installed to /usr/local/bin. In my user account `python -c 'import cryptography; print cryptography'` outputs an error ending with "ImportError: No module named cryptography"
[10:28:28] <kellytk> `which python` -> /usr/bin/python
[10:28:41] <kellytk> Python 2.7.10 FWIW