GithubHelp home page GithubHelp logo

gdcp's People

Contributors

ctberthiaume avatar ohthetrees avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gdcp's Issues

ssl crash

01/15/2015 03:48:14 PM    INFO       gdcp                      : Uploaded 100.00%.  3202322094 bytes in 33m0.00s (1.58MB/s)
01/15/2015 03:48:14 PM    INFO       gdcp                      : Calculating MD5 checksum for /Old_3TB/Cedar/velvet/100819_Illumina/628HVAAXX_5_1.fastq
01/15/2015 04:29:53 PM    INFO       gdcp                      : MD5 OK.  c2bb21244112fed9aea01824a5f53ef8 (local) == c2bb21244112fed9aea01824a5f53ef8
01/15/2015 04:29:53 PM    INFO       gdcp                      : Uploading /Old_3TB/Cedar/velvet/100819_Illumina/628HVAAXX_5_2.fastq, mimeType=application/octet-stream
Traceback (most recent call last):
  File "/usr/local/bin/gdcp", line 941, in <module>
    main()
  File "/usr/local/bin/gdcp", line 38, in main
    cli()
  File "/usr/local/bin/gdcp", line 832, in cli
    args.func(args)
  File "/usr/local/bin/gdcp", line 897, in cli_upload_file
    not args.no_checksum)
  File "/usr/local/bin/gdcp", line 514, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 514, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 514, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 509, in upload_folder
    drive, onefile, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 374, in upload_file
    status, response = request.next_chunk()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oauth2client/util.py", line 135, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/googleapiclient/http.py", line 801, in next_chunk
    headers=start_headers)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oauth2client/util.py", line 135, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oauth2client/client.py", line 547, in new_request
    redirections, connection_type)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/httplib2/__init__.py", line 1593, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/httplib2/__init__.py", line 1335, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/httplib2/__init__.py", line 1300, in _conn_request
    conn.connect()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/httplib2/__init__.py", line 1021, in connect
    self.disable_ssl_certificate_validation, self.ca_certs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/httplib2/__init__.py", line 80, in _ssl_wrap_socket
    cert_reqs=cert_reqs, ca_certs=ca_certs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 392, in wrap_socket
    ciphers=ciphers)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 148, in __init__
    self.do_handshake()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 310, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol

Exits when ownership transfer fails

gdcp exits with an error when attempting to ownership transfer fails (perhaps due to insufficient permissions). The correct behavior would be to gracefully note the failed transfer and continue.

error downloading google doc

gdcp doesn't know how to download google doc files which should normally be converted to docx, xlsx, etc before download. Here it was trying to download a Google Doc spreadsheet. Google Docs have 0 file size in Google Drive which causes gdcp to crash.

Traceback (most recent call last):
  File "/Users/chrisbee/bin/gdcp", line 912, in <module>
    main()
  File "/Users/chrisbee/bin/gdcp", line 38, in main
    cli()
  File "/Users/chrisbee/bin/gdcp", line 804, in cli
    args.func(args)
  File "/Users/chrisbee/bin/gdcp", line 821, in cli_download_file
    failed = download_by_file_id(args.drive, args.id, not args.no_checksum, args.target)
  File "/Users/chrisbee/bin/gdcp", line 172, in download_by_file_id
    failed = download_file(drive, downfile, checksum=checksum, root=root)
  File "/Users/chrisbee/bin/gdcp", line 190, in download_file
    drive, onefile, checksum=checksum, root=folder_path)
  File "/Users/chrisbee/bin/gdcp", line 195, in download_file
    file_size = int(afile["fileSize"])
  File "/Users/chrisbee/Library/Python/2.7/lib/python/site-packages/pydrive/files.py", line 113, in __getitem__
    raise KeyError(e)
KeyError: KeyError('fileSize',)

Upload error

With gdcp version 0.7.2

Uploading a directory.

velvet.khmer.qc.name.fasta/SA_s13_150m_201505061430/Log
  100.00% 997 0.00MB/s 1.58s MD5...OK
velvet.khmer.qc.name.fasta/SA_s13_150m_201505061430/contigs.fa
  100.00% 132158880 30.17MB/s 4.38s MD5...OK
velvet.khmer.qc.name.fasta/SA_s13_150m_201505061430/stats.txt
  0.00% 0 0.00MB/s 0sTraceback (most recent call last):
  File "/usr/local/bin/gdcp", line 1216, in <module>
    main()
  File "/usr/local/bin/gdcp", line 1213, in main
    cli()
  File "/usr/local/bin/gdcp", line 1157, in cli
    args.func(args)
  File "/usr/local/bin/gdcp", line 1190, in cli_upload
    checksum=not args.no_checksum)
  File "/usr/local/bin/gdcp", line 82, in upload
    f.upload()
  File "/usr/local/bin/gdcp", line 161, in upload
    self.gdcp.upload(paths=allfiles, parent=self.id, checksum=self.check_checksum)
  File "/usr/local/bin/gdcp", line 82, in upload
    f.upload()
  File "/usr/local/bin/gdcp", line 161, in upload
    self.gdcp.upload(paths=allfiles, parent=self.id, checksum=self.check_checksum)
  File "/usr/local/bin/gdcp", line 82, in upload
    f.upload()
  File "/usr/local/bin/gdcp", line 194, in upload
    status, response = request.next_chunk()
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 135, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/googleapiclient/http.py", line 867, in next_chunk
    headers=headers)
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 135, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line 547, in new_request
    redirections, connection_type)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1593, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1335, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1258, in _conn_request
    conn.request(method, request_uri, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 973, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1007, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 969, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 833, in _send_output
    self.send(message_body)
  File "/usr/lib/python2.7/httplib.py", line 803, in send
    datablock = data.read(blocksize)
  File "/usr/local/lib/python2.7/dist-packages/googleapiclient/http.py", line 607, in read
    return self._stream.read(n)
IOError: [Errno 5] Input/output error

Error when installing on Conda env

I tried to install gdcp on conda env python2.7. However, it thrown an error:
/usr/bin/env: ‘python2.7’: Argument list too long

I did steps:

  1. create new env: conda create -n gdcold python=2.7 anaconda
  2. conda activate gdcold
  3. pip install pydrive
  4. pip install backoff
  5. git clone https://github.com/ctberthiaume/gdcp.git
  6. gdcp/gdcp (error)

Please help me to solve it. Thank you very much.

conda create -n gdcold python=2.7 anaconda
Collecting package metadata (repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
current version: 4.8.5
latest version: 4.9.2

Please update conda by running

$ conda update -n base -c defaults conda

Package Plan

environment location: /home/anaconda3/envs/gdcold

added / updated specs:
- anaconda
- python=2.7

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
alabaster-0.7.12           |           py27_0          17 KB
anaconda-2019.10           |           py27_0          11 KB
anaconda-client-1.7.2      |           py27_0         140 KB
anaconda-project-0.8.3     |             py_0         212 KB
asn1crypto-1.0.1           |           py27_0         163 KB
astroid-1.6.5              |           py27_0         402 KB
astropy-2.0.9              |   py27hdd07704_0         6.8 MB
atomicwrites-1.3.0         |           py27_1          13 KB
attrs-19.2.0               |             py_0          39 KB
babel-2.7.0                |             py_0         5.8 MB
backports-1.0              |             py_2         139 KB
backports.functools_lru_cache-1.5|             py_2           9 KB
backports.os-0.1.1         |           py27_0          15 KB
backports.shutil_get_terminal_size-1.0.0|           py27_2           8 KB
backports_abc-0.5          |           py27_0          12 KB
beautifulsoup4-4.8.0       |           py27_0         143 KB
bitarray-1.0.1             |   py27h7b6447c_0          60 KB
bkcharts-0.2               |           py27_0         124 KB
bleach-3.1.0               |           py27_0         228 KB
blosc-1.16.3               |       hd408876_0          82 KB
bokeh-1.3.4                |           py27_0         4.0 MB
boto-2.49.0                |           py27_0         1.4 MB
bottleneck-1.2.1           |   py27h035aef0_1         127 KB
ca-certificates-2019.8.28  |                0         132 KB
cairo-1.14.12              |       h8948797_3         1.3 MB
cdecimal-2.3               |   py27h14c3975_3         141 KB
certifi-2019.9.11          |           py27_0         154 KB
cffi-1.12.3                |   py27h2e261b9_0         218 KB
chardet-3.0.4              |        py27_1003         186 KB
click-7.0                  |           py27_0         116 KB
clyent-1.2.2               |           py27_1          18 KB
colorama-0.4.1             |           py27_0          24 KB
configparser-4.0.2         |           py27_0          42 KB
contextlib2-0.6.0          |             py_0          16 KB
cryptography-2.7           |   py27h1ba5d50_0         602 KB
curl-7.65.3                |       hbc83047_0         141 KB
cycler-0.10.0              |           py27_0          13 KB
cython-0.29.13             |   py27he6710b0_0         2.2 MB
cytoolz-0.10.0             |   py27h7b6447c_0         422 KB
dask-1.2.2                 |             py_0          11 KB
dask-core-1.2.2            |             py_0         539 KB
dbus-1.13.6                |       h746ee38_0         587 KB
decorator-4.4.0            |           py27_1          18 KB
defusedxml-0.6.0           |             py_0          23 KB
distributed-1.28.1         |           py27_0         852 KB
docutils-0.15.2            |           py27_0         742 KB
entrypoints-0.3            |           py27_0          12 KB
enum34-1.1.6               |           py27_1          57 KB
et_xmlfile-1.0.1           |           py27_0          20 KB
expat-2.2.6                |       he6710b0_0         187 KB
fastcache-1.1.0            |   py27h7b6447c_0          31 KB
flask-1.1.1                |             py_0          73 KB
fontconfig-2.13.0          |       h9420a91_0         291 KB
fribidi-1.0.5              |       h7b6447c_0         112 KB
funcsigs-1.0.2             |           py27_0          20 KB
functools32-3.2.3.2        |           py27_1          23 KB
future-0.17.1              |           py27_0         710 KB
futures-3.3.0              |           py27_0          28 KB
get_terminal_size-1.0.0    |       haa9412d_0           3 KB
gevent-1.4.0               |   py27h7b6447c_0         2.5 MB
glib-2.56.2                |       hd408876_0         5.0 MB
gmp-6.1.2                  |       h6c8ec71_1         744 KB
gmpy2-2.0.8                |   py27h10f8cd9_2         168 KB
graphite2-1.3.13           |       h23475e2_0         101 KB
greenlet-0.4.15            |   py27h7b6447c_0          20 KB
grin-1.2.1                 |           py27_4          27 KB
gst-plugins-base-1.14.0    |       hbbd80ab_1         6.3 MB
gstreamer-1.14.0           |       hb453b48_1         3.8 MB
h5py-2.9.0                 |   py27h7918eee_0         1.1 MB
heapdict-1.0.1             |             py_0           9 KB
html5lib-1.0.1             |           py27_0         189 KB
icu-58.2                   |       h9c2bf20_1        22.5 MB
idna-2.8                   |           py27_0         133 KB
imageio-2.6.0              |           py27_0         3.3 MB
imagesize-1.1.0            |           py27_0           9 KB
importlib_metadata-0.23    |           py27_0          43 KB
ipaddress-1.0.22           |           py27_0          32 KB
ipykernel-4.10.0           |           py27_0         145 KB
ipython-5.8.0              |           py27_0         1.0 MB
ipython_genutils-0.2.0     |           py27_0          38 KB
ipywidgets-7.5.1           |             py_0         107 KB
isort-4.3.21               |           py27_0          68 KB
itsdangerous-1.1.0         |           py27_0          26 KB
jbig-2.1                   |       hdba287a_0          41 KB
jedi-0.15.1                |           py27_0         709 KB
jinja2-2.10.3              |             py_0          95 KB
jsonschema-3.0.2           |           py27_0          89 KB
jupyter-1.0.0              |           py27_7           6 KB
jupyter_client-5.3.3       |           py27_1         135 KB
jupyter_console-5.2.0      |           py27_1          35 KB
jupyter_core-4.5.0         |             py_0          48 KB
jupyterlab-0.33.11         |           py27_0        10.0 MB
jupyterlab_launcher-0.11.2 |   py27h28b3542_0          32 KB
kiwisolver-1.1.0           |   py27he6710b0_0          91 KB
krb5-1.16.1                |       h173b8e3_7         1.4 MB
lazy-object-proxy-1.4.2    |   py27h7b6447c_0          30 KB
libarchive-3.3.3           |       h5d8350f_5         1.5 MB
libcurl-7.65.3             |       h20c2e04_0         588 KB
liblief-0.9.0              |       h7725739_2         4.4 MB
libsodium-1.0.16           |       h1bed415_0         302 KB
libssh2-1.8.2              |       h1ba5d50_0         250 KB
libtiff-4.0.10             |       h2733197_2         604 KB
libtool-2.4.6              |       h7b6447c_5         513 KB
libuuid-1.0.3              |       h1bed415_2          16 KB
libxcb-1.13                |       h1bed415_1         502 KB
libxml2-2.9.9              |       hea5a465_1         2.0 MB
libxslt-1.1.33             |       h7d1a2b0_0         577 KB
linecache2-1.0.0           |           py27_0          24 KB
llvmlite-0.29.0            |   py27hd408876_0        17.7 MB
locket-0.2.0               |           py27_1           8 KB
lxml-4.4.1                 |   py27hefd8a0e_0         1.5 MB
lzo-2.10                   |       h49e0be7_2         313 KB
markupsafe-1.1.1           |   py27h7b6447c_0          29 KB
matplotlib-2.2.3           |   py27hb69df0a_0         6.5 MB
mccabe-0.6.1               |           py27_1          13 KB
mistune-0.8.4              |   py27h7b6447c_0          53 KB
mkl-2019.4                 |              243       204.1 MB
mkl-service-2.3.0          |   py27he904b0f_0         205 KB
mkl_fft-1.0.14             |   py27ha843d7b_0         164 KB
mkl_random-1.1.0           |   py27hd6b4f25_0         332 KB
mock-3.0.5                 |           py27_0          46 KB
more-itertools-5.0.0       |           py27_0          86 KB
mpc-1.1.0                  |       h10f8cd9_1          94 KB
mpfr-4.0.1                 |       hdf1c602_3         575 KB
mpmath-1.1.0               |           py27_0         972 KB
msgpack-python-0.6.1       |   py27hfd86e86_1          90 KB
multipledispatch-0.6.0     |           py27_0          21 KB
nbconvert-5.6.0            |           py27_1         491 KB
nbformat-4.4.0             |           py27_0         139 KB
ncurses-6.1                |       he6710b0_1         958 KB
networkx-2.2               |           py27_1         2.0 MB
nltk-3.4.5                 |           py27_0         2.1 MB
nose-1.3.7                 |           py27_2         213 KB
notebook-5.7.8             |           py27_0         7.2 MB
numba-0.45.1               |   py27h962f231_0         3.0 MB
numexpr-2.7.0              |   py27h9e4a6bb_0         194 KB
numpy-1.16.5               |   py27h7e9f1db_0          49 KB
numpy-base-1.16.5          |   py27hde5b4d6_0         4.3 MB
numpydoc-0.9.1             |             py_0          31 KB
olefile-0.46               |           py27_0          48 KB
openpyxl-2.6.3             |             py_0         158 KB
openssl-1.1.1d             |       h7b6447c_2         3.7 MB
packaging-19.2             |             py_0          30 KB
pandas-0.24.2              |   py27he6710b0_0        10.9 MB
pandoc-2.2.3.2             |                0        20.8 MB
pandocfilters-1.4.2        |           py27_1          13 KB
parso-0.5.1                |             py_0          68 KB
partd-1.0.0                |             py_0          19 KB
patchelf-0.9               |       he6710b0_3          71 KB
path.py-11.5.0             |           py27_0          54 KB
pathlib2-2.3.5             |           py27_0          36 KB
patsy-0.5.1                |           py27_0         375 KB
pcre-8.43                  |       he6710b0_0         260 KB
pep8-1.7.1                 |           py27_0          51 KB
pexpect-4.7.0              |           py27_0          80 KB
pickleshare-0.7.5          |           py27_0          12 KB
pillow-6.2.0               |   py27h34e0f95_0         642 KB
pip-19.2.3                 |           py27_0         1.9 MB
pixman-0.38.0              |       h7b6447c_0         618 KB
pkginfo-1.5.0.1            |           py27_0          41 KB
pluggy-0.13.0              |           py27_0          31 KB
ply-3.11                   |           py27_0          79 KB
prometheus_client-0.7.1    |             py_0          42 KB
prompt_toolkit-1.0.15      |           py27_0         333 KB
psutil-5.6.3               |   py27h7b6447c_0         321 KB
ptyprocess-0.6.0           |           py27_0          22 KB
py-1.8.0                   |           py27_0         137 KB
py-lief-0.9.0              |   py27h7725739_2         1.6 MB
pycairo-1.18.1             |   py27h2a1e443_0          76 KB
pycodestyle-2.5.0          |           py27_0          60 KB
pycosat-0.6.3              |   py27h14c3975_0         103 KB
pycparser-2.19             |           py27_0         173 KB
pycrypto-2.6.1             |   py27h14c3975_9         460 KB
pycurl-7.43.0.3            |   py27h1ba5d50_0          69 KB
pyflakes-2.1.1             |           py27_0         100 KB
pygments-2.4.2             |             py_0         664 KB
pylint-1.9.2               |           py27_0         772 KB
pyodbc-4.0.27              |   py27he6710b0_0          72 KB
pyopenssl-19.0.0           |           py27_0          80 KB
pyparsing-2.4.2            |             py_0          61 KB
pyqt-5.9.2                 |   py27h05f1152_2         5.4 MB
pyrsistent-0.15.4          |   py27h7b6447c_0          90 KB
pysocks-1.7.1              |           py27_0          30 KB
pytables-3.5.2             |   py27h71ec239_1         1.4 MB
pytest-4.6.2               |           py27_0         358 KB
python-2.7.16              |       h9bab390_7        12.4 MB
python-dateutil-2.8.0      |           py27_0         279 KB
python-libarchive-c-2.8    |          py27_13          23 KB
pywavelets-1.0.3           |   py27hdd07704_1         4.4 MB
pyyaml-5.1.2               |   py27h7b6447c_0         178 KB
pyzmq-18.1.0               |   py27he6710b0_0         467 KB
qt-5.9.7                   |       h5867ecd_1        85.9 MB
qtawesome-0.6.0            |             py_0         671 KB
qtconsole-4.5.5            |             py_0          94 KB
requests-2.22.0            |           py27_0          89 KB
ripgrep-0.10.0             |       hc07d326_0         1.4 MB
rope-0.14.0                |             py_0         113 KB
ruamel_yaml-0.15.46        |   py27h14c3975_0         241 KB
scandir-1.10.0             |   py27h7b6447c_0          32 KB
scikit-image-0.14.2        |   py27he6710b0_0        24.0 MB
scikit-learn-0.20.3        |   py27hd81dba3_0         5.8 MB
scipy-1.2.1                |   py27h7c811a0_0        17.6 MB
seaborn-0.9.0              |           py27_0         374 KB
send2trash-1.5.0           |           py27_0          16 KB
setuptools-41.4.0          |           py27_0         640 KB
simplegeneric-0.8.1        |           py27_2           9 KB
singledispatch-3.4.0.3     |           py27_0          15 KB
sip-4.19.8                 |   py27hf484d3e_0         291 KB
six-1.12.0                 |           py27_0          22 KB
sortedcollections-1.1.2    |           py27_0          17 KB
sortedcontainers-2.1.0     |           py27_0          44 KB
soupsieve-1.9.3            |           py27_0          59 KB
sphinx-1.8.5               |           py27_0         1.9 MB
sphinxcontrib-1.0          |           py27_1           3 KB
sphinxcontrib-websupport-1.1.2|             py_0          35 KB
spyder-3.3.6               |           py27_0         2.5 MB
spyder-kernels-0.5.2       |           py27_0          69 KB
sqlalchemy-1.3.9           |   py27h7b6447c_0         1.7 MB
sqlite-3.30.0              |       h7b6447c_0         1.9 MB
ssl_match_hostname-3.7.0.1 |           py27_0          13 KB
statsmodels-0.10.1         |   py27hdd07704_0         9.6 MB
subprocess32-3.5.4         |   py27h7b6447c_0          49 KB
sympy-1.4                  |           py27_0         9.9 MB
tbb-2019.4                 |       hfd86e86_0         1.4 MB
tblib-1.4.0                |             py_0          14 KB
terminado-0.8.2            |           py27_0          22 KB
testpath-0.4.2             |           py27_0          91 KB
tornado-5.1.1              |   py27h7b6447c_0         643 KB
tqdm-4.36.1                |             py_0          50 KB
traceback2-1.4.0           |           py27_0          30 KB
traitlets-4.3.3            |           py27_0         132 KB
typing-3.7.4.1             |           py27_0          50 KB
unicodecsv-0.14.1          |           py27_0          24 KB
unittest2-1.1.0            |           py27_0         143 KB
unixodbc-2.3.7             |       h14c3975_0         319 KB
urllib3-1.24.2             |           py27_0         151 KB
wcwidth-0.1.7              |           py27_0          25 KB
webencodings-0.5.1         |           py27_1          19 KB
werkzeug-0.16.0            |             py_0         255 KB
wheel-0.33.6               |           py27_0          40 KB
widgetsnbextension-3.5.1   |           py27_0         1.8 MB
wrapt-1.11.2               |   py27h7b6447c_0          48 KB
wurlitzer-1.0.3            |           py27_0          14 KB
xlrd-1.2.0                 |           py27_0         187 KB
xlsxwriter-1.2.1           |             py_0         106 KB
xlwt-1.3.0                 |           py27_0         160 KB
zeromq-4.3.1               |       he6710b0_3         666 KB
zict-1.0.0                 |             py_0          12 KB
zipp-0.6.0                 |             py_0           9 KB
------------------------------------------------------------
                                       Total:       595.8 MB

The following NEW packages will be INSTALLED:

_libgcc_mutex pkgs/main/linux-64::libgcc_mutex-0.1-main
alabaster pkgs/main/linux-64::alabaster-0.7.12-py27_0
anaconda pkgs/main/linux-64::anaconda-2019.10-py27_0
anaconda-client pkgs/main/linux-64::anaconda-client-1.7.2-py27_0
anaconda-project pkgs/main/noarch::anaconda-project-0.8.3-py_0
asn1crypto pkgs/main/linux-64::asn1crypto-1.0.1-py27_0
astroid pkgs/main/linux-64::astroid-1.6.5-py27_0
astropy pkgs/main/linux-64::astropy-2.0.9-py27hdd07704_0
atomicwrites pkgs/main/linux-64::atomicwrites-1.3.0-py27_1
attrs pkgs/main/noarch::attrs-19.2.0-py_0
babel pkgs/main/noarch::babel-2.7.0-py_0
backports pkgs/main/noarch::backports-1.0-py_2
backports.functoo~ pkgs/main/noarch::backports.functools_lru_cache-1.5-py_2
backports.os pkgs/main/linux-64::backports.os-0.1.1-py27_0
backports.shutil
~ pkgs/main/linux-64::backports.shutil_get_terminal_size-1.0.0-py27_2
backports_abc pkgs/main/linux-64::backports_abc-0.5-py27_0
beautifulsoup4 pkgs/main/linux-64::beautifulsoup4-4.8.0-py27_0
bitarray pkgs/main/linux-64::bitarray-1.0.1-py27h7b6447c_0
bkcharts pkgs/main/linux-64::bkcharts-0.2-py27_0
blas pkgs/main/linux-64::blas-1.0-mkl
bleach pkgs/main/linux-64::bleach-3.1.0-py27_0
blosc pkgs/main/linux-64::blosc-1.16.3-hd408876_0
bokeh pkgs/main/linux-64::bokeh-1.3.4-py27_0
boto pkgs/main/linux-64::boto-2.49.0-py27_0
bottleneck pkgs/main/linux-64::bottleneck-1.2.1-py27h035aef0_1
bzip2 pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0
ca-certificates pkgs/main/linux-64::ca-certificates-2019.8.28-0
cairo pkgs/main/linux-64::cairo-1.14.12-h8948797_3
cdecimal pkgs/main/linux-64::cdecimal-2.3-py27h14c3975_3
certifi pkgs/main/linux-64::certifi-2019.9.11-py27_0
cffi pkgs/main/linux-64::cffi-1.12.3-py27h2e261b9_0
chardet pkgs/main/linux-64::chardet-3.0.4-py27_1003
click pkgs/main/linux-64::click-7.0-py27_0
cloudpickle pkgs/main/noarch::cloudpickle-1.2.2-py_0
clyent pkgs/main/linux-64::clyent-1.2.2-py27_1
colorama pkgs/main/linux-64::colorama-0.4.1-py27_0
configparser pkgs/main/linux-64::configparser-4.0.2-py27_0
contextlib2 pkgs/main/noarch::contextlib2-0.6.0-py_0
cryptography pkgs/main/linux-64::cryptography-2.7-py27h1ba5d50_0
curl pkgs/main/linux-64::curl-7.65.3-hbc83047_0
cycler pkgs/main/linux-64::cycler-0.10.0-py27_0
cython pkgs/main/linux-64::cython-0.29.13-py27he6710b0_0
cytoolz pkgs/main/linux-64::cytoolz-0.10.0-py27h7b6447c_0
dask pkgs/main/noarch::dask-1.2.2-py_0
dask-core pkgs/main/noarch::dask-core-1.2.2-py_0
dbus pkgs/main/linux-64::dbus-1.13.6-h746ee38_0
decorator pkgs/main/linux-64::decorator-4.4.0-py27_1
defusedxml pkgs/main/noarch::defusedxml-0.6.0-py_0
distributed pkgs/main/linux-64::distributed-1.28.1-py27_0
docutils pkgs/main/linux-64::docutils-0.15.2-py27_0
entrypoints pkgs/main/linux-64::entrypoints-0.3-py27_0
enum34 pkgs/main/linux-64::enum34-1.1.6-py27_1
et_xmlfile pkgs/main/linux-64::et_xmlfile-1.0.1-py27_0
expat pkgs/main/linux-64::expat-2.2.6-he6710b0_0
fastcache pkgs/main/linux-64::fastcache-1.1.0-py27h7b6447c_0
filelock pkgs/main/noarch::filelock-3.0.12-py_0
flask pkgs/main/noarch::flask-1.1.1-py_0
fontconfig pkgs/main/linux-64::fontconfig-2.13.0-h9420a91_0
freetype pkgs/main/linux-64::freetype-2.9.1-h8a8886c_1
fribidi pkgs/main/linux-64::fribidi-1.0.5-h7b6447c_0
funcsigs pkgs/main/linux-64::funcsigs-1.0.2-py27_0
functools32 pkgs/main/linux-64::functools32-3.2.3.2-py27_1
future pkgs/main/linux-64::future-0.17.1-py27_0
futures pkgs/main/linux-64::futures-3.3.0-py27_0
get_terminal_size pkgs/main/linux-64::get_terminal_size-1.0.0-haa9412d_0
gevent pkgs/main/linux-64::gevent-1.4.0-py27h7b6447c_0
glib pkgs/main/linux-64::glib-2.56.2-hd408876_0
glob2 pkgs/main/noarch::glob2-0.7-py_0
gmp pkgs/main/linux-64::gmp-6.1.2-h6c8ec71_1
gmpy2 pkgs/main/linux-64::gmpy2-2.0.8-py27h10f8cd9_2
graphite2 pkgs/main/linux-64::graphite2-1.3.13-h23475e2_0
greenlet pkgs/main/linux-64::greenlet-0.4.15-py27h7b6447c_0
grin pkgs/main/linux-64::grin-1.2.1-py27_4
gst-plugins-base pkgs/main/linux-64::gst-plugins-base-1.14.0-hbbd80ab_1
gstreamer pkgs/main/linux-64::gstreamer-1.14.0-hb453b48_1
h5py pkgs/main/linux-64::h5py-2.9.0-py27h7918eee_0
harfbuzz pkgs/main/linux-64::harfbuzz-1.8.8-hffaf4a1_0
hdf5 pkgs/main/linux-64::hdf5-1.10.4-hb1b8bf9_0
heapdict pkgs/main/noarch::heapdict-1.0.1-py_0
html5lib pkgs/main/linux-64::html5lib-1.0.1-py27_0
icu pkgs/main/linux-64::icu-58.2-h9c2bf20_1
idna pkgs/main/linux-64::idna-2.8-py27_0
imageio pkgs/main/linux-64::imageio-2.6.0-py27_0
imagesize pkgs/main/linux-64::imagesize-1.1.0-py27_0
importlib_metadata pkgs/main/linux-64::importlib_metadata-0.23-py27_0
intel-openmp pkgs/main/linux-64::intel-openmp-2019.4-243
ipaddress pkgs/main/linux-64::ipaddress-1.0.22-py27_0
ipykernel pkgs/main/linux-64::ipykernel-4.10.0-py27_0
ipython pkgs/main/linux-64::ipython-5.8.0-py27_0
ipython_genutils pkgs/main/linux-64::ipython_genutils-0.2.0-py27_0
ipywidgets pkgs/main/noarch::ipywidgets-7.5.1-py_0
isort pkgs/main/linux-64::isort-4.3.21-py27_0
itsdangerous pkgs/main/linux-64::itsdangerous-1.1.0-py27_0
jbig pkgs/main/linux-64::jbig-2.1-hdba287a_0
jdcal pkgs/main/noarch::jdcal-1.4.1-py_0
jedi pkgs/main/linux-64::jedi-0.15.1-py27_0
jinja2 pkgs/main/noarch::jinja2-2.10.3-py_0
jpeg pkgs/main/linux-64::jpeg-9b-h024ee3a_2
jsonschema pkgs/main/linux-64::jsonschema-3.0.2-py27_0
jupyter pkgs/main/linux-64::jupyter-1.0.0-py27_7
jupyter_client pkgs/main/linux-64::jupyter_client-5.3.3-py27_1
jupyter_console pkgs/main/linux-64::jupyter_console-5.2.0-py27_1
jupyter_core pkgs/main/noarch::jupyter_core-4.5.0-py_0
jupyterlab pkgs/main/linux-64::jupyterlab-0.33.11-py27_0
jupyterlab_launch~ pkgs/main/linux-64::jupyterlab_launcher-0.11.2-py27h28b3542_0
kiwisolver pkgs/main/linux-64::kiwisolver-1.1.0-py27he6710b0_0
krb5 pkgs/main/linux-64::krb5-1.16.1-h173b8e3_7
lazy-object-proxy pkgs/main/linux-64::lazy-object-proxy-1.4.2-py27h7b6447c_0
libarchive pkgs/main/linux-64::libarchive-3.3.3-h5d8350f_5
libcurl pkgs/main/linux-64::libcurl-7.65.3-h20c2e04_0
libedit pkgs/main/linux-64::libedit-3.1.20181209-hc058e9b_0
libffi pkgs/main/linux-64::libffi-3.2.1-hd88cf55_4
libgcc-ng pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
libgfortran-ng pkgs/main/linux-64::libgfortran-ng-7.3.0-hdf63c60_0
liblief pkgs/main/linux-64::liblief-0.9.0-h7725739_2
libpng pkgs/main/linux-64::libpng-1.6.37-hbc83047_0
libsodium pkgs/main/linux-64::libsodium-1.0.16-h1bed415_0
libssh2 pkgs/main/linux-64::libssh2-1.8.2-h1ba5d50_0
libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-9.1.0-hdf63c60_0
libtiff pkgs/main/linux-64::libtiff-4.0.10-h2733197_2
libtool pkgs/main/linux-64::libtool-2.4.6-h7b6447c_5
libuuid pkgs/main/linux-64::libuuid-1.0.3-h1bed415_2
libxcb pkgs/main/linux-64::libxcb-1.13-h1bed415_1
libxml2 pkgs/main/linux-64::libxml2-2.9.9-hea5a465_1
libxslt pkgs/main/linux-64::libxslt-1.1.33-h7d1a2b0_0
linecache2 pkgs/main/linux-64::linecache2-1.0.0-py27_0
llvmlite pkgs/main/linux-64::llvmlite-0.29.0-py27hd408876_0
locket pkgs/main/linux-64::locket-0.2.0-py27_1
lxml pkgs/main/linux-64::lxml-4.4.1-py27hefd8a0e_0
lz4-c pkgs/main/linux-64::lz4-c-1.8.1.2-h14c3975_0
lzo pkgs/main/linux-64::lzo-2.10-h49e0be7_2
markupsafe pkgs/main/linux-64::markupsafe-1.1.1-py27h7b6447c_0
matplotlib pkgs/main/linux-64::matplotlib-2.2.3-py27hb69df0a_0
mccabe pkgs/main/linux-64::mccabe-0.6.1-py27_1
mistune pkgs/main/linux-64::mistune-0.8.4-py27h7b6447c_0
mkl pkgs/main/linux-64::mkl-2019.4-243
mkl-service pkgs/main/linux-64::mkl-service-2.3.0-py27he904b0f_0
mkl_fft pkgs/main/linux-64::mkl_fft-1.0.14-py27ha843d7b_0
mkl_random pkgs/main/linux-64::mkl_random-1.1.0-py27hd6b4f25_0
mock pkgs/main/linux-64::mock-3.0.5-py27_0
more-itertools pkgs/main/linux-64::more-itertools-5.0.0-py27_0
mpc pkgs/main/linux-64::mpc-1.1.0-h10f8cd9_1
mpfr pkgs/main/linux-64::mpfr-4.0.1-hdf1c602_3
mpmath pkgs/main/linux-64::mpmath-1.1.0-py27_0
msgpack-python pkgs/main/linux-64::msgpack-python-0.6.1-py27hfd86e86_1
multipledispatch pkgs/main/linux-64::multipledispatch-0.6.0-py27_0
nbconvert pkgs/main/linux-64::nbconvert-5.6.0-py27_1
nbformat pkgs/main/linux-64::nbformat-4.4.0-py27_0
ncurses pkgs/main/linux-64::ncurses-6.1-he6710b0_1
networkx pkgs/main/linux-64::networkx-2.2-py27_1
nltk pkgs/main/linux-64::nltk-3.4.5-py27_0
nose pkgs/main/linux-64::nose-1.3.7-py27_2
notebook pkgs/main/linux-64::notebook-5.7.8-py27_0
numba pkgs/main/linux-64::numba-0.45.1-py27h962f231_0
numexpr pkgs/main/linux-64::numexpr-2.7.0-py27h9e4a6bb_0
numpy pkgs/main/linux-64::numpy-1.16.5-py27h7e9f1db_0
numpy-base pkgs/main/linux-64::numpy-base-1.16.5-py27hde5b4d6_0
numpydoc pkgs/main/noarch::numpydoc-0.9.1-py_0
olefile pkgs/main/linux-64::olefile-0.46-py27_0
openpyxl pkgs/main/noarch::openpyxl-2.6.3-py_0
openssl pkgs/main/linux-64::openssl-1.1.1d-h7b6447c_2
packaging pkgs/main/noarch::packaging-19.2-py_0
pandas pkgs/main/linux-64::pandas-0.24.2-py27he6710b0_0
pandoc pkgs/main/linux-64::pandoc-2.2.3.2-0
pandocfilters pkgs/main/linux-64::pandocfilters-1.4.2-py27_1
pango pkgs/main/linux-64::pango-1.42.4-h049681c_0
parso pkgs/main/noarch::parso-0.5.1-py_0
partd pkgs/main/noarch::partd-1.0.0-py_0
patchelf pkgs/main/linux-64::patchelf-0.9-he6710b0_3
path.py pkgs/main/linux-64::path.py-11.5.0-py27_0
pathlib2 pkgs/main/linux-64::pathlib2-2.3.5-py27_0
patsy pkgs/main/linux-64::patsy-0.5.1-py27_0
pcre pkgs/main/linux-64::pcre-8.43-he6710b0_0
pep8 pkgs/main/linux-64::pep8-1.7.1-py27_0
pexpect pkgs/main/linux-64::pexpect-4.7.0-py27_0
pickleshare pkgs/main/linux-64::pickleshare-0.7.5-py27_0
pillow pkgs/main/linux-64::pillow-6.2.0-py27h34e0f95_0
pip pkgs/main/linux-64::pip-19.2.3-py27_0
pixman pkgs/main/linux-64::pixman-0.38.0-h7b6447c_0
pkginfo pkgs/main/linux-64::pkginfo-1.5.0.1-py27_0
pluggy pkgs/main/linux-64::pluggy-0.13.0-py27_0
ply pkgs/main/linux-64::ply-3.11-py27_0
prometheus_client pkgs/main/noarch::prometheus_client-0.7.1-py_0
prompt_toolkit pkgs/main/linux-64::prompt_toolkit-1.0.15-py27_0
psutil pkgs/main/linux-64::psutil-5.6.3-py27h7b6447c_0
ptyprocess pkgs/main/linux-64::ptyprocess-0.6.0-py27_0
py pkgs/main/linux-64::py-1.8.0-py27_0
py-lief pkgs/main/linux-64::py-lief-0.9.0-py27h7725739_2
pycairo pkgs/main/linux-64::pycairo-1.18.1-py27h2a1e443_0
pycodestyle pkgs/main/linux-64::pycodestyle-2.5.0-py27_0
pycosat pkgs/main/linux-64::pycosat-0.6.3-py27h14c3975_0
pycparser pkgs/main/linux-64::pycparser-2.19-py27_0
pycrypto pkgs/main/linux-64::pycrypto-2.6.1-py27h14c3975_9
pycurl pkgs/main/linux-64::pycurl-7.43.0.3-py27h1ba5d50_0
pyflakes pkgs/main/linux-64::pyflakes-2.1.1-py27_0
pygments pkgs/main/noarch::pygments-2.4.2-py_0
pylint pkgs/main/linux-64::pylint-1.9.2-py27_0
pyodbc pkgs/main/linux-64::pyodbc-4.0.27-py27he6710b0_0
pyopenssl pkgs/main/linux-64::pyopenssl-19.0.0-py27_0
pyparsing pkgs/main/noarch::pyparsing-2.4.2-py_0
pyqt pkgs/main/linux-64::pyqt-5.9.2-py27h05f1152_2
pyrsistent pkgs/main/linux-64::pyrsistent-0.15.4-py27h7b6447c_0
pysocks pkgs/main/linux-64::pysocks-1.7.1-py27_0
pytables pkgs/main/linux-64::pytables-3.5.2-py27h71ec239_1
pytest pkgs/main/linux-64::pytest-4.6.2-py27_0
python pkgs/main/linux-64::python-2.7.16-h9bab390_7
python-dateutil pkgs/main/linux-64::python-dateutil-2.8.0-py27_0
python-libarchive~ pkgs/main/linux-64::python-libarchive-c-2.8-py27_13
pytz pkgs/main/noarch::pytz-2019.3-py_0
pywavelets pkgs/main/linux-64::pywavelets-1.0.3-py27hdd07704_1
pyyaml pkgs/main/linux-64::pyyaml-5.1.2-py27h7b6447c_0
pyzmq pkgs/main/linux-64::pyzmq-18.1.0-py27he6710b0_0
qt pkgs/main/linux-64::qt-5.9.7-h5867ecd_1
qtawesome pkgs/main/noarch::qtawesome-0.6.0-py_0
qtconsole pkgs/main/noarch::qtconsole-4.5.5-py_0
qtpy pkgs/main/noarch::qtpy-1.9.0-py_0
readline pkgs/main/linux-64::readline-7.0-h7b6447c_5
requests pkgs/main/linux-64::requests-2.22.0-py27_0
ripgrep pkgs/main/linux-64::ripgrep-0.10.0-hc07d326_0
rope pkgs/main/noarch::rope-0.14.0-py_0
ruamel_yaml pkgs/main/linux-64::ruamel_yaml-0.15.46-py27h14c3975_0
scandir pkgs/main/linux-64::scandir-1.10.0-py27h7b6447c_0
scikit-image pkgs/main/linux-64::scikit-image-0.14.2-py27he6710b0_0
scikit-learn pkgs/main/linux-64::scikit-learn-0.20.3-py27hd81dba3_0
scipy pkgs/main/linux-64::scipy-1.2.1-py27h7c811a0_0
seaborn pkgs/main/linux-64::seaborn-0.9.0-py27_0
send2trash pkgs/main/linux-64::send2trash-1.5.0-py27_0
setuptools pkgs/main/linux-64::setuptools-41.4.0-py27_0
simplegeneric pkgs/main/linux-64::simplegeneric-0.8.1-py27_2
singledispatch pkgs/main/linux-64::singledispatch-3.4.0.3-py27_0
sip pkgs/main/linux-64::sip-4.19.8-py27hf484d3e_0
six pkgs/main/linux-64::six-1.12.0-py27_0
snappy pkgs/main/linux-64::snappy-1.1.7-hbae5bb6_3
snowballstemmer pkgs/main/noarch::snowballstemmer-2.0.0-py_0
sortedcollections pkgs/main/linux-64::sortedcollections-1.1.2-py27_0
sortedcontainers pkgs/main/linux-64::sortedcontainers-2.1.0-py27_0
soupsieve pkgs/main/linux-64::soupsieve-1.9.3-py27_0
sphinx pkgs/main/linux-64::sphinx-1.8.5-py27_0
sphinxcontrib pkgs/main/linux-64::sphinxcontrib-1.0-py27_1
sphinxcontrib-web~ pkgs/main/noarch::sphinxcontrib-websupport-1.1.2-py_0
spyder pkgs/main/linux-64::spyder-3.3.6-py27_0
spyder-kernels pkgs/main/linux-64::spyder-kernels-0.5.2-py27_0
sqlalchemy pkgs/main/linux-64::sqlalchemy-1.3.9-py27h7b6447c_0
sqlite pkgs/main/linux-64::sqlite-3.30.0-h7b6447c_0
ssl_match_hostname pkgs/main/linux-64::ssl_match_hostname-3.7.0.1-py27_0
statsmodels pkgs/main/linux-64::statsmodels-0.10.1-py27hdd07704_0
subprocess32 pkgs/main/linux-64::subprocess32-3.5.4-py27h7b6447c_0
sympy pkgs/main/linux-64::sympy-1.4-py27_0
tbb pkgs/main/linux-64::tbb-2019.4-hfd86e86_0
tblib pkgs/main/noarch::tblib-1.4.0-py_0
terminado pkgs/main/linux-64::terminado-0.8.2-py27_0
testpath pkgs/main/linux-64::testpath-0.4.2-py27_0
tk pkgs/main/linux-64::tk-8.6.8-hbc83047_0
toolz pkgs/main/noarch::toolz-0.10.0-py_0
tornado pkgs/main/linux-64::tornado-5.1.1-py27h7b6447c_0
tqdm pkgs/main/noarch::tqdm-4.36.1-py_0
traceback2 pkgs/main/linux-64::traceback2-1.4.0-py27_0
traitlets pkgs/main/linux-64::traitlets-4.3.3-py27_0
typing pkgs/main/linux-64::typing-3.7.4.1-py27_0
unicodecsv pkgs/main/linux-64::unicodecsv-0.14.1-py27_0
unittest2 pkgs/main/linux-64::unittest2-1.1.0-py27_0
unixodbc pkgs/main/linux-64::unixodbc-2.3.7-h14c3975_0
urllib3 pkgs/main/linux-64::urllib3-1.24.2-py27_0
wcwidth pkgs/main/linux-64::wcwidth-0.1.7-py27_0
webencodings pkgs/main/linux-64::webencodings-0.5.1-py27_1
werkzeug pkgs/main/noarch::werkzeug-0.16.0-py_0
wheel pkgs/main/linux-64::wheel-0.33.6-py27_0
widgetsnbextension pkgs/main/linux-64::widgetsnbextension-3.5.1-py27_0
wrapt pkgs/main/linux-64::wrapt-1.11.2-py27h7b6447c_0
wurlitzer pkgs/main/linux-64::wurlitzer-1.0.3-py27_0
xlrd pkgs/main/linux-64::xlrd-1.2.0-py27_0
xlsxwriter pkgs/main/noarch::xlsxwriter-1.2.1-py_0
xlwt pkgs/main/linux-64::xlwt-1.3.0-py27_0
xz pkgs/main/linux-64::xz-5.2.4-h14c3975_4
yaml pkgs/main/linux-64::yaml-0.1.7-had09818_2
zeromq pkgs/main/linux-64::zeromq-4.3.1-he6710b0_3
zict pkgs/main/noarch::zict-1.0.0-py_0
zipp pkgs/main/noarch::zipp-0.6.0-py_0
zlib pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3
zstd pkgs/main/linux-64::zstd-1.3.7-h0b5b093_0

Proceed ([y]/n)? y

Downloading and Extracting Packages
curl-7.65.3 | 141 KB | ############################################################################# | 100%
ptyprocess-0.6.0 | 22 KB | ############################################################################# | 100%
wrapt-1.11.2 | 48 KB | ############################################################################# | 100%
unixodbc-2.3.7 | 319 KB | ############################################################################# | 100%
anaconda-client-1.7. | 140 KB | ############################################################################# | 100%
spyder-3.3.6 | 2.5 MB | ############################################################################# | 100%
pycodestyle-2.5.0 | 60 KB | ############################################################################# | 100%
libuuid-1.0.3 | 16 KB | ############################################################################# | 100%
pexpect-4.7.0 | 80 KB | ############################################################################# | 100%
nbconvert-5.6.0 | 491 KB | ############################################################################# | 100%
astroid-1.6.5 | 402 KB | ############################################################################# | 100%
pathlib2-2.3.5 | 36 KB | ############################################################################# | 100%
pycrypto-2.6.1 | 460 KB | ############################################################################# | 100%
libxcb-1.13 | 502 KB | ############################################################################# | 100%
simplegeneric-0.8.1 | 9 KB | ############################################################################# | 100%
icu-58.2 | 22.5 MB | ############################################################################# | 100%
ipywidgets-7.5.1 | 107 KB | ############################################################################# | 100%
scikit-learn-0.20.3 | 5.8 MB | ############################################################################# | 100%
llvmlite-0.29.0 | 17.7 MB | ############################################################################# | 100%
mpfr-4.0.1 | 575 KB | ############################################################################# | 100%
bleach-3.1.0 | 228 KB | ############################################################################# | 100%
traitlets-4.3.3 | 132 KB | ############################################################################# | 100%
soupsieve-1.9.3 | 59 KB | ############################################################################# | 100%
statsmodels-0.10.1 | 9.6 MB | ############################################################################# | 100%
libcurl-7.65.3 | 588 KB | ############################################################################# | 100%
jsonschema-3.0.2 | 89 KB | ############################################################################# | 100%
attrs-19.2.0 | 39 KB | ############################################################################# | 100%
imageio-2.6.0 | 3.3 MB | ############################################################################# | 100%
pyodbc-4.0.27 | 72 KB | ############################################################################# | 100%
ssl_match_hostname-3 | 13 KB | ############################################################################# | 100%
libtool-2.4.6 | 513 KB | ############################################################################# | 100%
click-7.0 | 116 KB | ############################################################################# | 100%
pip-19.2.3 | 1.9 MB | ############################################################################# | 100%
dask-1.2.2 | 11 KB | ############################################################################# | 100%
jupyter_console-5.2. | 35 KB | ############################################################################# | 100%
python-libarchive-c- | 23 KB | ############################################################################# | 100%
beautifulsoup4-4.8.0 | 143 KB | ############################################################################# | 100%
ipaddress-1.0.22 | 32 KB | ############################################################################# | 100%
libsodium-1.0.16 | 302 KB | ############################################################################# | 100%
blosc-1.16.3 | 82 KB | ############################################################################# | 100%
sip-4.19.8 | 291 KB | ############################################################################# | 100%
python-dateutil-2.8. | 279 KB | ############################################################################# | 100%
pycairo-1.18.1 | 76 KB | ############################################################################# | 100%
parso-0.5.1 | 68 KB | ############################################################################# | 100%
flask-1.1.1 | 73 KB | ############################################################################# | 100%
expat-2.2.6 | 187 KB | ############################################################################# | 100%
libxml2-2.9.9 | 2.0 MB | ############################################################################# | 100%
gstreamer-1.14.0 | 3.8 MB | ############################################################################# | 100%
webencodings-0.5.1 | 19 KB | ############################################################################# | 100%
greenlet-0.4.15 | 20 KB | ############################################################################# | 100%
idna-2.8 | 133 KB | ############################################################################# | 100%
terminado-0.8.2 | 22 KB | ############################################################################# | 100%
glib-2.56.2 | 5.0 MB | ############################################################################# | 100%
funcsigs-1.0.2 | 20 KB | ############################################################################# | 100%
setuptools-41.4.0 | 640 KB | ############################################################################# | 100%
tblib-1.4.0 | 14 KB | ############################################################################# | 100%
certifi-2019.9.11 | 154 KB | ############################################################################# | 100%
pep8-1.7.1 | 51 KB | ############################################################################# | 100%
bkcharts-0.2 | 124 KB | ############################################################################# | 100%
pandoc-2.2.3.2 | 20.8 MB | ############################################################################# | 100%
anaconda-2019.10 | 11 KB | ############################################################################# | 100%
backports-1.0 | 139 KB | ############################################################################# | 100%
jupyterlab_launcher- | 32 KB | ############################################################################# | 100%
mpc-1.1.0 | 94 KB | ############################################################################# | 100%
markupsafe-1.1.1 | 29 KB | ############################################################################# | 100%
werkzeug-0.16.0 | 255 KB | ############################################################################# | 100%
sqlite-3.30.0 | 1.9 MB | ############################################################################# | 100%
sqlalchemy-1.3.9 | 1.7 MB | ############################################################################# | 100%
xlsxwriter-1.2.1 | 106 KB | ############################################################################# | 100%
xlwt-1.3.0 | 160 KB | ############################################################################# | 100%
qtawesome-0.6.0 | 671 KB | ############################################################################# | 100%
colorama-0.4.1 | 24 KB | ############################################################################# | 100%
pixman-0.38.0 | 618 KB | ############################################################################# | 100%
pkginfo-1.5.0.1 | 41 KB | ############################################################################# | 100%
traceback2-1.4.0 | 30 KB | ############################################################################# | 100%
nltk-3.4.5 | 2.1 MB | ############################################################################# | 100%
bokeh-1.3.4 | 4.0 MB | ############################################################################# | 100%
tornado-5.1.1 | 643 KB | ############################################################################# | 100%
openssl-1.1.1d | 3.7 MB | ############################################################################# | 100%
pandocfilters-1.4.2 | 13 KB | ############################################################################# | 100%
pytables-3.5.2 | 1.4 MB | ############################################################################# | 100%
cdecimal-2.3 | 141 KB | ############################################################################# | 100%
mistune-0.8.4 | 53 KB | ############################################################################# | 100%
gevent-1.4.0 | 2.5 MB | ############################################################################# | 100%
asn1crypto-1.0.1 | 163 KB | ############################################################################# | 100%
atomicwrites-1.3.0 | 13 KB | ############################################################################# | 100%
mpmath-1.1.0 | 972 KB | ############################################################################# | 100%
scandir-1.10.0 | 32 KB | ############################################################################# | 100%
send2trash-1.5.0 | 16 KB | ############################################################################# | 100%
cycler-0.10.0 | 13 KB | ############################################################################# | 100%
sortedcollections-1. | 17 KB | ############################################################################# | 100%
cairo-1.14.12 | 1.3 MB | ############################################################################# | 100%
alabaster-0.7.12 | 17 KB | ############################################################################# | 100%
importlib_metadata-0 | 43 KB | ############################################################################# | 100%
pandas-0.24.2 | 10.9 MB | ############################################################################# | 100%
path.py-11.5.0 | 54 KB | ############################################################################# | 100%
numpy-1.16.5 | 49 KB | ############################################################################# | 100%
singledispatch-3.4.0 | 15 KB | ############################################################################# | 100%
decorator-4.4.0 | 18 KB | ############################################################################# | 100%
configparser-4.0.2 | 42 KB | ############################################################################# | 100%
jedi-0.15.1 | 709 KB | ############################################################################# | 100%
pytest-4.6.2 | 358 KB | ############################################################################# | 100%
pillow-6.2.0 | 642 KB | ############################################################################# | 100%
liblief-0.9.0 | 4.4 MB | ############################################################################# | 100%
pyrsistent-0.15.4 | 90 KB | ############################################################################# | 100%
urllib3-1.24.2 | 151 KB | ############################################################################# | 100%
pycurl-7.43.0.3 | 69 KB | ############################################################################# | 100%
more-itertools-5.0.0 | 86 KB | ############################################################################# | 100%
pcre-8.43 | 260 KB | ############################################################################# | 100%
packaging-19.2 | 30 KB | ############################################################################# | 100%
cryptography-2.7 | 602 KB | ############################################################################# | 100%
ripgrep-0.10.0 | 1.4 MB | ############################################################################# | 100%
bottleneck-1.2.1 | 127 KB | ############################################################################# | 100%
itsdangerous-1.1.0 | 26 KB | ############################################################################# | 100%
typing-3.7.4.1 | 50 KB | ############################################################################# | 100%
mock-3.0.5 | 46 KB | ############################################################################# | 100%
xlrd-1.2.0 | 187 KB | ############################################################################# | 100%
msgpack-python-0.6.1 | 90 KB | ############################################################################# | 100%
openpyxl-2.6.3 | 158 KB | ############################################################################# | 100%
pycparser-2.19 | 173 KB | ############################################################################# | 100%
multipledispatch-0.6 | 21 KB | ############################################################################# | 100%
nbformat-4.4.0 | 139 KB | ############################################################################# | 100%
backports.shutil_get | 8 KB | ############################################################################# | 100%
pycosat-0.6.3 | 103 KB | ############################################################################# | 100%
dbus-1.13.6 | 587 KB | ############################################################################# | 100%
boto-2.49.0 | 1.4 MB | ############################################################################# | 100%
html5lib-1.0.1 | 189 KB | ############################################################################# | 100%
numpy-base-1.16.5 | 4.3 MB | ############################################################################# | 100%
py-1.8.0 | 137 KB | ############################################################################# | 100%
unicodecsv-0.14.1 | 24 KB | ############################################################################# | 100%
gmpy2-2.0.8 | 168 KB | ############################################################################# | 100%
linecache2-1.0.0 | 24 KB | ############################################################################# | 100%
numba-0.45.1 | 3.0 MB | ############################################################################# | 100%
functools32-3.2.3.2 | 23 KB | ############################################################################# | 100%
mkl_random-1.1.0 | 332 KB | ############################################################################# | 100%
numpydoc-0.9.1 | 31 KB | ############################################################################# | 100%
dask-core-1.2.2 | 539 KB | ############################################################################# | 100%
lzo-2.10 | 313 KB | ############################################################################# | 100%
docutils-0.15.2 | 742 KB | ############################################################################# | 100%
libtiff-4.0.10 | 604 KB | ############################################################################# | 100%
pygments-2.4.2 | 664 KB | ############################################################################# | 100%
h5py-2.9.0 | 1.1 MB | ############################################################################# | 100%
pysocks-1.7.1 | 30 KB | ############################################################################# | 100%
jupyter_core-4.5.0 | 48 KB | ############################################################################# | 100%
jupyter_client-5.3.3 | 135 KB | ############################################################################# | 100%
cytoolz-0.10.0 | 422 KB | ############################################################################# | 100%
olefile-0.46 | 48 KB | ############################################################################# | 100%
pywavelets-1.0.3 | 4.4 MB | ############################################################################# | 100%
mkl-2019.4 | 204.1 MB | ############################################################################# | 100%
wcwidth-0.1.7 | 25 KB | ############################################################################# | 100%
patsy-0.5.1 | 375 KB | ############################################################################# | 100%
ply-3.11 | 79 KB | ############################################################################# | 100%
babel-2.7.0 | 5.8 MB | ############################################################################# | 100%
gmp-6.1.2 | 744 KB | ############################################################################# | 100%
six-1.12.0 | 22 KB | ############################################################################# | 100%
isort-4.3.21 | 68 KB | ############################################################################# | 100%
scipy-1.2.1 | 17.6 MB | ############################################################################# | 100%
future-0.17.1 | 710 KB | ############################################################################# | 100%
contextlib2-0.6.0 | 16 KB | ############################################################################# | 100%
pyopenssl-19.0.0 | 80 KB | ############################################################################# | 100%
heapdict-1.0.1 | 9 KB | ############################################################################# | 100%
cython-0.29.13 | 2.2 MB | ############################################################################# | 100%
rope-0.14.0 | 113 KB | ############################################################################# | 100%
widgetsnbextension-3 | 1.8 MB | ############################################################################# | 100%
distributed-1.28.1 | 852 KB | ############################################################################# | 100%
libarchive-3.3.3 | 1.5 MB | ############################################################################# | 100%
ipykernel-4.10.0 | 145 KB | ############################################################################# | 100%
pyparsing-2.4.2 | 61 KB | ############################################################################# | 100%
grin-1.2.1 | 27 KB | ############################################################################# | 100%
pyqt-5.9.2 | 5.4 MB | ############################################################################# | 100%
jbig-2.1 | 41 KB | ############################################################################# | 100%
libssh2-1.8.2 | 250 KB | ############################################################################# | 100%
fastcache-1.1.0 | 31 KB | ############################################################################# | 100%
imagesize-1.1.0 | 9 KB | ############################################################################# | 100%
py-lief-0.9.0 | 1.6 MB | ############################################################################# | 100%
backports.functools_ | 9 KB | ############################################################################# | 100%
psutil-5.6.3 | 321 KB | ############################################################################# | 100%
entrypoints-0.3 | 12 KB | ############################################################################# | 100%
futures-3.3.0 | 28 KB | ############################################################################# | 100%
ruamel_yaml-0.15.46 | 241 KB | ############################################################################# | 100%
sortedcontainers-2.1 | 44 KB | ############################################################################# | 100%
sphinxcontrib-1.0 | 3 KB | ############################################################################# | 100%
requests-2.22.0 | 89 KB | ############################################################################# | 100%
backports.os-0.1.1 | 15 KB | ############################################################################# | 100%
numexpr-2.7.0 | 194 KB | ############################################################################# | 100%
get_terminal_size-1. | 3 KB | ############################################################################# | 100%
partd-1.0.0 | 19 KB | ############################################################################# | 100%
notebook-5.7.8 | 7.2 MB | ############################################################################# | 100%
spyder-kernels-0.5.2 | 69 KB | ############################################################################# | 100%
fribidi-1.0.5 | 112 KB | ############################################################################# | 100%
lxml-4.4.1 | 1.5 MB | ############################################################################# | 100%
qtconsole-4.5.5 | 94 KB | ############################################################################# | 100%
python-2.7.16 | 12.4 MB | ############################################################################# | 100%
tqdm-4.36.1 | 50 KB | ############################################################################# | 100%
mkl-service-2.3.0 | 205 KB | ############################################################################# | 100%
sphinx-1.8.5 | 1.9 MB | ############################################################################# | 100%
bitarray-1.0.1 | 60 KB | ############################################################################# | 100%
sympy-1.4 | 9.9 MB | ############################################################################# | 100%
libxslt-1.1.33 | 577 KB | ############################################################################# | 100%
mkl_fft-1.0.14 | 164 KB | ############################################################################# | 100%
mccabe-0.6.1 | 13 KB | ############################################################################# | 100%
testpath-0.4.2 | 91 KB | ############################################################################# | 100%
jupyterlab-0.33.11 | 10.0 MB | ############################################################################# | 100%
subprocess32-3.5.4 | 49 KB | ############################################################################# | 100%
seaborn-0.9.0 | 374 KB | ############################################################################# | 100%
graphite2-1.3.13 | 101 KB | ############################################################################# | 100%
wurlitzer-1.0.3 | 14 KB | ############################################################################# | 100%
defusedxml-0.6.0 | 23 KB | ############################################################################# | 100%
enum34-1.1.6 | 57 KB | ############################################################################# | 100%
sphinxcontrib-websup | 35 KB | ############################################################################# | 100%
zipp-0.6.0 | 9 KB | ############################################################################# | 100%
pylint-1.9.2 | 772 KB | ############################################################################# | 100%
wheel-0.33.6 | 40 KB | ############################################################################# | 100%
jupyter-1.0.0 | 6 KB | ############################################################################# | 100%
patchelf-0.9 | 71 KB | ############################################################################# | 100%
backports_abc-0.5 | 12 KB | ############################################################################# | 100%
anaconda-project-0.8 | 212 KB | ############################################################################# | 100%
nose-1.3.7 | 213 KB | ############################################################################# | 100%
clyent-1.2.2 | 18 KB | ############################################################################# | 100%
kiwisolver-1.1.0 | 91 KB | ############################################################################# | 100%
cffi-1.12.3 | 218 KB | ############################################################################# | 100%
prometheus_client-0. | 42 KB | ############################################################################# | 100%
matplotlib-2.2.3 | 6.5 MB | ############################################################################# | 100%
krb5-1.16.1 | 1.4 MB | ############################################################################# | 100%
gst-plugins-base-1.1 | 6.3 MB | ############################################################################# | 100%
zict-1.0.0 | 12 KB | ############################################################################# | 100%
fontconfig-2.13.0 | 291 KB | ############################################################################# | 100%
pyflakes-2.1.1 | 100 KB | ############################################################################# | 100%
prompt_toolkit-1.0.1 | 333 KB | ############################################################################# | 100%
pluggy-0.13.0 | 31 KB | ############################################################################# | 100%
astropy-2.0.9 | 6.8 MB | ############################################################################# | 100%
ca-certificates-2019 | 132 KB | ############################################################################# | 100%
tbb-2019.4 | 1.4 MB | ############################################################################# | 100%
locket-0.2.0 | 8 KB | ############################################################################# | 100%
networkx-2.2 | 2.0 MB | ############################################################################# | 100%
chardet-3.0.4 | 186 KB | ############################################################################# | 100%
unittest2-1.1.0 | 143 KB | ############################################################################# | 100%
pyyaml-5.1.2 | 178 KB | ############################################################################# | 100%
pickleshare-0.7.5 | 12 KB | ############################################################################# | 100%
et_xmlfile-1.0.1 | 20 KB | ############################################################################# | 100%
lazy-object-proxy-1. | 30 KB | ############################################################################# | 100%
pyzmq-18.1.0 | 467 KB | ############################################################################# | 100%
ipython-5.8.0 | 1.0 MB | ############################################################################# | 100%
scikit-image-0.14.2 | 24.0 MB | ############################################################################# | 100%
ncurses-6.1 | 958 KB | ############################################################################# | 100%
jinja2-2.10.3 | 95 KB | ############################################################################# | 100%
zeromq-4.3.1 | 666 KB | ############################################################################# | 100%
qt-5.9.7 | 85.9 MB | ############################################################################# | 100%
ipython_genutils-0.2 | 38 KB | ############################################################################# | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

To activate this environment, use

$ conda activate gdcold

To deactivate an active environment, use

$ conda deactivate

(base) $ conda activate gdcold
(gdcold)$ pip install pydrive
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting pydrive
Downloading https://files.pythonhosted.org/packages/6b/2d/c8e052ba51099faee0bfe71d84f35bb1576e6910483cad46b840a122ca6c/PyDrive-1.3.1-py2-none-any.whl
Collecting oauth2client>=4.0.0 (from pydrive)
Downloading https://files.pythonhosted.org/packages/95/a9/4f25a14d23f0786b64875b91784607c2277eff25d48f915e39ff0cff505a/oauth2client-4.1.3-py2.py3-none-any.whl (98kB)
|████████████████████████████████| 102kB 10.6MB/s
Requirement already satisfied: PyYAML>=3.0 in ./anaconda3/envs/gdcold/lib/python2.7/site-packages (from pydrive) (5.1.2)
Collecting google-api-python-client>=1.2 (from pydrive)
Downloading https://files.pythonhosted.org/packages/83/fc/98045b8c5e0ba12929d423e9ff6b742951bb846707539b18f19b27c6ddc3/google_api_python_client-1.12.8-py2.py3-none-any.whl (61kB)
|████████████████████████████████| 71kB 20.9MB/s
Requirement already satisfied: six>=1.6.1 in ./.local/lib/python2.7/site-packages (from oauth2client>=4.0.0->pydrive) (1.14.0)
Collecting rsa>=3.1.4 (from oauth2client>=4.0.0->pydrive)
Downloading https://files.pythonhosted.org/packages/26/f8/8127fdda0294f044121d20aac7785feb810e159098447967a6103dedfb96/rsa-4.5-py2.py3-none-any.whl
Collecting httplib2>=0.9.1 (from oauth2client>=4.0.0->pydrive)
Downloading https://files.pythonhosted.org/packages/98/3f/0769a851fbb0ecc458260055da67d550d3015ebe6b8b861c79ad00147bb9/httplib2-0.18.1.tar.gz (262kB)
|████████████████████████████████| 266kB 11.7MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting pyasn1>=0.1.7 (from oauth2client>=4.0.0->pydrive)
Downloading https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl (77kB)
|████████████████████████████████| 81kB 24.5MB/s
Collecting pyasn1-modules>=0.0.5 (from oauth2client>=4.0.0->pydrive)
Downloading https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl (155kB)
|████████████████████████████████| 163kB 13.8MB/s
Collecting google-auth>=1.16.0 (from google-api-python-client>=1.2->pydrive)
Downloading https://files.pythonhosted.org/packages/3e/fd/df1b3a59aca9537a187413651ad63b290d165559150a868a298fa837fe7b/google_auth-1.24.0-py2.py3-none-any.whl (114kB)
|████████████████████████████████| 122kB 14.0MB/s
Collecting uritemplate<4dev,>=3.0.0 (from google-api-python-client>=1.2->pydrive)
Downloading https://files.pythonhosted.org/packages/bf/0c/60d82c077998feb631608dca3cc1fe19ac074e772bf0c24cf409b977b815/uritemplate-3.0.1-py2.py3-none-any.whl
Collecting google-api-core<2dev,>=1.21.0 (from google-api-python-client>=1.2->pydrive)
Downloading https://files.pythonhosted.org/packages/0f/a4/bbaf2e49d2ddeba5f9532682838775cb63f23ca69594294fa9f717b64c8a/google_api_core-1.24.1-py2.py3-none-any.whl (92kB)
|████████████████████████████████| 92kB 19.6MB/s
Collecting google-auth-httplib2>=0.0.3 (from google-api-python-client>=1.2->pydrive)
Downloading https://files.pythonhosted.org/packages/bd/4e/992849016f8b0c27fb604aafd0a7a724db16128906197bd1245c6f18e6a1/google_auth_httplib2-0.0.4-py2.py3-none-any.whl
Collecting cachetools<5.0,>=2.0.0 (from google-auth>=1.16.0->google-api-python-client>=1.2->pydrive)
Downloading https://files.pythonhosted.org/packages/2f/a6/30b0a0bef12283e83e58c1d6e7b5aabc7acfc4110df81a4471655d33e704/cachetools-3.1.1-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=40.3.0 in ./.local/lib/python2.7/site-packages (from google-auth>=1.16.0->google-api-python-client>=1.2->pydrive) (41.0.1)
Collecting googleapis-common-protos<2.0dev,>=1.6.0 (from google-api-core<2dev,>=1.21.0->google-api-python-client>=1.2->pydrive)
Downloading https://files.pythonhosted.org/packages/03/74/3956721ea1eb4bcf7502a311fdaa60b85bd751de4e57d1943afe9b334141/googleapis_common_protos-1.52.0-py2.py3-none-any.whl (100kB)
|████████████████████████████████| 102kB 17.7MB/s
Collecting protobuf>=3.12.0 (from google-api-core<2dev,>=1.21.0->google-api-python-client>=1.2->pydrive)
Downloading https://files.pythonhosted.org/packages/41/c8/649a298f247305010c57ef2fffd8416686fbdb9e8d3754393ab4ee64f8cf/protobuf-3.14.0-cp27-cp27mu-manylinux1_x86_64.whl (1.0MB)
|████████████████████████████████| 1.0MB 15.5MB/s
Requirement already satisfied: futures>=3.2.0; python_version < "3.2" in ./anaconda3/envs/gdcold/lib/python2.7/site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client>=1.2->pydrive) (3.3.0)
Requirement already satisfied: pytz in ./anaconda3/envs/gdcold/lib/python2.7/site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client>=1.2->pydrive) (2019.3)
Requirement already satisfied: requests<3.0.0dev,>=2.18.0 in ./.local/lib/python2.7/site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client>=1.2->pydrive) (2.22.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./.local/lib/python2.7/site-packages (from requests<3.0.0dev,>=2.18.0->google-api-core<2dev,>=1.21.0->google-api-python-client>=1.2->pydrive) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in ./.local/lib/python2.7/site-packages (from requests<3.0.0dev,>=2.18.0->google-api-core<2dev,>=1.21.0->google-api-python-client>=1.2->pydrive) (2.8)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./.local/lib/python2.7/site-packages (from requests<3.0.0dev,>=2.18.0->google-api-core<2dev,>=1.21.0->google-api-python-client>=1.2->pydrive) (1.25.8)
Requirement already satisfied: certifi>=2017.4.17 in ./.local/lib/python2.7/site-packages (from requests<3.0.0dev,>=2.18.0->google-api-core<2dev,>=1.21.0->google-api-python-client>=1.2->pydrive) (2019.11.28)
Building wheels for collected packages: httplib2
Building wheel for httplib2 (PEP 517) ... done
Created wheel for httplib2: filename=httplib2-0.18.1-cp27-none-any.whl size=96687 sha256=90ed0b6ef9de7663f3f2d2939ea263018df06539a051c8444b0c4fc9beb0b0b5
Stored in directory: /tmp/pip-ephem-wheel-cache-il7CiK/wheels/9a/a8/c3/72684de9397a5633e21ba89911174fbc9eb0b1fb9005c6eaf0
Successfully built httplib2
Installing collected packages: pyasn1, rsa, httplib2, pyasn1-modules, oauth2client, cachetools, google-auth, uritemplate, protobuf, googleapis-common-protos, google-api-core, google-auth-httplib2, google-api-python-client, pydrive
Successfully installed cachetools-3.1.1 google-api-core-1.24.1 google-api-python-client-1.12.8 google-auth-1.24.0 google-auth-httplib2-0.0.4 googleapis-common-protos-1.52.0 httplib2-0.18.1 oauth2client-4.1.3 protobuf-3.14.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pydrive-1.3.1 rsa-4.5 uritemplate-3.0.1
(gdcold) $ pip install backoff
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting backoff
Downloading https://files.pythonhosted.org/packages/f0/32/c5dd4f4b0746e9ec05ace2a5045c1fc375ae67ee94355344ad6c7005fd87/backoff-1.10.0-py2.py3-none-any.whl
Installing collected packages: backoff
Successfully installed backoff-1.10.0

(gdcold) $ git clone https://github.com/ctberthiaume/gdcp.git
Cloning into 'gdcp'...
remote: Enumerating objects: 302, done.
remote: Total 302 (delta 0), reused 0 (delta 0), pack-reused 302
Receiving objects: 100% (302/302), 75.68 KiB | 0 bytes/s, done.
Resolving deltas: 100% (190/190), done.
Checking connectivity... done.

(gdcold) $ gdcp/gdcp
/usr/bin/env: ‘python2.7’: Argument list too long

KeyError: 'fileSize'

First experience with gdcp, not that encouraging.

$ gdcp list
My Drive        0AFsJul7qtkQnUk9PVA     folder
My Drive/Backups        0B1sJul7qtkQnaHoyblFLSEFYZE0    folder
My Drive/Backup 0B1sJul7qtkQnUzE0Z3NPMzN2LTA    folder
Traceback (most recent call last):
  File "/home/f/local/bin/gdcp", line 1251, in <module>
    main()
  File "/home/f/local/bin/gdcp", line 1248, in main
    cli()
  File "/home/f/local/bin/gdcp", line 1194, in cli
    args.func(args)
  File "/home/f/local/bin/gdcp", line 1206, in cli_list
    gdcp.list(ids=ids, json_flag=args.json, depth=args.depth)
  File "/home/f/local/bin/gdcp", line 100, in list
    f.list(json_flag=json_flag, depth=depth)
  File "/home/f/local/bin/gdcp", line 394, in list
    c.list(json_flag, depth-1, new_pre)
  File "/home/f/local/bin/gdcp", line 396, in list
    self.print_file(json_flag, predecessors)
  File "/home/f/local/bin/gdcp", line 421, in print_file
    line.append(self.metadata["fileSize"])
KeyError: 'fileSize'

Need to run "gdcp list" not just "gdcp" to see the URL for the autorization code

The setup text says this:

"Once you've created ~/.gdcp/client_secrets.json, run gdcp again to authorize access to your Google Drive. You should see something like ..."

I found that running gdcp without any parameters was not enough, I needed to add "list" before the URL was displayed. (Possibly list was the default operation in the past?)

ImportError: No module named apiclient.errors

Traceback (most recent call last):
File "$HOME/bin/gdcp", line 3, in
import apiclient.errors
ImportError: No module named apiclient.errors

Note: "$HOME/bin/gdcp" is where I place the binary.

This error occurs from time to time, and I haven't found any pattern when it happens yet. Is there any way to solve? Thanks!

Upload failure

Uploading 150GB from AWS to GDrive.

03/26/2015 01:40:26 AM    INFO       gdcp                      : Uploaded 100.00%.  9556358352 bytes in 13m0.00s (11.44MB/s)
03/26/2015 01:40:26 AM    INFO       gdcp                      : Calculating MD5 checksum for sequences/khmer_qc/SA_s13_150m_1_2_201408280810/SA_s13_150m_1_2.fasta.gz.keep.abundfilt
03/26/2015 01:40:56 AM    INFO       gdcp                      : MD5 OK.  f86d7afe5eaaa89b8dca9ad00c2f83cc (local) == f86d7afe5eaaa89b8dca9ad00c2f83cc
03/26/2015 01:40:57 AM    INFO       gdcp                      : Uploading sequences/khmer_qc/SA_s13_150m_1_2_201408280810/SA_s13_150m_1_2.fasta.gz.keep.abundfilt.below, mimeType=application/octet-stream
03/26/2015 01:43:20 AM    INFO       gdcp                      : Uploaded 6.22% (3.67MB/s)
03/26/2015 01:43:51 AM    INFO       gdcp                      : Uploaded 12.43% (6.03MB/s)
03/26/2015 01:44:19 AM    INFO       gdcp                      : Uploaded 18.65% (7.79MB/s)
Traceback (most recent call last):
  File "/usr/local/bin/gdcp", line 1021, in <module>
    main()
  File "/usr/local/bin/gdcp", line 40, in main
    cli()
  File "/usr/local/bin/gdcp", line 912, in cli
    args.func(args)
  File "/usr/local/bin/gdcp", line 977, in cli_upload_file
    not args.no_checksum)
  File "/usr/local/bin/gdcp", line 594, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 594, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 589, in upload_folder
    drive, onefile, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 424, in upload_file
    status, response = request.next_chunk()
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 135, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/googleapiclient/http.py", line 867, in next_chunk
    headers=headers)
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 135, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line 547, in new_request
    redirections, connection_type)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1593, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1335, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1291, in _conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.7/httplib.py", line 1045, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 409, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 373, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine: ''

Access token refresh failed

$ gdcp upload -p 'XXX' path/to/file
Traceback (most recent call last):
  File "/share/apps/bin/gdcp", line 1267, in <module>
    main()
  File "/share/apps/bin/gdcp", line 1264, in main
    cli()
  File "/share/apps/bin/gdcp", line 1209, in cli
    args.drive = create_GoogleDrive()  # add GoogleDrive
  File "/share/apps/bin/gdcp", line 724, in create_GoogleDrive
    return GoogleDrive(authorize())
  File "/share/apps/bin/gdcp", line 719, in authorize
    gauth.CommandLineAuth()
  File "/share/apps/python2.7/lib/python2.7/site-packages/pydrive/auth.py", line 74, in _decorated
    self.Refresh()
  File "/share/apps/python2.7/lib/python2.7/site-packages/pydrive/auth.py", line 376, in Refresh
    raise RefreshError('Access token refresh failed: %s' % error)
pydrive.auth.RefreshError: Access token refresh failed: invalid_grant

Workaround was to set aside credentials.json.

Is there a version of gdcp that will run with Python 2.6.6 ?

Hi there,
I know this is not really an issue, and the doco clearly says that this needs Python 2.7. Unfortunately the shared server I work on is Python 2.6.6 and I have no control over updating it. Are there any versions of gdcp that will run on that version of Python?
Thanks in advance.

