I have been trying to install win32api module using pip install win32api but whenever I try to, it gives me an error message:
Downloading/unpacking win32api Cannot fetch index base URL https://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement win32api Cleaning up... No distributions at all found for win32api Storing debug log for failure in /root/.pip/pip.log
My repositories are alright. Help me out here.
By the way, I'm using kali linux 2.0 32 bit version
Assuming you are using Windows, you need to get this package from here:
http://sourceforge.net/projects/pywin32/
This library is not available in Pip since it's Windows specific (won't work on Linux or OS X).
You need to add the repositories to sources.list
Type this to open the file:
nano /etc/apt/sources.list
And add these lines:
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
Save and run:
apt --fix-broken install
apt-get update
apt-get upgrade
apt-get install python3-pip
And type:
pip --version
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.