Skip to content

ModuleNotFoundError: No module named 'IP2Proxy' #1

@ElCep

Description

@ElCep

I can't load something in py from R

ip2proxy::open("IP2LOCATION-LITE-DB3.BIN/IP2LOCATION-LITE-DB3.BIN")
Erreur dans py_run_string_impl(code, local, convert) : 
  ModuleNotFoundError: No module named 'IP2Proxy'
Run `reticulate::py_last_error()` for details.
> reticulate::py_last_error()

── Python Exception Message ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/delaye/R/x86_64-redhat-linux-gnu-library/4.3/reticulate/python/rpytools/loader.py", line 119, in _find_and_load_hook
    return _run_hook(name, _hook)
  File "/home/delaye/R/x86_64-redhat-linux-gnu-library/4.3/reticulate/python/rpytools/loader.py", line 93, in _run_hook
    module = hook()
  File "/home/delaye/R/x86_64-redhat-linux-gnu-library/4.3/reticulate/python/rpytools/loader.py", line 117, in _hook
    return _find_and_load(name, import_)
ModuleNotFoundError: No module named 'IP2Proxy'

── R Traceback ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    ▆
 1. └─ip2proxy::open("IP2LOCATION-LITE-DB3.BIN/IP2LOCATION-LITE-DB3.BIN")
 2.   └─reticulate::py_run_string("import IP2Proxy")
 3.     └─reticulate:::py_run_string_impl(code, local, convert)

I have installed successfully IP2Proxy from pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions