Skip to content

autonml_main "File not Found" in example notebook

This is cell 3 of the autonml example notebook from here: image I have modified the input and output paths for my system accordingly.

I am running into the following issue.

FileNotFoundError: [Errno 2] No such file or directory: 'autonml_main'
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
Input In [11], in <cell line: 5>()
      1 aml = AutonML(input_dir='/mnt/c/Users/bhshah/Documents/datasets/seed_datasets_current/185_baseball_MIN_METADATA',
      2              output_dir='/home/bhshah/cmu-ta2/output',
      3              timeout=2, numcpus=8)
----> 5 aml.run()

File ~/.local/lib/python3.8/site-packages/autonml/autonml_api.py:22, in AutonML.run(self)
     21 def run(self):
---> 22     proc = subprocess.Popen(['autonml_main', self.input_dir, 
     23                             self.output_dir, self.timeout, self.numcpus,
     24                             self.problemPath], stdout=subprocess.PIPE,
     25                             stderr=subprocess.PIPE)
     27     output, error = proc.communicate()
     28     if proc.returncode != 0:

I believe it is trying to start the autonml_main process, but it seems that application is not accessible from this Popen call.

Edited by Bhavin Shah