udacity / aitnd-issues

Repo for AITND issues/bug reports from students.
64 stars 0 forks source link

Project 7 requirements fail to install #102

Closed AdrianoW closed 5 years ago

AdrianoW commented 5 years ago

On project 7 of the AI 4 trading , the first cell (requirements installation) fails to execute.

import sys

!{sys.executable} -m pip install -r requirements.txt

Below, the error message:

...
Collecting lru-dict>=1.1.4 (from zipline===1.2.0->-r requirements.txt (line 11))
  Using cached https://files.pythonhosted.org/packages/00/a5/32ed6e10246cd341ca8cc205acea5d208e4053f48a4dced2b1b31d45ba3f/lru-dict-1.1.6.tar.gz
Collecting empyrical>=0.4.2 (from zipline===1.2.0->-r requirements.txt (line 11))
  Using cached https://files.pythonhosted.org/packages/7b/55/a01b05162b764830dbbac868462f44cd847a5b6523a01ca9f955721819da/empyrical-0.5.0.tar.gz
Collecting tables>=3.3.0 (from zipline===1.2.0->-r requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/34/07/aab004e53d06ec7fd38c3ecb695162b33fefbdd5abb7edf66b88eef8081a/tables-3.5.0-1.tar.gz (8.3MB)
    100% |████████████████████████████████| 8.3MB 57kB/s  eta 0:00:01    43% |██████████████                  | 3.6MB 27.2MB/s eta 0:00:01    61% |███████████████████▊            | 5.1MB 32.9MB/s eta 0:00:01    80% |█████████████████████████▉      | 6.7MB 32.7MB/s eta 0:00:01
    Complete output from command python setup.py egg_info:
    /tmp/H5closem5ffds0w.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
     main (int argc, char **argv) {
     ^~~~
    /tmp/H5closem5ffds0w.c: In function ‘main’:
    /tmp/H5closem5ffds0w.c:2:5: warning: implicit declaration of function ‘H5close’ [-Wimplicit-function-declaration]
         H5close();
         ^~~~~~~
    * Using Python 3.6.3 | packaged by conda-forge | (default, Nov  4 2017, 10:10:56)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-tkt0goj3/tables/
You are using pip version 9.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Brok-Bucholtz commented 5 years ago

Fixed! You'll have to backup your notebook and reset your workspace to get the changes.