Maybe why resumable uploads not working?

Is it possible that resumable uploads aren't working because you never try the resume the upload?

In the following code (around line 438), you increment the resumable_retries, but I don't see that you actually retry anything. I'm probably just not understanding what you are doing, but it would be funny if this was the cause!

                    else:
                        delay = 2 ** resumable_retries
                        log.warning("HTTP error %d, retrying in %ds ..." %
                                    (e.resp.status, delay))
                        time.sleep(delay)
                        resumable_retries += 1

UnboundLocalError: local variable 'output' referenced before assignment

100.00% 535503 0.50MB/s 1.08s MD5...Traceback (most recent call last):
File "/usr/bin/gdcp", line 1331, in
main()
File "/usr/bin/gdcp", line 1328, in main
cli()
File "/usr/bin/gdcp", line 1274, in cli
args.func(args)
File "/usr/bin/gdcp", line 1305, in cli_upload
checksum=not args.no_checksum)
File "/usr/bin/gdcp", line 90, in upload
f.upload()
File "/usr/bin/gdcp", line 286, in upload
self._check_md5()
File "/usr/bin/gdcp", line 656, in _check_md5
output.rstrip())
UnboundLocalError: local variable 'output' referenced before assignment

Doesn't work for me. Errors...

After running gdcp, I get:

