Skip to content

Missing library for uniswap_python package (dotenv) #225

@MatthiasDE

Description

@MatthiasDE

Describe the bug
Fresh install on new venv with "pip install uniswap-python" and usage of unipy fails with error

To Reproduce
python -m venv .\venv
pip install uniswap-python
unipy
unipy price WETH DAI

Error:
Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "H:\Projects\uniswap-test.python\venv\Scripts\unipy.exe_main
.py", line 4, in
File "H:\Projects\uniswap-test.python\venv\lib\site-packages\uniswap_init
.py", line 3, in
from .cli import main
File "H:\Projects\uniswap-test.python\venv\lib\site-packages\uniswap\cli.py", line 5, in
from dotenv import load_dotenv
ModuleNotFoundError: No module named 'dotenv'

Expected behavior
no error and usage of unipy without missing dotenv module possible

Additional context
uniswap_python-0.5.4-py3-none-any.whl from pypi

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions