[Python] ImportError: cannot import name 'Memory' from 'praisonaiagents.memory' (unknown...

Discussão em 'Python' iniciado por Stack, Junho 5, 2025.

  1. Stack

    Stack Membro Participativo

    I'm running a Python application (app.py) using the praisonaiagents package, and encountering this error:

    ImportError: cannot import name 'Memory' from 'praisonaiagents.memory' (unknown location)


    What I’ve tried:

    • Reinstalled the package using pip uninstall and pip install
    • Verified the praisonaiagents package is correctly installed
    • Tried renaming the local project folder in case of name collisions
    • Confirmed that there's no local memory.py or praisonaiagents/ folder shadowing the package
    • Checked site-packages and find a memory.py file exists inside the praisonaiagents module

    Source:


    Any help or clue is appreciated. Thank you!

    Continue reading...

Compartilhe esta Página