AttributeError: module 'pysr' has no attribute 'Problem'
MilesCranmer opened this issue · 1 comments
MilesCranmer commented
Discussed in #665
Originally posted by wkharold July 10, 2024
I'm just getting started with PySR. Walking through the Toy Examples with Code. When I do
from pysr import *
I get the error in the title:
AttributeError: module 'pysr' has no attribute 'Problem'
I am running IPython in an Apptainer container built from the continuumio/miniconda3
Docker image.
When I switch to
import pysr
and preface things with pysr.
as required everything works as expected.
MilesCranmer commented