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

Cannot Run Minimal Example #1

Open
berkorbay opened this issue Apr 3, 2021 · 2 comments
Open

Cannot Run Minimal Example #1

berkorbay opened this issue Apr 3, 2021 · 2 comments

Comments

@berkorbay
Copy link

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)
@w601sxs
Copy link
Contributor

w601sxs commented Jul 9, 2021

can you change the directory and check again?

@w601sxs
Copy link
Contributor

w601sxs commented Feb 23, 2022

please reopen if changing the directory as suggested didn't work. We've seen some similar issues when the local folder 'faropt' is in conflict with the pip installation...

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