Skip to content

Configuration Issue #89

Description

@Ahmedkdk24

Thanks for giving details about the correct setup in the Readme file. I tried to follow through by installing Poetry, Modal, installing all dependencies with Poetry, creating Modal account and storing all API keys and secrets in the modal account. Then eventually I rant into a string of errors when I tried the "run" commands.

First, when I run "modal deploy --env dev/testing deploy", I get the error: "No such environment 'dev/testing'" As if a "dev"/"testing" files should be existing in to root directory, but not there. I tried to run "model deploy deploy" because "deploy" file is there, but I ran into this error:
"Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions." ...
"Image build for im-sEhE3VohWTdbmRoJweqVWB failed with the exception: ││ task exited with failure, status = exit status: 1"

I downloaded rust, added .cargo\bin to PATH, but still the same error.
I suspect that this is all happening because Poetry has not done its job as it's supposed to clear dependencies issues, but I am not sure.

I would like to kindly get your input on this mess. Thanks

My local environment:
Python 3.11.1 and 3.10 (Both produce the same errors)
VScode, Windows 10-64bit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions