GithubHelp home page GithubHelp logo

Error about advanced-keylogger HOT 21 CLOSED

vanjusa avatar vanjusa commented on June 2, 2024
Error

from advanced-keylogger.

Comments (21)

ngimb64 avatar ngimb64 commented on June 2, 2024 1

Not too sure because I don't use Windows 7, but It seems as long as your below verson 3.9 it should be fine

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

Hello vanjusa! I personally have never encountered this error myself, but it has to do with the validation of a SSL/TLS certificate associated with python when a request is made to gather pip, setuptools, etc. This link https://www.howtouselinux.com/post/ssl-certificate_verify_failed-in-python provides a few options, one being more ideal as the others require editing code to disable SSL verification. To fix the error it would be ideal to update the SSL certificates associated for python with pip. You could also try a system trust store to avoid pip missing custom certificate chains (https://pip.pypa.io/en/stable/topics/https-certificates/). What version of Python are you using?

from advanced-keylogger.

vanjusa avatar vanjusa commented on June 2, 2024

Hello Nicholas! Thank you for fast reply! Version of Python that I using is 3.8.10 (32-bit), Win 7-64bit......
Capture 2

from advanced-keylogger.

vanjusa avatar vanjusa commented on June 2, 2024

Capture 3
Capture 4

from advanced-keylogger.

vanjusa avatar vanjusa commented on June 2, 2024

I have upgraded setuptools from 56.0.0 to 65.5.1 and nothing has change.
Capture 6

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

Did you try "pip install --upgrade certifi" in the command prompt? Though I do not think it would I have to do with this issue, I would also recommend using a 64 bit version if your system is 64 bit.

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

If the problem persists there is a simple alternative. Create a venv with python -m venv [venv name], activate the environment, then simply do pip -r packages.txt to install the packages into the virtual environment. Thats essentially what the script does, but it works differently when doing a custom script vs through the module. I would still recommend upgrading certifi because it seems your SSL certificates are out of date, which could have do with Windows 7 being an older OS. I ran the script myself earlier, but it was on Windows 10.

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

My bad I missed some of the details in the screenshot before and it looks like most of the packages installed. After running the script on the package list showed that some of the packages are out of date, switch the scipy version to 1.9.3 and pywin32 to 305 in the windows_packages.txt and see if it works. I plan on doing some maintainence updates on my repos soon, which I make sure all the packages are updated. If for some reson your still getting certificate errors, I would suggests getting a fresh copy of 64 bit Python and sticking to the default installation and it should work with the updated packages.

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

Also Pillow needs to be 9.3.0 my bad. If those three packages are updated the installation will be successful:

Pillow==9.3.0
scipy==1.9.3
pywin32==305

from advanced-keylogger.

vanjusa avatar vanjusa commented on June 2, 2024

After this action,

"If the problem persists there is a simple alternative. Create a venv with python -m venv [venv name], activate the environment, then simply do pip -r packages.txt to install the packages into the virtual environment. Thats essentially what the script does, but it works differently when doing a custom script vs through the module"

this happened :-)

Capture 7
Capture 8

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

Ok this is good news, the error in thread 3 should be fixed by updating the for loop at line 221 with the attached screenshot. I'm almost certain the other error associated with the mic recording has to do with the channel the mic is on, which depends on the OS but I was unable to figure out how to query the channel at the time and just started at 0 and incremented per attempt until it worked.
Fix1

from advanced-keylogger.

vanjusa avatar vanjusa commented on June 2, 2024

Also Pillow needs to be 9.3.0 my bad. If those three packages are updated the installation will be successful:

Pillow==9.3.0 scipy==1.9.3 pywin32==305

After this upgrade all ended with a complete mess.

Capture 9

Capture 10

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

Your pip is not even up to date, thats why

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

It can only install packages were available at that time, its pip install --upgrade pip to update pip

from advanced-keylogger.

vanjusa avatar vanjusa commented on June 2, 2024

It can only install packages were available at that time, its pip install --upgrade pip to update pip

Capture 11
Capture 12

Capture 10

Capture 13

from advanced-keylogger.

vanjusa avatar vanjusa commented on June 2, 2024

What do you think if I uninstall Python 32-bit and install the 64-bit version of it?

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

Your trying to upgrade the system pip instead of the virtual environment which does not seem to be activated at all, Python avoids installing system packages to avoid various issues. So even when your checking the version your not even looking at the right. It even says on the output that the version of pip needs to be upgraded.

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

Yes I would get a recent version and 64bit if that is your system.

from advanced-keylogger.

vanjusa avatar vanjusa commented on June 2, 2024

Yes I would get a recent version and 64bit if that is your system.

Ok, thanks a lot, I will do that.

from advanced-keylogger.

ngimb64 avatar ngimb64 commented on June 2, 2024

remember when your in a virtual environment, when you execute a command it could very well still be based on the system path. Meaning when you go to update pip it might use the system version of Python instead. The best way to avoid such issues would be to specify an absolute path to the pip in the venv folder or just go in the venv folder with pip and execute upgrades locally from there

from advanced-keylogger.

vanjusa avatar vanjusa commented on June 2, 2024

Ouuu, I don't now about that...thanks...
I have information that Python ver. >3.8.10. can't be
installed on win 7.
Is that right?

from advanced-keylogger.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.