Hacker News new | ask | show | jobs
by thenipper 1232 days ago
Oh interesting... yeah this is exactly what i'm looking to do, well Flask not Django but basically the same thing. Question, were you using pycharm at all? Did you have a good method on having that run a file from within a flox env?
1 comments

The simplest way to get started is to choose the python dependency manager of your choice (could be pip, poetry, etc). You can install this with flox, and then `flox develop` and these dependencies will just be available on your path. You can then launch pycharm from this context, check "which python" in the shell where you ran `flox develop` and add that to your python evaluator in your IDE.

There are more advanced methods to work with python (that will also still work with pycharm, vscode etc) that are discussed in our docs.

Do you think it would be beneficial if we created some guides to configuring common IDE to work with flox environments?

Ah that all makes sense. Also a bit of a d'oh about the which python.

I definitely do think it'd be useful to just have a quick path to using this with a variety of different IDE types.