Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Missing library for uniswap_python package (dotenv) #225

Copy link
Copy link
Closed
@MatthiasDE

Description

@MatthiasDE
Issue body actions

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 workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.