Skip to content

awswrangler import error on python:3.7 dockers #151

@brandonwbrown

Description

@brandonwbrown

on python:3.7-slim, python:3.7 and python:3.8 import awswrangler suddenly starts failing.

pip3 install --no-cache-dir --trusted-host pypi.python.org awswrangler

Behavior:

import awswrangler as wr

Error:

from awswrangler.pandas import Pandas # noqa
File "/usr/local/lib/python3.7/site-packages/awswrangler/pandas.py", line 45, in
class Pandas:
File "/usr/local/lib/python3.7/site-packages/awswrangler/pandas.py", line 273, in Pandas
def _read_csv_once_remote(send_pipe: mp.connection.Connection, session_primitives: "SessionPrimitives",
AttributeError: module 'multiprocessing' has no attribute 'connection'

this works fine with image python:3.6

also posted at: docker-library/python#461

Metadata

Metadata

Assignees

Labels

major releaseWill be addressed in the next major release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions