juancarlospaco / faster-than-requests

Faster requests on Python 3
https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e
MIT License
1.1k stars 89 forks source link

DLL load failed error #186

Closed MineSlash closed 2 years ago

MineSlash commented 2 years ago

I installed everything that you mentioned in Readme, but I got this error when I tried to use request: `Traceback (most recent call last): File "C:\Users\MineSlash\AppData\Local\Programs\Python\Python310\lib\site-packages\nimporter.py", line 979, in __validate_spec util.module_from_spec(spec) File "", line 571, in module_from_spec File "", line 1176, in create_module File "", line 241, in _call_with_frames_removed ImportError: DLL load failed while importing faster_than_requests: A megadott modul nem található.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "C:\Users\MineSlash\Desktop\test_request.py", line 1, in import faster_than_requests as requests File "C:\Users\MineSlash\AppData\Local\Programs\Python\Python310\lib\site-packages\faster_than_requests__init.py", line 7, in from . faster_than_requests import * File "", line 1027, in _find_and_load File "", line 1002, in _find_and_load_unlocked File "", line 945, in _find_spec File "C:\Users\MineSlash\AppData\Local\Programs\Python\Python310\lib\site-packages\nimporter.py", line 1269, in find_spec return Nimporter.import_nim_code(fullname, path, library=False) File "C:\Users\MineSlash\AppData\Local\Programs\Python\Python310\lib\site-packages\nimporter.py", line 957, in import_nim_code cls.__validate_spec(spec) File "C:\Users\MineSlash\AppData\Local\Programs\Python\Python310\lib\site-packages\nimporter.py", line 1025, in validate_spec raise NimporterException(error_message) from import_error nimporter.NimporterException: Error importing C:\Users\MineSlash\AppData\Local\Programs\Python\Python310\Lib\site-packages\faster_than_requests__pycache__\faster_than_requests.pyd Error Message:

DLL load failed while importing faster_than_requests: A megadott modul nem található.

Python Version:

3.10.1 (tags/v3.10.1:2cd268a, Dec  6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)]

Nim Version:

Nim Compiler Version 1.6.4 [Windows: amd64]

CC Version:

<No compatible C compiler installed>

Installed CCs:

{'gcc': WindowsPath('C:/Users/MineSlash/.nimble/bin/gcc.EXE')}

Please help improve Nimporter by opening a bug report at: https://github.com/Pebaz/nimporter/issues/new and submit the above information along with your description of the issue.`

I downloaded the faster_than_request.pyd extension and copied into the same directory and I got this error: Traceback (most recent call last): File "C:\Users\MineSlash\Desktop\test_request.py", line 1, in <module> import faster_than_requests as requests ImportError: DLL load failed while importing faster_than_requests: A megadott modul nem található.

github-actions[bot] commented 2 years ago

This issue is Stale because it has been open for 90 days with no activity. Contribute a fix or comment on the issue, or it will be closed in a few days.

github-actions[bot] commented 2 years ago

This issue has been marked as Stale and closed due to inactivity.