frida / frida-website

Frida's website
MIT License
83 stars 190 forks source link

Python 3.10 Error #222

Open syvdev opened 2 years ago

syvdev commented 2 years ago

I get this error when loading the new frida with python 3.10

Failed to load the Frida native extension: DLL load failed while importing _frida: The specified module could not be found. Please ensure that the extension was compiled for Python 3.x.


Traceback (most recent call last): File "C:\Users\Seven\AppData\Local\Programs\Python\Python310\Scripts\frida-ps-script.py", line 33, in sys.exit(load_entry_point('frida-tools==10.4.1', 'console_scripts', 'frida-ps')()) File "C:\Users\Seven\AppData\Local\Programs\Python\Python310\lib\site-packages\frida_tools\ps.py", line 17, in main from frida_tools.application import ConsoleApplication File "C:\Users\Seven\AppData\Local\Programs\Python\Python310\lib\site-packages\frida_tools\application.py", line 23, in import frida File "C:\Users\Seven\AppData\Local\Programs\Python\Python310\lib\site-packages\frida__init.py", line 24, in raise ex File "C:\Users\Seven\AppData\Local\Programs\Python\Python310\lib\site-packages\frida\init__.py", line 7, in import _frida ImportError: DLL load failed while importing _frida: The specified module could not be found.

keyiis commented 2 years ago

I have same error. Env: win10,Python 3.10,pip 21.3.1

>frida --version

***
Failed to load the Frida native extension: DLL load failed while importing _frida: 找不到指定的模块。
Please ensure that the extension was compiled for Python 3.x.
***

Traceback (most recent call last):
  File "D:\Program Files\Python\Python310\Scripts\frida-script.py", line 33, in <module>
    sys.exit(load_entry_point('frida-tools==10.4.1', 'console_scripts', 'frida')())
  File "D:\Program Files\Python\Python310\lib\site-packages\frida_tools\repl.py", line 24, in main
    import frida
  File "D:\Program Files\Python\Python310\lib\site-packages\frida\__init__.py", line 24, in <module>
    raise ex
  File "D:\Program Files\Python\Python310\lib\site-packages\frida\__init__.py", line 7, in <module>
    import _frida
ImportError: DLL load failed while importing _frida: 找不到指定的模块。
blackxored commented 2 years ago

It seems like the authors need to figure out what's wrong with 3.10, i installed 3.9 with choco install python3 --version=3.9.9 and the frida command seems to work.

sonwnja commented 2 years ago

I also encountered the same error, and I can only change it to reinstall python3.9 so that the error will not be reported. It's really bullshit

sonwnja commented 2 years ago

I also encountered the same error, and I can only change it to reinstall python3.9 so that the error will not be reported. It's really bullshit