Skip to content

cannot run command of piccolo in anaconda env #574

Answered by dantownsend
shahriar350 asked this question in Q&A
Discussion options

You must be logged in to vote

We have this line in setup.py which should make the piccolo CLI available:

entry_points={"console_scripts": ["piccolo = piccolo.main:main"]},

I know that Anaconda uses a different packaging system, so it must be ignoring setup.py. It's something we need to investigate.

You can try this work around instead:

python -m piccolo.main migrations new sql_app --auto

Note how it's piccolo.main.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shahriar350
Comment options

Answer selected by shahriar350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants