顯示具有 python 標籤的文章。 顯示所有文章
顯示具有 python 標籤的文章。 顯示所有文章

2016年8月19日 星期五

python, machine learning, quandl, tutorial

  • Tutorial from:

https://www.quandl.com/blog/api-for-global-stock-data


  • Register a account :




  • Look for the stock which you are interested, some of them is free and some not:

https://www.quandl.com/browse






  • Then get the Quandl Code, and paste it into the code:







2016年2月26日 星期五

eb, aws, install, error

from:https://forums.aws.amazon.com/thread.jspa?threadID=164348



Make a virtual environment for the EB CLI:

sudo pip install virtualenv
cd ~
virtualenv eb-env

Activate the virtualenv and install awsebcli:
pip install awsebcli

Check that eb now works: 
eb --version

Deactivate and add eb to your path:
deactivate
source ~/eb-env/bin/eb




Error

Traceback (most recent call last):
  File "/usr/local/bin/eb", line 5, in <module>
    from pkg_resources import load_entry_point
  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 3141, in <module>
  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 3127, in _call_aside
  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 3154, in _initialize_master_working_set
  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 640, in _build_master
  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 941, in require
  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 828, in resolve