File "/home/phoenix/bin/gdcp", line 146
except OSError, IOError:
^
SyntaxError: invalid syntax

After correcting line 146 to:
"except (OSError, IOError) as e:"

I get:
File "/home/phoenix/bin/gdcp", line 434
print json.dumps(self.metadata)
^
SyntaxError: invalid syntax

id parsing

This didn't work:

gdcp download -i https://docs.google.com/a/uw.edu/file/d/0B1vFU7eD_alGaXRiMk1qa1J6UzQ/edit?usp=drivesdk ./

Does work:

gdcp download -i 0B1vFU7eD_alGaXRiMk1qa1J6UzQ ./

missing file crash

gdcp doesn't like it when you delete a file out from underneath it.

This may best be filed under "won't fix".

This time it failed while checking the checksum, but I'm sure it would have been ugly during the upload too.

01/23/2015 08:11:18 PM    INFO       gdcp                      : Uploading /Old_3TB/Cedar/xtandem/7_protein/P1F3D2000.proph_FVAL_4.png, mimeType=image/png
01/23/2015 08:11:19 PM    INFO       gdcp                      : Uploaded 100.00%.  2875 bytes in 1.12s (0.00MB/s)
01/23/2015 08:11:19 PM    INFO       gdcp                      : Calculating MD5 checksum for /Old_3TB/Cedar/xtandem/7_protein/P1F3D2000.proph_FVAL_4.png
Traceback (most recent call last):
  File "/usr/local/bin/gdcp", line 998, in <module>
    main()
  File "/usr/local/bin/gdcp", line 39, in main
    cli()
  File "/usr/local/bin/gdcp", line 889, in cli
    args.func(args)
  File "/usr/local/bin/gdcp", line 954, in cli_upload_file
    not args.no_checksum)
  File "/usr/local/bin/gdcp", line 571, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 571, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 571, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 566, in upload_folder
    drive, onefile, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 537, in upload_file
    if not check_md5(file_path, response["md5Checksum"]):
  File "/usr/local/bin/gdcp", line 634, in check_md5
    output.rstrip())
