xsshunter icon indicating copy to clipboard operation
xsshunter copied to clipboard

Missing dependencies for yaml

Open oliverclozov opened this issue 6 years ago • 2 comments

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.

oliverclozov avatar Jul 25 '19 00:07 oliverclozov

I have updated the README.md file to include this information in https://github.com/mandatoryprogrammer/xsshunter/pull/33

xYantix avatar Oct 15 '19 06:10 xYantix

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.)

berkbykn avatar Jan 02 '20 19:01 berkbykn