softlayer-yuba / yuba_cli

MIT License
0 stars 0 forks source link

yuba order vs.yml実行時のInsecurePlatformWarning #2

Closed hssh closed 9 years ago

hssh commented 9 years ago

yuba order vs.yml 実行時に下記Warningが発生する

yubacli/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

hssh commented 9 years ago

python 2.7.9以降にアップデートしたら解決しました

$ brew upgrade python
$ workon yuba_cli
$ pip freeze > requirements.txt
$ rmvirtualenv yuba_cli
$ mkvirtualenv yuba_cli
$ vi requirements.txt # 最終行コメントアウト
$ pip install -r requirements.txt
$ pip install --editable .