UnboundLocalError: local variable 'output' referenced before assignment

Trouble installing

OSX 10.10.4. Could there be an undocumented gdcp prerequisite?

cmckay$ which python
/opt/local/bin/python
sudo pip install --upgrade pydrive
[snip]
sudo pip install --upgrade backoff
[snip]
cmckay$ gdcp
Traceback (most recent call last):
  File "/usr/local/bin/gdcp", line 3, in <module>
    import apiclient.errors
ImportError: No module named apiclient.errors

gdcp bombs out with an error when asked to upload a socket

Stack trace below. The file is a socket indeed.

The problem is not so much that gdcp failed on copying a socket (what does it mean to upload a socket to Drive anyways?), but that it stopped an upload that has been going on for days now, without an obvious way to resume.

When uploading to Drive, you have to start assuming that people will want to upload huge disks if they have the quota on Drive, and through very narrow pipes. This means that uploads will extend for days (mine would be over in ~90 days assuming that a full 1Mbit/s upload is saturated, which it is not!)

When upload times measure in months, the odds of something happening that will stop the upload are not negligible. A good upload program must be robust in face of this, and must be defensive faced with the real possibility that a resume would be needed.

It seems to be an easy fix to exclude sockets (e.g. line 172 from the stack trace), but I think that the brittleness of upload may be a more significant problem here.

(...snip...)
srwxrwxrwx 1 root root 1 Mar 13  2011 /mnt/backup/2015-05-05/home/filip/.gdesklets/sockets/%3A1004.0
/mnt/backup/2015-05-05/home/filip/.gdesklets/sockets/
Traceback (most recent call last):
  File "/home/f/local/bin/gdcp", line 1251, in <module>
    def cli_version(args):
  File "/home/f/local/bin/gdcp", line 1248, in main
    log.info("Transferred ownership for %i file(s)" % len(gdcp.files))
  File "/home/f/local/bin/gdcp", line 1194, in cli
    parser_transfer.set_defaults(func=cli_transfer_ownership)
  File "/home/f/local/bin/gdcp", line 1225, in cli_upload
    gdcp.print_failed()
  File "/home/f/local/bin/gdcp", line 86, in upload
    f.upload()
  File "/home/f/local/bin/gdcp", line 172, in upload
    allfiles = [x for x in allfiles if not os.path.islink(x)]
  File "/home/f/local/bin/gdcp", line 86, in upload
    f.upload()
  File "/home/f/local/bin/gdcp", line 172, in upload
    allfiles = [x for x in allfiles if not os.path.islink(x)]
  File "/home/f/local/bin/gdcp", line 86, in upload
    f.upload()
  File "/home/f/local/bin/gdcp", line 172, in upload
    allfiles = [x for x in allfiles if not os.path.islink(x)]
  File "/home/f/local/bin/gdcp", line 86, in upload
    f.upload()
  File "/home/f/local/bin/gdcp", line 172, in upload
    allfiles = [x for x in allfiles if not os.path.islink(x)]
  File "/home/f/local/bin/gdcp", line 86, in upload
    f.upload()
  File "/home/f/local/bin/gdcp", line 172, in upload
    allfiles = [x for x in allfiles if not os.path.islink(x)]
  File "/home/f/local/bin/gdcp", line 86, in upload
    f.upload()
  File "/home/f/local/bin/gdcp", line 175, in upload
    # File
  File "/home/f/local/bin/gdcp", line 583, in _create_media_body
    # Folders are special google apps docs which we consider separately
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 142, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/googleapiclient/http.py", line 426, in __init__
    fd = open(self._filename, 'rb')
