From 97182d4cf1ae553e52f95f0e464cd713b1d7de0d Mon Sep 17 00:00:00 2001 From: TiTi Date: Tue, 8 Oct 2013 23:55:25 +0200 Subject: [PATCH] Add a troubleshooting section (python 2.6 doesn't comes with the argparse module) --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 4578312..312c23f 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,22 @@ Clone this repository and `cd` into it, then run mkdir ~/.cheat cp cheatsheets/* ~/.cheat +### Testing + +After installing for all users or in your home directory, try `cheat tar` for instance. + +### Troubleshooting + +In case you got an error such as: +> ImportError: No module named argparse + +You're probably using python < 2.7 and you need to manually install the argparse module. +You can do this easily with pip: +```bash +sudo apt-get python-pip +sudo pip install argparse +``` +Other methods: https://pypi.python.org/pypi/argparse Modifying Cheatsheets =====================