Skip to content

mpmath package version #2228

Description

@tschimben

Hi,

when following the tutorial for setting up executorch (https://pytorch.org/executorch/stable/getting-started-setup.html) the command

python3 -m examples.portable.scripts.export --model_name="add"

results in an error

AttributeError: module 'mpmath' has no attribute 'rational'.

This is because the actual newest version of the package is 1.4.0. I resolved it by specifically installing version 1.3.0 by running

pip install mpmath==1.3.0.

Activity

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

Metadata

Metadata

Assignees

Labels

actionableItems in the backlog waiting for an appropriate impl/fixmodule: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions