Skip to content

[Bug] ModuleNotFoundError: No module named 'readline' #502

Closed

Description

@AyushRajgor

Is this a new bug?
Yes. Not found any relevant information on the community or here (github issues)

  • I believe this is a new bug
  • I have searched the existing GitHub issues and Community Forum, and I could not find an existing post for this bug

Describe the bug
ModuleNotFoundError: No module named 'readline'.

Error information

Image

Steps to reproduce the issue locally

  • Install any 7.x version of Pinecone.
  • Error is occurring in both versions 7.0.0 and 7.0.1

Environment

  • OS Version: Windows 11
  • Python version: Python 3.12.9
  • Python SDK version: 7.0.1

Additional context

  • Currently solved with downgrading the pinecone SDK to 6.0.2.
  • I can't install 'readline' directly in Windows. Pip install is not working.

Activity

  1. added
    bug
    on May 23, 2025
  2. added
    status:needs-triage
    on May 23, 2025
  3. jhamon commented on May 27, 2025

    @jhamon
    Collaborator

    I have made a development build 7.0.2.dev1 that I think should resolve the problem, but I don't have quick access to a windows machine for testing. Can you try installing this and let me know if that resolves the problem you're seeing? I want to add some windows checks to our CI testing matrix, but that may take a bit longer so it would be useful to get some quick feedback from you.

  4. AyushRajgor commented on May 27, 2025

    @AyushRajgor
    Author

    Okay, I'll test it out. Thanks for looking.

  5. AyushRajgor commented on May 28, 2025

    @AyushRajgor
    Author

    @jhamon

    7.0.2.dev1 is working. I tested.

    system specs:

    • Python 3.12.9
    • Windows 11
  6. jhamon commented on May 28, 2025

    @jhamon
    Collaborator

    Perfect, thanks. I just shipped the fix in 7.0.2. I also added some installation tests so this sort of thing shouldn't happen again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstatus:needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions