Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Env setup #18

Closed
sabirjana opened this issue May 6, 2020 · 1 comment
Closed

Env setup #18

sabirjana opened this issue May 6, 2020 · 1 comment

Comments

@sabirjana
Copy link

Hi Stefan,
Eagerly waiting for the 2nd edition of your book. Meanwhile, I am working with 1st edition and your github repo.
I am using window 10 env.
I setup the env_zipline as per environment.yml under
machine-learning-for-trading/02_market_and_fundamental_data/03_data_providers/05_zipline/
received error for following packages and I removed them from environment.yml. It works and no issues

  - libgfortran-ng=7.3.0
  - libgfortran=3.0.0
  - ncurses=6.2
  - readline=7.0
  - gst-plugins-base=1.14.5
  - libstdcxx-ng=9.2.0
  - libgomp=9.2.0
  - gstreamer=1.14.5
  - dbus=1.13.12
  - requests=2.14.2
  - libgcc-ng=9.2.0
  - libuuid=2.32.1
  - glib=2.63.1
  - _openmp_mutex=4.5
  - libedit=3.1.20181209
'''

however, there is another environment.yml
machine-learning-for-trading/05_strategy_evaluation/02_risk_metrics_pyfolio/ to setup backtesting env when I ran this on my window system it throws a big list of packages not found (listed below). Appreacite your help


`  - markupsafe==1.0=py35h14c3975_1
  - lz4-c==1.8.1.2=h14c3975_0
  - gcc_linux-64==7.3.0=h553295d_7
  - theano==1.0.2=py35h6bb024c_0
  - tk==8.6.8=hbc83047_0
  - nbformat==4.4.0=py35h12e6e07_0
  - h5py==2.8.0=py35h989c5e5_3
  - libgcc-ng==9.1.0=hdf63c60_0
  - traitlets==4.3.2=py35ha522a97_0
  - dbus==1.13.6=h746ee38_0
  - mkl_random==1.0.1=py35h4414c95_1
  - tornado==5.1.1=py35h7b6447c_0
  - cyordereddict==1.0.0=py35h470a237_2
  - glib==2.56.2=hd408876_0
  - ncurses==6.1=he6710b0_1
  - bzip2==1.0.6=h14c3975_5
  - hdf5==1.10.2=hba1933b_1
  - sqlite==3.28.0=h7b6447c_0
  - gst-plugins-base==1.14.0=hbbd80ab_1
  - libffi==3.2.1=hd88cf55_4
  - pcre==8.43=he6710b0_0
  - ptyprocess==0.6.0=py35_0
  - libgpuarray==0.7.6=h14c3975_0
  - numexpr==2.6.8=py35hd89afb7_0
  - zeromq==4.2.5=hf484d3e_1
  - bottleneck==1.2.1=py35h035aef0_1
  - python==3.5.6=hc3d631a_0
  - snappy==1.1.7=hbae5bb6_3
  - mistune==0.8.3=py35h14c3975_1
  - lxml==4.2.5=py35hefd8a0e_0
  - gcc_impl_linux-64==7.3.0=habb00fd_1
  - numpy==1.14.6=py35h3b04361_4
  - scikit-learn==0.20.0=py35h4989274_1
  - binutils_impl_linux-64==2.31.1=h6176602_1
  - libsodium==1.0.16=h1bed415_0
  - jpeg==9b=h024ee3a_2
  - jupyter_console==5.2.0=py35h4044a63_1
  - sqlalchemy==1.2.11=py35h7b6447c_0
  - wcwidth==0.1.7=py35hcd08066_0
  - kiwisolver==1.0.1=py35hf484d3e_0
  - zstd==1.3.7=h0b5b093_0
  - libpng==1.6.37=hbc83047_0
  - pytables==3.4.4=py35ha205bf6_0
  - libxslt==1.1.33=h7d1a2b0_0
  - cffi==1.11.5=py35he75722e_1
  - libuuid==1.0.3=h1bed415_2
  - cython==0.28.5=py35hf484d3e_0
  - mkl_fft==1.0.6=py35h7dd41cf_0
  - jsonschema==2.6.0=py35h4395190_0
  - icu==58.2=h9c2bf20_1
  - xz==5.2.4=h14c3975_4
  - sip==4.19.8=py35hf484d3e_0
  - gstreamer==1.14.0=hb453b48_1
  - readline==7.0=h7b6447c_5
  - qt==5.9.6=h8703b6f_2
  - fontconfig==2.13.0=h9420a91_0
  - cryptography==2.3.1=py35hc365091_0
  - pandas==0.22.0=py35hf484d3e_0
  - blosc==1.16.3=hd408876_0
  - statsmodels==0.9.0=py35h3010b51_0
  - freetype==2.9.1=h8a8886c_1
  - matplotlib==3.0.0=py35h5429711_0
  - scipy==1.1.0=py35hd20e5f9_0
  - expat==2.2.6=he6710b0_0
  - numpy-base==1.14.6=py35h81de0dd_4
  - pygpu==0.7.6=py35h3010b51_0
  - gxx_impl_linux-64==7.3.0=hdf63c60_1
  - gmp==6.1.2=h6c8ec71_1
  - mkl-service==1.1.2=py35h90e4bf4_5
  - binutils_linux-64==2.31.1=h6176602_7
  - libstdcxx-ng==9.1.0=hdf63c60_0
  - libgfortran-ng==7.3.0=hdf63c60_0
  - ipython_genutils==0.2.0=py35hc9e07d0_0
  - contextlib2==0.5.5=py35h6690dba_0
  - cycler==0.10.0=py35hc4d5149_0
  - libxcb==1.13=h1bed415_1
  - intel-openmp==2019.4=243
  - openssl==1.0.2s=h7b6447c_0
  - zlib==1.2.11=h7b6447c_3
  - pyzmq==17.1.2=py35h14c3975_0
  - pyqt==5.9.2=py35h05f1152_2
  - prompt_toolkit==1.0.15=py35hc09de7a_0
  - pickleshare==0.7.4=py35hd57304d_0
  - click==6.7=py35h353a69f_0
  - libxml2==2.9.9=hea5a465_1
  - lzo==2.10=h49e0be7_2
  - gxx_linux-64==7.3.0=h553295d_7
  - testpath==0.3.1=py35had42eaf_0
  - libedit==3.1.20181209=hc058e9b_0
  - wrapt==1.10.11=py35h14c3975_2`
@stefan-jansen
Copy link
Owner

Hey @sabirjana, I've finally updated the installation instructions here https://github.com/stefan-jansen/machine-learning-for-trading/tree/master/installation with respect to the Docker image that should make it a lot easier to run the notebooks on different systems. Sorry for the delay!

Please get in touch if you continue to run into any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants