shark20
0
Q:

oserror: invalid cross-device link

Source and destination need to be on the same file system.
As a fix, use the following instead of os.rename:

shutil.move()
0

New to Communities?

Join the community