Open Aparna29T opened 4 months ago
@bfirsh @anotherjesse Any update here?
same issue
Hi, @Aparna29T.
Based on the error message you shared, it looks like the python
command run in the GenerateOpenAPISchema
function doesn't have a the Cog Python package installed.
Can you please try running the following command and trying again?
/usr/local/bin/python -m pip install cog
**Error: Error while finding module specification for 'cog.server.http' (ModuleNotFoundError: No module named 'cog')** Not able to use run command inside build section in cog.yaml
Below is my cog yaml.
instead of
tried
If I try to run only cog build -t tagname
Error: Validating model schema... /usr/local/bin/python: Error while finding module specification for 'cog.command.openapi_schema' (ModuleNotFoundError: No module named 'cog')
Is RUN command not supported? If so how I can install below commands in cog.yaml