简体   繁体   中英

Some issues with python, python2.7 and python3 in Kali Linux

I want to run a python program but I got this message:

"SyntaxError: Non-ASCII character '\xc2' in file windows-exploit-suggester.py on line 1291, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details"

I tried with python, python2.7 and python3. I am using Kali Linux. Tried commenting this line but still having issues.

Also I am having problems with xlrd library. I installed in many ways (pip, pip3, apt) it show me that the requeriment is satisfied but I am not able to run it. Is an old script.

[-] please install and upgrade the python-xlrd library

for python3:

pip3 install python-xlrd

for python2:

pip install python-xlrd

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM