devbox icon indicating copy to clipboard operation
devbox copied to clipboard

[Package Issue Report]: [Question]: get python311Packages.django python311Packages.ipython working together

Open dephiros opened this issue 1 year ago • 7 comments

Are you requesting a new package or reporting an issue on an existing one? Existing

If reporting an issue on an existing one, what is the name of the package? python311Packages.django python311Packages.ipython

What changes are you requesting? I am trying to test out options 2(explained in the context section below) When installing any python package like django from nix, ipython or regular python interpreter cannot seem to see the package. This makes sense because the package is probably not linked with PYTHON_PATH Nix seems to use withPackages as the solution

Is there a way to do something similar with devbox?

We can also create a plugin but then it will bypass devbox's benefits of being able to install packages from different nixpkgs version

Additional context I am trying to evaluate a few option of adopting nix/devbox for an internal project. Two ways that we are thinking of:

  1. Use devbox to install python. Then continue to use pip/pip-compile to manage package
  2. Use devbox to install python and its related dependencies

(still learning about the nix ecosystems so any feedbacks or recommendations are appreciated)

Really leaning toward options 2 since we can start using things like caching from the nix eco system

dephiros avatar Dec 13 '23 13:12 dephiros