understood, can you tryTask.add_requirements("-e path/to/folder/")
I will try with sys.path.append('../../../../')
` later today and see what happens
Task.add_requirements does not handle it (traceback in the thread). Any suggestions?
Hmm that is a good point maybe we should fix that 🙂
I'm assuming someone already created this module? Or is it part of the repository?
(if it than the assume this executed from the git root)
traceback:Traceback (most recent call last): File "/home/marek/nomagic/monomagic/ml/tiresias/calibrate_and_test.py", line 57, in <module> Task.add_requirements('requirements.txt') File "/home/marek/.virtualenvs/tiresias-3.9/lib/python3.9/site-packages/clearml/backend_interface/task/task.py", line 1976, in add_requirements for req in pkg_resources.parse_requirements(requirements_txt): File "/home/marek/.virtualenvs/tiresias-3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3102, in __init__ super(Requirement, self).__init__(requirement_string) File "/home/marek/.virtualenvs/tiresias-3.9/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 104, in __init__ raise InvalidRequirement( pkg_resources.extern.packaging.requirements.InvalidRequirement: Parse error at "'-e ../..'": Expected W:(0-9A-Za-z)