zardus / ctf-tools

Some setup scripts for security research tools.
BSD 3-Clause "New" or "Revised" License
8.49k stars 1.89k forks source link

appdirs python module missing for pwntools install #127

Closed raildex1 closed 7 years ago

raildex1 commented 7 years ago

As title.

` File "/root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pkg_resources/init.py", line 74, in

import appdirs

ImportError: No module named appdirs


Cleaning up... Command /root/.virtualenvs/ctftools/bin/python2 -c "import setuptools, tokenize;file='/root/.virtualenvs/ctftools/build/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-mkVBh_-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ctftools/include/site/python2.7 failed with error code 1 in /root/.virtualenvs/ctftools/build/cffi Traceback (most recent call last): File "/root/.virtualenvs/ctftools/bin/pip", line 11, in sys.exit(main()) File "/root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/init.py", line 185, in main guess = get_similar_commands(cmd_name) File "/root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/basecommand.py", line 161, in main }, UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 31: ordinal not in range(128) `

Using a clean install of Ubuntu Trusty 14.04.

Haven't done any pull requests for a while so I don't know the conventions on using pip install for tool installs.