faster-than-requests
faster-than-requests copied to clipboard
this project is totally broken. A shame as I wanted to use it. [bug]
Architecture
x86_64 (Default)
Operating System
Linux
Disk
SSD (Solid)
Memory
64 Gigabytes
CPU Cores
16 CPU Cores
Internet Connection
Optical Fiber (very fast)
What is your web browser?
Chrome/Chromium
Device
Desktop PC
Where are you from?
United States
What happened?
Nim is breaking the pip install. Tried everything you mention in the Github issues. I don't think I have been able to find one user that has successfully downloaded and used it aside from the contributors. In the issues, all that I see it "a stale close" or you guys asking for contributions. Please advise as the benchmarks you display are really exciting
Standard Output Logs
nimporter.NimCompileException: faster_than_requests.nim.cfg(20, 3) Error: invalid command line option: '--exceptions'
faster_than_requests==21.3.3
Ubuntu=20.04
python = 3.9
Welcome HeeebsInc
- Remember to :star: Star the project on GitHub!.
- Congrats for your first issue!, please provide a minimal code example that reproduces the :bug: Bug!. Reports with full repro code and descriptive detailed information will be fixed faster.
- Please, keep in mind there is ZERO FUNDING for the project!, we have no sponsors, no company behind, no dev team, :heart: Send crypto today to speed up development!:
Bitcoin BTC
BEP20 Binance Smart Chain Network BSC
0xb78c4cf63274bb22f83481986157d234105ac17e
BTC Bitcoin Network
1Pnf45MgGgY32X4KDNJbutnpx96E4FxqVi
Lightning Network
[email protected]
Ethereum ETH Dai DAI Uniswap UNI Axie Infinity AXS Smooth Love Potion SLP
BEP20 Binance Smart Chain Network BSC
0xb78c4cf63274bb22f83481986157d234105ac17e
ERC20 Ethereum Network
0xb78c4cf63274bb22f83481986157d234105ac17e
Tether USDT
BEP20 Binance Smart Chain Network BSC
0xb78c4cf63274bb22f83481986157d234105ac17e
ERC20 Ethereum Network
0xb78c4cf63274bb22f83481986157d234105ac17e
TRC20 Tron Network
TWGft53WgWvH2mnqR8ZUXq1GD8M4gZ4Yfu
Solana SOL
BEP20 Binance Smart Chain Network BSC
0xb78c4cf63274bb22f83481986157d234105ac17e
SOL Solana Network
FKaPSd8kTUpH7Q76d77toy1jjPGpZSxR4xbhQHyCMSGq
Cardano ADA
BEP20 Binance Smart Chain Network BSC
0xb78c4cf63274bb22f83481986157d234105ac17e
ADA Cardano Network
DdzFFzCqrht9Y1r4Yx7ouqG9yJNWeXFt69xavLdaeXdu4cQi2yXgNWagzh52o9k9YRh3ussHnBnDrg7v7W2hSXWXfBhbo2ooUKRFMieM
Sandbox SAND Decentraland MANA
ERC20 Ethereum Network
0xb78c4cf63274bb22f83481986157d234105ac17e
Algorand ALGO
ALGO Algorand Network
WM54DHVZQIQDVTHMPOH6FEZ4U2AU3OBPGAFTHSCYWMFE7ETKCUUOYAW24Q
I would agree with @HeeebsInc since faster_than_requests came up few months back, i tried to use it and putted too much effort but i was not able to even run it till this day.
Windows 10 64-bit Python 3.10.5
Following Error when trying to use the compiled version using nim
import faster_than_requests as requests ImportError: dynamic module does not define module export function (PyInit_faster_than_requests)
And when tried using pip install faster_than_requests
then following error
Traceback (most recent call last):
File "C:\Users\Mani\Desktop\image_scraper.py", line 1, in <module>
import faster_than_requests as requests
File "C:\Users\Mani\AppData\Local\Programs\Python\Python310\lib\site-packages\faster_than_requests\__init__.py", line 7, in <module>
from . faster_than_requests import *
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1002, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 945, in _find_spec
File "C:\Users\Mani\AppData\Local\Programs\Python\Python310\lib\site-packages\nimporter\nimporter.py", line 253, in <lambda>
lambda fullname, path, _: nimport(fullname, path, library=False)
File "C:\Users\Mani\AppData\Local\Programs\Python\Python310\lib\site-packages\nimporter\nimporter.py", line 214, in nimport
ext = ExtLib(module_path, Path(), library)
File "C:\Users\Mani\AppData\Local\Programs\Python\Python310\lib\site-packages\nimporter\lib.py", line 316, in __init__
self.import_namespace = get_import_path(self.relative_path, root)
File "C:\Users\Mani\AppData\Local\Programs\Python\Python310\lib\site-packages\nimporter\lib.py", line 111, in get_import_path
import_prefix = get_import_prefix(module_path.parent, root)
File "C:\Users\Mani\AppData\Local\Programs\Python\Python310\lib\site-packages\nimporter\lib.py", line 104, in get_import_prefix
assert full_path >= root_path, 'Extension path is not within root dir.'
AssertionError: Extension path is not within root dir.
solved guys
you need to use python 3.8 this is my output py -3.8 -m pip install faster-than-requests Collecting faster-than-requests Using cached https://files.pythonhosted.org/packages/f0/9b/f392487c0ddb086aad681a781fbb1da4fcd2761920d20cfae18ecb724e67/faster_than_requests-21.03.03.zip Collecting nimporter (from faster-than-requests) Downloading https://files.pythonhosted.org/packages/96/3c/ded65fcf69a8a487be84f96ab3072bfd4133ec40617ab60421f87c9684f5/nimporter-1.1.0.tar.gz Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Building wheels for collected packages: nimporter Building wheel for nimporter (PEP 517) ... done Created wheel for nimporter: filename=nimporter-1.1.0-cp38-none-any.whl size=24144 sha256=2e5beadf4d9233d1032786bb6e820123e4bff4bae6dc2e087648b1a404e16587 Stored in directory: C:\Users\kamel\AppData\Local\pip\Cache\wheels\0b\27\f1\ae2dddddf2b8afa7efefb45d58caa4c5067cf75b39f1265f55 Successfully built nimporter Installing collected packages: nimporter, faster-than-requests Running setup.py install for faster-than-requests ... done Successfully installed faster-than-requests-21.3.3 nimporter-1.1.0 Worked
This issue is Stale because it has been open for 100 days with no activity. Contribute a fix or comment on the issue, or it will be closed in a few days.
This issue has been marked as Stale and closed due to inactivity after 100 days.
@dev-mani did you find a solution to your problem? i have the same issue