Skip to content

Can't initialize the interpreter: "Python downloads are set to 'manual'" #33

@biofilos

Description

@biofilos

I am trying to follow the docs to test Pythonx. However, when I try to run

Pythonx.uv_init("""
        [project]
        name = "project"
        version = "0.0.0"
        requires-python = "==3.10.*"
        dependencies = [
          "numpy==2.2.2"
        ]
        """)

I get the error

error: No interpreter found for Python ==3.10.* in managed installations

hint: A managed Python download is available for Python ==3.10.*, but Python downloads are set to 'manual', use `uv python install ==3.10.*` to install the required version
** (RuntimeError) fetching Python and dependencies failed, see standard output for details
    (pythonx 0.4.7) lib/pythonx/uv.ex:37: Pythonx.Uv.fetch/3
    (pythonx 0.4.7) lib/pythonx.ex:60: Pythonx.uv_init/2
    iex:2: (file)

I tried using :force and varying the uv version with the same result. Is there something I am missing?

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