Skip to content

Instantly share code, notes, and snippets.

@daspecster
Created October 27, 2016 17:33
Show Gist options
  • Save daspecster/bf8a54a2af8fdfc64af7cad4cc0b8ae0 to your computer and use it in GitHub Desktop.
Save daspecster/bf8a54a2af8fdfc64af7cad4cc0b8ae0 to your computer and use it in GitHub Desktop.
Process for getting right version of core?
# With fresh venv
cd google-cloud-python
rm -rf .tox
rm -rf ./**/.tox
pip install tox
tox -e py27 --recreate --notest
cd core
../.tox/py27/bin/python setup.py install
cd ..
cd speech
../.tox/py27/bin/python setup.py install
cd ..
# run my test script
.tox/py27/bin/python ../test_speech_async.py
@daspecster
Copy link
Author

I get...

  File "/Users/daspecster/Documents/google/google-cloud-py-2/.tox/py27/lib/python2.7/site-packages/google_cloud_core-0.20.0-py2.7.egg/google/cloud/_helpers.py", line 643, in make_secure_stub
    transport_creds = grpc.ssl_channel_credentials()

But I have some prints in my _helper.py and so it's actually on line 645.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment