tensorflow玩轉量化交易-python version相容問題
code from https://github.com/borenwu/topquant try reading : https://yuedu.baidu.com/ebook/2efb485c81eb6294dd88d0d233d4b14e84243e29?pn=4&pa=1 future: https://ithelp.ithome.com.tw/questions/10196572 相關版號請參閱1-7頁 python 3.6.4 pip install tensorflow==1.3.0 pip install tensorflow-gpu==1.3.0 REM Importerror: cannot import name moving_averages error occurs when we do not have TensorFlow-GPU installed. pip install numpy==1.16.4 pip install flask-restx==0.1.1 pip install keras==2.0.7 pip install tflearn==0.3.2 pip install pandas==0.20.3 REM 2-3 pip install plotly==2.0.15 pip install arrow==0.10.0 pip install bs4 pip install numexpr pip install psutil pip install tushare pip install matplotlib==2.0.2 pip install robobrowser pip install sklearn -- 2-1 import tensorflow as tf import pandas as pd pd.set_option('display.width',450) fss='data/600663.csv' df=pd.read_csv(fss,index_col=0) print(df.tail()) -- 今天狠心把tensorflow玩轉量化交易這本書拿起來K 實作第一個程式時 就不斷地翻車 原因都在版本相容性問題 至少我...