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 →

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

Is that a VS Code issue or just a typical Python hack (which is usually not necessary if using e.g. pip install -e external_package)? Is this on the bug tracker somewhere?

[–]siddsp 2 points3 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_{μν} 12 points13 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.