Last active
September 22, 2015 15:53
-
-
Save niftynei/4a7ad4c5ecf0bb4cf257 to your computer and use it in GitHub Desktop.
sudo but sudon't
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ which python | |
/usr/bin/python | |
$ sudo which python | |
/usr/bin/python | |
$ python -c "import cairo; print cairo.version" | |
1.10.0 | |
$ sudo python -c "import cairo; print cairo.version" | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/usr/local/lib/python2.7/site-packages/cairo/__init__.py", line 1, in <module> | |
from _cairo import * | |
ImportError: libcairo.so.2: cannot open shared object file: No such file or directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment