Skip to content

Auto-GTAP doesn't run when cloned onto new computer #13

@robirahman

Description

@robirahman

I'm trying to run Auto-GTAP on my computer, specifically the productivity-increase-simple example, but can't get it to work. Following the instructions in the readme, I:

  1. cloned the current version of the project (latest commit is 6d7ba90)
  2. set the python interpreter to use Python 3.6
  3. installed PyYAML 4.2b4
  4. set source root to src as shown in Import not finding AutoGTAP #10
  5. set working directory to examples\productivity-increase-simple
  6. ran Main.py

The script raises an error upon running:

Traceback (most recent call last):
  File "C:/Users/robir/PycharmProjects/Auto-GTAP/Main.py", line 5, in <module>
    config = Ag.CreateConfig("config.yaml")
  File "C:\Users\robir\PycharmProjects\Auto-GTAP\src\AutoGTAP\CreateConfig\CreateConfig.py", line 14, in __init__
    with open(yaml_file_location, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'config.yaml'

Process finished with exit code 1

(I see there is a file called config.yaml in examples\productivity-increase-simple; not sure if this is the config file that is not being found?)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions