How to run binaries installed within a virtualenv?
When using a virtualenv with a PyCharm project, sometimes I install some dependency into the virtualenv that installs some binaries into the `venv/bin` directory. For instance, Celery does this and you need to run the `celery` program from the virtualenv in order to start the worker.
What's the right way to do this? It doesn't look like either the "Shell Script" or "Python" run configuration types would be appropriate.
Please sign in to leave a comment.
It depends on your needs. You can just run it in the integrated terminal.
Or, you can create a Python run/debug configuration and add addition parameter `-m celery` to run it as a module.
Or, create an external tool which allows you to run any executable with a simple shortcut.