Skip to content

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

Open
@dephiros

Description

@dephiros

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdarwinmacOS systemslinkerRelated to linking (ld, ld.so or dyld)pythonSupport for Python, pip, Poetry, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions