Skip to content

NotImplementedError: Cannot convert hares_start ~ HalfNormal to a tensor variable. #26

Description

@Tiantian-H

Hi everyone, I'm trying to run the example code in "Quickstart with PyMC3 — sunode documentation" but met the error "NotImplementedError: Cannot convert hares_start ~ HalfNormal to a tensor variable." But I can use "DifferentialEquation" in pymc3.ode to solve ODEs with pymc successfully.

I have pymc3.11.4, sunode 0.2.2, theano-py 1.1.2 (rather than theano), aesara 2.2.6 installed on macOS Big Sur11.6. I'm using python 3.9.7. I installed pymc using the command in their official documentation https://github.com/pymc-devs/pymc/wiki/Installation-Guide-(MacOS):
conda create -c conda-forge -n pymc3_env python=3.9 pymc3 theano-pymc mkl mkl-service
conda activate pymc3_en
and then installed sunode in the pymc3_env using
conda config --set channel_priority strict
conda install sunode

I also tried to uninstall aesara and run again, but then I got another error :name "aesara" is not defined.
Could you please provide some suggestions? Thank you a lot!

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions