Skip to content

INTRODUCTION-TO-MCP-WITH-SQL-AGENT: No module named 'loguru' #3

@SebaGPT

Description

@SebaGPT

I'm using uv with Python 3.12 and followed the repository's steps to set up the environment and install dependencies. When running mcp_client.py, I get the error No module named 'loguru', even though the library is installed.

Details:
Environment: Python 3.12, managing dependencies with uv.

Steps to Reproduce:
Cloned the repository INTRODUCTION-TO-MCP-WITH-SQL-AGENT.
Set up the environment with uv and installed dependencies.
Ran mcp_client.py.

Issue: Python cannot find the loguru module. I faced the same issue with another example, where another library wasn't recognized either.

What could be causing loguru (and other libraries) to not be recognized? Is this an issue with uv, mcp, the environment setup, or something else? Does anyone have any ideas or solutions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions