mirror of
https://github.com/cheat/cheat.git
synced 2024-12-22 12:45:06 +01:00
Add a troubleshooting section (python 2.6 doesn't comes with the argparse module)
This commit is contained in:
parent
545c35722a
commit
97182d4cf1
16
README.md
16
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
|
||||
=====================
|
||||
|
Loading…
Reference in New Issue
Block a user