Skip to content

Unable to get quadratic.py running #4

@zotmeister

Description

@zotmeister

I was able to install cyres after making the changes in #1 . However I am unable to get the example quadratic.py running on my Ubuntu. I ran "python setup.py install" under ../examples/quadratic and I see the package:
/usr/local/lib/python2.7/dist-packages/cost_functions
However I get the following in python:

from cost_functions.wrappers import SimpleCostFunction
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named cost_functions.wrappers

Is there any example as to how I can get a simple example up and running?
Thank you.

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