Gustavo Martin created ARROW-8832:
-------------------------------------

             Summary: [Python] AttributeError: module 'pyarrow.fs' has no 
attribute 'S3FileSystem'
                 Key: ARROW-8832
                 URL: https://issues.apache.org/jira/browse/ARROW-8832
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 0.17.0
            Reporter: Gustavo Martin


Documentation declares that pyarrow can work in this way:
{code:python}
from pyarrow import fs
s3 = fs.S3FileSystem(region='eu-west-3')
{code}
Follow link to documentation: 
[https://arrow.apache.org/docs/python/filesystems.html#example]

 

After installing pyarrow with this command:
{noformat}
pipenv install pyarrow==0.17.0
{noformat}
And when trying to run a simple python application: 
[https://github.com/gumartinm/MLForFun/tree/master/pyarrow/pandas]

Application ends up with the following error:
{noformat}
AttributeError: module 'pyarrow.fs' has no attribute 'S3FileSystem'{noformat}
 

This line is failing 
[https://github.com/apache/arrow/blob/apache-arrow-0.17.0/python/pyarrow/fs.py#L42]
 because *pyarrow.**_s3fs* does not exist.

 

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to