IOError: [Errno 6] No such device or address: '/mnt/backup/2015-05-05/home/filip/.gdesklets/sockets/%3A1004.0'

Authentication error

This is what I get after going through the credentials process. Not quite sure what is going on yet. This is on a OS X 10.10 machine with stock python build: Python 2.7.6 (default, Sep 9 2014, 15:04:36)

- Visit https://console.developers.google.com/
- Create a new project and select it
- Under 'APIs' make sure the 'Drive API' is turned on
- Under 'Credentials' create a new OAuth client ID
  Choose 'Installed -> Other' for application type
- Click 'Download JSON' to download the secrets file
- Copy the secrets file to /Users/cedar/.gdcp/client_secrets.json
sagan:~ cedar$ cp /Users/cedar/Downloads/client_secret_801904155613-1dqbs3tls262a173gapslqed3q5h75pk.apps.googleusercontent.com.json /Users/cedar/.gdcp/client_secrets.json
sagan:~ cedar$ gdcp -h
Traceback (most recent call last):
  File "/usr/local/bin/gdcp", line 1021, in <module>
    main()
  File "/usr/local/bin/gdcp", line 39, in main
    do_setup()
  File "/usr/local/bin/gdcp", line 127, in do_setup
    authorize()
  File "/usr/local/bin/gdcp", line 86, in authorize
    gauth.CommandLineAuth()
  File "/Library/Python/2.7/site-packages/pydrive/auth.py", line 69, in _decorated
    code = decoratee(self, *args, **kwargs)
  File "/Library/Python/2.7/site-packages/pydrive/auth.py", line 198, in CommandLineAuth
    authorize_url = self.GetAuthUrl()
  File "/Library/Python/2.7/site-packages/pydrive/auth.py", line 385, in GetAuthUrl
    return self.flow.step1_get_authorize_url()
  File "/Library/Python/2.7/site-packages/oauth2client/util.py", line 135, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/oauth2client/client.py", line 1823, in step1_get_authorize_url
    return _update_query_params(self.auth_uri, query_params)
  File "/Library/Python/2.7/site-packages/oauth2client/client.py", line 431, in _update_query_params
    parts = urllib.parse.urlparse(uri)
AttributeError: 'Module_six_moves_urllib_parse' object has no attribute 'urlparse'

install problem

Haven't had time to troubleshoot at all, so perhaps a problem on my end. This is on a pretty vanilla OS X 10.10 system with system python.

Sagan:Downloads cedar$ pip install pydrive --upgrade
Requirement already up-to-date: pydrive in /Library/Python/2.7/site-packages
Requirement already up-to-date: google-api-python-client>=1.2 in /Library/Python/2.7/site-packages (from pydrive)
Requirement already up-to-date: PyYAML>=3.0 in /Library/Python/2.7/site-packages (from pydrive)
Requirement already up-to-date: httplib2>=0.8 in /Library/Python/2.7/site-packages (from google-api-python-client>=1.2->pydrive)
Requirement already up-to-date: oauth2client>=1.4.6 in /Library/Python/2.7/site-packages (from google-api-python-client>=1.2->pydrive)
Requirement already up-to-date: six>=1.6.1 in /Library/Python/2.7/site-packages (from google-api-python-client>=1.2->pydrive)
Requirement already up-to-date: uritemplate>=0.6 in /Library/Python/2.7/site-packages (from google-api-python-client>=1.2->pydrive)
Requirement already up-to-date: pyasn1==0.1.7 in /Library/Python/2.7/site-packages (from oauth2client>=1.4.6->google-api-python-client>=1.2->pydrive)
Requirement already up-to-date: pyasn1-modules==0.0.5 in /Library/Python/2.7/site-packages (from oauth2client>=1.4.6->google-api-python-client>=1.2->pydrive)
Requirement already up-to-date: rsa==3.1.4 in /Library/Python/2.7/site-packages (from oauth2client>=1.4.6->google-api-python-client>=1.2->pydrive)
Requirement already up-to-date: simplejson>=2.5.0 in /Library/Python/2.7/site-packages (from uritemplate>=0.6->google-api-python-client>=1.2->pydrive)
Sagan:Downloads cedar$ git clone https://github.com/ctberthiaume/gdcp.git
Cloning into 'gdcp'...
remote: Counting objects: 132, done.
remote: Total 132 (delta 0), reused 0 (delta 0), pack-reused 132
Receiving objects: 100% (132/132), 31.82 KiB | 0 bytes/s, done.
Resolving deltas: 100% (80/80), done.
Checking connectivity... done.
Sagan:Downloads cedar$ gdcp/gdcp 
Traceback (most recent call last):
  File "gdcp/gdcp", line 1021, in <module>
    main()
  File "gdcp/gdcp", line 39, in main
    do_setup()
  File "gdcp/gdcp", line 127, in do_setup
    authorize()
  File "gdcp/gdcp", line 86, in authorize
    gauth.CommandLineAuth()
  File "/Library/Python/2.7/site-packages/pydrive/auth.py", line 69, in _decorated
    code = decoratee(self, *args, **kwargs)
  File "/Library/Python/2.7/site-packages/pydrive/auth.py", line 198, in CommandLineAuth
    authorize_url = self.GetAuthUrl()
  File "/Library/Python/2.7/site-packages/pydrive/auth.py", line 385, in GetAuthUrl
    return self.flow.step1_get_authorize_url()
  File "/Library/Python/2.7/site-packages/oauth2client/util.py", line 137, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/oauth2client/client.py", line 1827, in step1_get_authorize_url
    return _update_query_params(self.auth_uri, query_params)
  File "/Library/Python/2.7/site-packages/oauth2client/client.py", line 435, in _update_query_params
    parts = urllib.parse.urlparse(uri)
AttributeError: 'Module_six_moves_urllib_parse' object has no attribute 'urlparse'

ID parsing issue?

This works:

gdcp download -i 0B__fjS2wOAmmSGxpMDhMSWtCaFU ./

This does not:

gdcp download -i 'https://drive.google.com/open?id=0B__fjS2wOAmmSGxpMDhMSWtCaFU' ./
Traceback (most recent call last):
  File "/usr/local/bin/gdcp", line 1227, in <module>
    main()
  File "/usr/local/bin/gdcp", line 1224, in main
    cli()
  File "/usr/local/bin/gdcp", line 1168, in cli
    args.func(args)
  File "/usr/local/bin/gdcp", line 1186, in cli_download
    gdcp.download(ids=ids, checksum=not args.no_checksum, root=args.target)
  File "/usr/local/bin/gdcp", line 87, in download
    f.download()
  File "/usr/local/bin/gdcp", line 271, in download
    self._ensure_google_file_metadata()
  File "/usr/local/bin/gdcp", line 517, in _ensure_google_file_metadata
    response = execute_request(request)
  File "/usr/local/lib/python2.7/dist-packages/backoff.py", line 271, in retry
    ret = target(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/backoff.py", line 271, in retry
    ret = target(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/backoff.py", line 271, in retry
    ret = target(*args, **kwargs)
  File "/usr/local/bin/gdcp", line 760, in execute_request
    return request.execute()
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 137, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/googleapiclient/http.py", line 729, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/drive/v2/files/open%3Fid%3D0B__fjS2wOAmmSGxpMDhMSWtCaFU?alt=json returned "File not found: open?id=0B__fjS2wOAmmSGxpMDhMSWtCaFU">

gdcp on sierra?

Following the install instructions in the README didn't yield a working install.

$ gdcp
Traceback (most recent call last):
  File "/usr/local/bin/gdcp", line 16, in <module>
    from pydrive.auth import GoogleAuth
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pydrive/auth.py", line 15, in <module>
    from oauth2client.file import CredentialsFileSymbolicLinkError
ImportError: cannot import name CredentialsFileSymbolicLinkError
$ pip search oauth2client
courseraoauth2client (0.0.1)  - An OAuth2 client for the Coursera App Platform.
oauth2client (4.0.0)          - OAuth 2.0 client library
  INSTALLED: 4.0.0 (latest)

sudo port install -f py27-oauth2client
[snip]
$ gdcp
usage: gdcp [-h] {version,list,download,upload,transfer} ...

problem parsing object id from url

This does not work:

gdcp download -i 'https://drive.google.com/a/uw.edu/file/d/xxxxFU7eD_alGd1JnQ0U2YmNKanc/view?usp=drivesdk' ./

This does:

gdcp download -i 'https://drive.google.com/a/uw.edu/file/d/xxxxFU7eD_alGd1JnQ0U2YmNKanc' ./

(removed /view?usp=drivesdk from end of url)

error 502 / resumable progress problem

01/17/2015 02:20:11 PM    INFO       gdcp                      : Uploading /Old_3TB/Cedar/yang's cp_working/bol1/bol1/phd_dir/bol1f1_fp03q356.x1.phd.1, mimeType=application/octet-stream
01/17/2015 02:20:33 PM    WARNING    gdcp                      : HTTP error 502, retrying in 1s ...
Traceback (most recent call last):
  File "/usr/local/bin/gdcp", line 941, in <module>
    main()
  File "/usr/local/bin/gdcp", line 38, in main
    cli()
  File "/usr/local/bin/gdcp", line 832, in cli
    args.func(args)
  File "/usr/local/bin/gdcp", line 897, in cli_upload_file
    not args.no_checksum)
  File "/usr/local/bin/gdcp", line 514, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 514, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 514, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 514, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 514, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 509, in upload_folder
    drive, onefile, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 374, in upload_file
    status, response = request.next_chunk()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oauth2client/util.py", line 135, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/googleapiclient/http.py", line 819, in next_chunk
    status, body = self._process_response(resp, content)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/googleapiclient/http.py", line 896, in _process_response
    self.resumable_progress = int(resp['range'].split('-')[1]) + 1
KeyError: 'range'

No module named apiclient.errors

    import apiclient.errors
ImportError: No module named apiclient.errors

This is the error I get, when I run gdcp using following code:=> ~/bin/gdcp

when I look into gdcp content it is like:-

#!/usr/bin/env python2.7

import apiclient.errors
import apiclient.http
from argparse import ArgumentDefaultsHelpFormatter
from argparse import ArgumentParser

and the issue is in the line: import apiclient.errors

Please feel free to ask any further query to understand the issue.
note: I am using it to connect google drive to a remote ssh server linux machine.

Preserve some metadata?

It would be nice to preserve creation and modification dates of files we upload and download. Think it is a worthwhile enhancement?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.