Hmm that is odd, could it be you are changing the sys.path ?
(What I'm assuming is happening is that it detects the packages in the PYTHONPATH and for some reason the order is different so it finds the "system" package before the "venv" package, hence the incorrect version)
Hmmm, are you running inside pycharm, or similar ?
I'm using pyenv if that could be the issue?
It seems stuck somewhere in the python path... Can you check in runtime what's os.environ['PYTHONPATH']
Yes , the installed packages shows as 0.17.2 and the print is 0.17.5rc6
SmallBluewhale13
And the Task.init registers 0.17.2 , even though it prints (while running the same code from the same venv) 0.17.2 ?
SmallBluewhale13 in your code what are you getting when you print the version:from clearml import __version__ print(__version__)
I'll try uninstalling and see if that clears it up
and you have clearml v0.17.2 installed on the "system" packages level, and 0.17.5rc6 installed inside the pyenv venv ?
Checked and I actually only have 0.17.5rc6 installed in any env. No v0.17.2 in the system packages
I have no idea, that's my question. In the above I assumed that i must have had another version on my system python. But upon checking I don't
ended up updating to the latest release and this has fixed the issue
I'm glad it worked out, thanks SmallBluewhale13 🙂
Thanks for the help, wish i knew what is was but I guess it will be one of those things 🙈