zincware / ZnTrack

Create, visualize, run & benchmark DVC pipelines in Python & Jupyter notebooks.
https://zntrack.readthedocs.io
Apache License 2.0
44 stars 4 forks source link

Add current path when using `from_rev` #806

Open PythonFZ opened 3 weeks ago

PythonFZ commented 3 weeks ago

I found that when using zndraw node.atoms --remote . when using src.Node as the node, I get an ModuleNotFoundError: No module named 'src'. The package might be available via 'pip install src'

https://github.com/zincware/ZnTrack/blob/d602167de977040b45a7d09526b7bd49e65456f7/zntrack/cli/__init__.py#L84

This was fixable by running export PYTHONPATH="${PYTHONPATH}:<PWD>" before