Skip to content

Cannot Run Minimal Example #1

@berkorbay

Description

@berkorbay

Hi when I tried to run the minimal example

from faropt import FarOpt

I cannot reproduce results and I get the error

Traceback (most recent call last):
  File "/home/ec2-user/environment/faropttest.py", line 1, in <module>
    from faropt import FarOpt
ImportError: cannot import name 'FarOpt' from 'faropt' (unknown location)

When I check I get the affirmation that faropt is installed under ./environment

I tested from Cloud 9 following option 1 in instructions (region is also correct)

Create a cloud 9 instance (choose the m5.2xlarge instance type, and a suitable availability zone in network settings, us-east-1a)
Clone this repo: git clone https://github.com/aws-samples/faropt.git
cd faropt
./setup.sh
Enter y at the prompt (yes)

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