xsshunter
xsshunter copied to clipboard
Missing dependencies for yaml
I installed on a fresh install of Ubuntu Server 18.04 in Azure.
PROBLEM Upon running the ./generate_config.py I encountered the "ImportError: No module named yaml" error.
Running pip install yaml results in:
Collecting yaml Could not find a version that satisfies the requirement yaml (from versions: ) No matching distribution found for yaml
SOLUTION
Run pip install pyyaml or if you want to install machine-wide run apt-get install python-yaml
I suggest either updating the dependencies or reflect this somewhere in the documentation.
I have updated the README.md file to include this information in https://github.com/mandatoryprogrammer/xsshunter/pull/33
It's because of the python and pip versions.. If you are using pip, follow:
pip install --upgrade setuptools
pip install PyYAML==5.2
If you are using pip3, follow:
pip3 install --upgrade setuptools
pip3 install PyYAML==5.2
(PyYAML should be latest version.)