s3path
s3path copied to clipboard
ImportError: cannot import name 'Path' from 's3path'
In the S3 vs boto usage example on downloading a file, the following line from s3path import S3Path, Path gives the error:
ImportError: cannot import name 'Path' from 's3path'
Link to the example: https://github.com/liormizr/s3path/blob/master/docs/comparison.rst
The error happens in Python 3.11 in my case, I haven't tried any other version so far.
Version 0.5.8 deployed with the fix