Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'cyipopt' has no attribute 'Problem' #276

Open
Nlanglet opened this issue Nov 6, 2024 · 2 comments
Open

module 'cyipopt' has no attribute 'Problem' #276

Nlanglet opened this issue Nov 6, 2024 · 2 comments

Comments

@Nlanglet
Copy link

Nlanglet commented Nov 6, 2024

Hello.
In order to develop a topological optimisation code, I decided to use Fenics, dolphin adjoint and cyipopt. Unfortunately when I try the tutorial I get:

line 73, in
nlp = cyipopt.Problem(
AttributeError: module ‘cyipopt’ has no attribute ‘Problem’.

I'm using an anaconda (anaconda/2021.05) environment and when I do conda list I get :

cyipopt 0.1.9 py37hc1659b7_1000 conda-forge
ipopt 3.12.12 blas_openblash746e5da_1001 [blas_openblas] conda-forge

and all other installed modules. I also use python 3.7.16. Am I doing something wrong ?

I have also tried with miniconda 23.1.0 with cyipopt 1.5.0 and i got the same problem.

Thank you in advance

@moorepants
Copy link
Collaborator

The latest version of cyipopt is 1.5.0, 0.1.9 is no longer supported.

@moorepants
Copy link
Collaborator

If you install 0.1.9, Problem did not exist then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants