Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pywin32 unsupported #1

Open
Mrpolack opened this issue Mar 28, 2022 · 1 comment
Open

pywin32 unsupported #1

Mrpolack opened this issue Mar 28, 2022 · 1 comment

Comments

@Mrpolack
Copy link

Mrpolack commented Mar 28, 2022

Hi, using pip3 on Kali 2021 it's not possible to install pywin32:
Defaulting to user installation because normal site-packages is not writeable
Collecting mega.py
Using cached mega.py-1.0.8-py2.py3-none-any.whl (19 kB)
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32

Even with the "pip" command if i try to install it it shows that is not supported in 2.7

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32

Do you know how to fix that?

@De3vil
Copy link
Owner

De3vil commented Mar 30, 2022

@Mrpolack hello
This tool is designed only to run on Windows, and by that I mean that you install it on Windows os
If you are using Windows, it works fine without any problems.
But if you are using Linux, this tool does not work on Linux, there is a problem with some packages that cannot be installed on Linux, but in the next version I will work to solve this problem,
You can try this temporary solution now

rm /var/lib/dpkg/lock
rm /var/cache/apt/archives/lock
rm /var/lib/apt/lists/lock
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y wine python-pip
wget https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi
wine msiexec /i python-2.7.14.msi
sudo wine ~/.wine/drive_c/Python27/python.exe -m pip install pyinstaller==3.6 pynput==1.6.8 pycryptodome==3.14.1 pywin32 mega.py==1.0.8
sudo pip install pynput==1.6.8 pyinstaller==3.3.1
apt install -y gnome-shell-extension-dashtodock

Then you can write a simple Python file containing this command and try the command, I don't promise you that it will work because the problem is from Python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants