-
Notifications
You must be signed in to change notification settings - Fork 570
Troubleshooting
ktx edited this page Jun 25, 2020
·
3 revisions
- The instructions assume you are running python3 as default. If unsure, type the following in your terminal.
It should be eitherPython 3.*orPython 2.*:
$ python --version-
If you are running python2 as default :
Make sure you have python3.6+ installed, then replacepythoncommands with explicitpython3commands. -
If you have not set your venvs, you might get a permission error saying
Consider using the --user option or check the permissions.
Simply add --user like so:
$ pip3 install --user h8mail-
h8mailuses ANSI color escape characters. Windows doesn't know how to show the colors, and will show gibberish instead.
Fortunately, you can use Cmder, which is an excellent Windows CMD prompt alternative, or activate them manually for the default command prompt. - If you're having trouble with python and pip, chances are you need to add python to your PATH.
pipwill also need to be in yourPATHenvironment variable. - If you're still having trouble with
pip, you can do the following:
# Check python version, should be 3.6+
C:> python --version
# To have python handle installation of pip
C:> python -m ensurepip
# To launch pip as a module
C:> python -m pip install h8mail
# To launch h8mail as a module
C:> python -m h8mail --helpTo find where pip installed h8mail, use pip3 show h8mail
- As described for Windows, you might encounter issues with python if your installation is incomplete, or
pip's installation directory is not in your PATH. - If thats the case, you can try invoking
pipandh8mailwith the same command lines as Windows. - Make sure the
pythoncommand refers to Python 3 withpython --version, otherwise replacepythonwithpython3in the instructions. - Basically try this if installed and not executing, check Windows instructions for further examples:
$ python3 -m h8mail -h