OpenAGI icon indicating copy to clipboard operation
OpenAGI copied to clipboard

[Misc] Facing issues while setting up AIOS SDK

Open SJ4949 opened this issue 6 months ago • 0 comments

Anything you want to discuss about aios.

I was really impressed with the idea and wanting to do a hands on trial of this AIOS framework.

I was able to set up AIOS server but my AIOS SDK was failing to install, bellow is the error:

        Using Python 3.10.12 environment at: cerebrum-env
          x Failed to build `aios-agent-sdk @ file:///home/test/Saurabh/AIOS-main/Cerebrum`
          |-> The build backend returned an error
          `-> Call to `hatchling.build.build_editable` failed (exit status: 1)
        
              [stderr]
              Traceback (most recent call last):
                File "<string>", line 11, in <module>
                File "/home/test/.cache/uv/builds-v0/.tmpbdBZh8/lib/python3.10/site-packages/hatchling/build.py", line 83, in build_editable
                  return os.path.basename(next(builder.build(directory=wheel_directory, versions=['editable'])))
                File "/home/test/.cache/uv/builds-v0/.tmpbdBZh8/lib/python3.10/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
                  self.metadata.validate_fields()
                File "/home/test/.cache/uv/builds-v0/.tmpbdBZh8/lib/python3.10/site-packages/hatchling/metadata/core.py", line 266, in validate_fields
                  self.core.validate_fields()
                File "/home/test/.cache/uv/builds-v0/.tmpbdBZh8/lib/python3.10/site-packages/hatchling/metadata/core.py", line 1366, in validate_fields
                  getattr(self, attribute)
                File "/home/test/.cache/uv/builds-v0/.tmpbdBZh8/lib/python3.10/site-packages/hatchling/metadata/core.py", line 700, in license
                  raise OSError(message)
              OSError: License file does not exist: LICENSE
        
              hint: This usually indicates a problem with the package or the build environment.

As per the docs, I am using python 3.10.XX but still I am getting this error. DO we have to get any License? Please help.

SJ4949 avatar Jul 01 '25 03:07 SJ4949