Created
September 15, 2011 03:43
-
-
Save amrox/1218473 to your computer and use it in GitHub Desktop.
It's shit like this, Python package management
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
| $ sudo pip install jsonpretty | |
| Downloading/unpacking jsonpretty | |
| Downloading JSONPretty-1.0.0.tar.gz | |
| Running setup.py egg_info for package jsonpretty | |
| Requirement already satisfied (use --upgrade to upgrade): simplejson in /Library/Python/2.7/site-packages (from jsonpretty) | |
| Installing collected packages: jsonpretty | |
| Running setup.py install for jsonpretty | |
| Installing jsonpretty script to /usr/local/bin | |
| Successfully installed jsonpretty | |
| Cleaning up... | |
| $ which jsonpretty | |
| /usr/local/bin/jsonpretty | |
| $ jsonpretty file.js | |
| Traceback (most recent call last): | |
| File "/usr/local/bin/jsonpretty", line 8, in <module> | |
| load_entry_point('JSONPretty==1.0.0', 'console_scripts', 'jsonpretty')() | |
| File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 318, in load_entry_point | |
| return get_distribution(dist).load_entry_point(group, name) | |
| File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2221, in load_entry_point | |
| return ep.load() | |
| File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1954, in load | |
| entry = __import__(self.module_name, globals(),globals(), ['__name__']) | |
| ImportError: No module named jsonpretty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[sudo] gem install jsonpretty
(https://github.com/nicksieger/jsonpretty)