Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Clever_Anjos
Support
Support

TypeError: copytree() got an unexpected keyword argument 'dirs_exist_ok' while installing Data Movement ai-local-agent

If you get a message like below while installing the  ai-local-agent on your data movement engine much probably you have an old Python version.
Traceback (most recent call last):
File "./install", line 256, in <module>
exec(install['code'])
File "<string>", line 35, in <module>
TypeError: copytree() got an unexpected keyword argument 'dirs_exist_ok'

 

Sometimes you have the correct version (3.12+) but the python3 command is linked to an older version.
the command below saved my time

sudo alternatives --set python3 /usr/bin/python3.12

 

Labels (1)
1 Reply
F_B
Specialist III
Specialist III

This is the answer to a question I haven't asked yet, thank you!