Sage-Bionetworks/synapsePythonClient

import error

fizwit opened this issue · 2 comments

Bug Report

Operating system

Ubuntu 14.04/18.04

Client version

Python 3.7.4
synapseclient 1.9.3

Description of the problem

>>> import synapseclient
ImportError: cannot import name 'csv' from 'backports' (/app/easybuild/software/Python/3.7.4-foss-2016b-fh1/lib/python3.7/site-packages/backports/__init__.py)

Why use backports with Python 3.x ?

It's odd that the required dependency did not get automatically installed:
pip install backports.csv
We're using backports because version 1.9.3 still has Python 2 support.
We will be dropping Python 2 support and removing backports for the next version (2.0.0).