Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip installed CLI tool not in PATH #904

Open
matthias-Q opened this issue Mar 21, 2024 · 3 comments
Open

Pip installed CLI tool not in PATH #904

matthias-Q opened this issue Mar 21, 2024 · 3 comments

Comments

@matthias-Q
Copy link

Hi,
I want to use nix flakes for a develop environment. The cli tool (dagster) can be installed via pip. I am able to set everything up - and the python library part can be imported correctly. However, the dagster cli command cannot be found. Tab completion however suggest dagster.
I haave pushed by flakes + lockfiles in a repo: https://github.com/matthias-Q/nixgster

Thanks,
Matt

@rupurt
Copy link

rupurt commented Jun 12, 2024

@matthias-Q I worked around a similar issue for other tools. I just manually added the app to the scripts section in pyproject.toml

@matthias-Q
Copy link
Author

Not sure I understand. Can you give me an example? I always thought that in the scripts section, there has to be a <module>.<file>:function defined as a script. Dagster installs multiple cli tools.

@rupurt
Copy link

rupurt commented Jun 13, 2024

Yeah, that's what I've defined. Haven't done it for Dagster though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants