SpideyZac / OnenotePasswordDigitCracker

Cracks any locked onenote page that is consisted of a multi digit password
MIT License
1 stars 0 forks source link

unable to use normally #1

Open Liu8Can opened 1 week ago

Liu8Can commented 1 week ago

当我clone此项目到本地后无法正常使用。 首先运行 OneNoteDigitCracker.py 报错, 运行 OneNoteDigitCracker.exe报错。 Traceback (most recent call last): File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_multiprocessing.py", line 12, in File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module File "multiprocessing__init__.py", line 16, in File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module File "multiprocessing\context.py", line 6, in File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module File "multiprocessing\reduction.py", line 16, in File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module File "socket.py", line 51, in ModuleNotFoundError: No module named '_socket'


之后先后尝试配置了 requirements.txt;build.bat;install.bat后项目可以正常打开了。 但是执行OneNoteDigitCracker.exe后按照提示在OneNote的“分区保护页面”输入;后继续报错。 image

Liu8Can commented 1 week ago

我的库安装的都没问题,我使用的python版本时python 3.10 PS D:\Documents\Github Project\OnenotePasswordDigitCracker> pip install -r requirements.txt Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Requirement already satisfied: PyAutoGUI==0.9.53 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from -r requirements.txt (line 1)) (0.9.53) Requirement already satisfied: keyboard==0.13.5 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from -r requirements.txt (line 2)) (0.13.5) Requirement already satisfied: pyinstaller==5.4.1 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from -r requirements.txt (line 3)) (5.4.1) Requirement already satisfied: pymsgbox in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (1.0.9) Requirement already satisfied: PyTweening>=1.0.1 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (1.2.0) Requirement already satisfied: pyscreeze>=0.1.21 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (1.0.1) Requirement already satisfied: pygetwindow>=0.0.5 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (0.0.9) Requirement already satisfied: mouseinfo in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (0.1.3) Requirement already satisfied: setuptools in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller==5.4.1->-r requirements.txt (line 3)) (63.2.0) Requirement already satisfied: altgraph in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller==5.4.1->-r requirements.txt (line 3)) (0.17.4) Requirement already satisfied: pyinstaller-hooks-contrib>=2021.4 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller==5.4.1->-r requirements.txt (line 3)) (2024.10) Requirement already satisfied: pefile>=2022.5.30 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller==5.4.1->-r requirements.txt (line 3)) (2024.8.26) Requirement already satisfied: pywin32-ctypes>=0.2.0 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller==5.4.1->-r requirements.txt (line 3)) (0.2.3) Requirement already satisfied: pyrect in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pygetwindow>=0.0.5->PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (0.2.0) Requirement already satisfied: packaging>=22.0 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller-hooks-contrib>=2021.4->pyinstaller==5.4.1->-r requirements.txt (line 3)) (24.2) Requirement already satisfied: Pillow>=9.2.0 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyscreeze>=0.1.21->PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (11.0.0)
Requirement already satisfied: pyperclip in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from mouseinfo->PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (1.9.0) PS D:\Documents\Github Project\OnenotePasswordDigitCracker> pip install pyscreeze pillow Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Requirement already satisfied: pyscreeze in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (1.0.1) Requirement already satisfied: pillow in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (11.0.0) PS D:\Documents\Github Project\OnenotePasswordDigitCracker>

Liu8Can commented 4 days ago

@SpideyZac, could you please help me see where the problem is? 😄

SpideyZac commented 4 days ago

not sure, i would try running it without building as an exe but the program is very old and probably deprecated

Liu8Can commented 4 days ago

not sure, i would try running it without building as an exe but the program is very old and probably deprecated

OK. Thank you. Let it be.