juancarlospaco / faster-than-requests

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

[Errno 2] No such file or directory: 'nimble' #206

Closed lwinkelm closed 1 year ago

lwinkelm commented 1 year ago

Architecture

x86_64 (Default)

Operating System

Linux

Disk

SSD (Solid)

Memory

16 Gigabytes

CPU Cores

8 CPU Cores

Internet Connection

Wifi (WLAN, Wireless)

What is your web browser?

Firefox/Firefox Fork

Device

Desktop PC

Where are you from?

France

What happened?

Using conda envs

image

When I try to: import faster_than_requests as request

I get the following error:

[Errno 2] No such file or directory: 'nimble'

Standard Output Logs

No response

github-actions[bot] commented 1 year ago

Welcome lwinkelm

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

BTC Bitcoin Network

1Pnf45MgGgY32X4KDNJbutnpx96E4FxqVi

Lightning Network

juancarlospaco@bitrefill.me

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 ```
Binance [https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3](https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3 "Send via Binance Pay")
AveragePythonEnjoyer29 commented 1 year ago

Same issue, running Pop!_OS Uname output: Linux pop-os 6.0.6-76060006-generic #202210290932~1667401208~22.04~d2df702 SMP PREEMPT_DYNAMIC Wed N x86_64 x86_64 x86_64 GNU/Linux Python version: Python 3.10.6

scripthon commented 1 year ago

same issue, on debian 11

coder@railway:~/project$ python3
Python 3.9.2 (default, Feb 28 2021, 17:03:44) 
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import faster_than_requests
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/coder/.local/lib/python3.9/site-packages/faster_than_requests/__init__.py", line 7, in <module>
    from . faster_than_requests import *
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 982, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 925, in _find_spec
  File "/home/coder/.local/lib/python3.9/site-packages/nimporter.py", line 1269, in find_spec
    return Nimporter.import_nim_code(fullname, path, library=False)
  File "/home/coder/.local/lib/python3.9/site-packages/nimporter.py", line 944, in import_nim_code
    NimCompiler.compile_nim_code(
  File "/home/coder/.local/lib/python3.9/site-packages/nimporter.py", line 696, in compile_nim_code
    cls.ensure_nimpy()
  File "/home/coder/.local/lib/python3.9/site-packages/nimporter.py", line 294, in ensure_nimpy
    out, errors, _, _ = cls.invoke_compiler('nimble path nimpy'.split())
  File "/home/coder/.local/lib/python3.9/site-packages/nimporter.py", line 269, in invoke_compiler
    process = subprocess.run(
  File "/usr/lib/python3.9/subprocess.py", line 505, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'nimble'
>>> 
bibi21000 commented 1 year ago

hi Seem you need to install nim programming language : https://nim-lang.org/install.html hth

github-actions[bot] commented 1 year ago

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.

github-actions[bot] commented 1 year ago

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