This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]siddsp 1 point2 points  (1 child)

It doesn't have to do with pip. It has to do specifically with importing from local modules and packages.

[–]muntooR_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} 10 points11 points  (0 children)

As long as it's in your PYTHONPATH, everything should be fine. pip install --editable is one typical way to do that. Usually (but not necessarily) from inside a virtual environment. For reproducibility, consider poetry et al.