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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Clever_Anjos
Employee
Employee

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 II
Specialist II

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