CAVEconnectome / MeshParty

Apache License 2.0
35 stars 16 forks source link

ImportError google.resumable_media.requests' #55

Closed dlbrittain closed 5 years ago

dlbrittain commented 5 years ago

Currently there is an import error when doing the following:

from meshparty import trimesh_io

Which returns: >> from meshparty import trimesh_io Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/derrickb/workspace/MeshParty/meshparty/trimesh_io.py", line 14, in <module> import cloudvolume File "/home/derrickb/miniconda3/envs/meshparty/lib/python3.7/site-packages/cloudvolume/__init__.py", line 51, in <module> from .connectionpools import ConnectionPool File "/home/derrickb/miniconda3/envs/meshparty/lib/python3.7/site-packages/cloudvolume/connectionpools.py", line 7, in <module> from google.cloud.storage import Client File "/home/derrickb/miniconda3/envs/meshparty/lib/python3.7/site-packages/google/cloud/storage/__init__.py", line 39, in <module> from google.cloud.storage.blob import Blob File "/home/derrickb/miniconda3/envs/meshparty/lib/python3.7/site-packages/google/cloud/storage/blob.py", line 46, in <module> from google.resumable_media.requests import RawDownload ImportError: cannot import name 'RawDownload' from 'google.resumable_media.requests'

The solution is to change the version of cloud-volume to in requirements.txt from 0.63 to

cloud-volume==0.65.4