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

error when building Docker image #5

Open
DVSneuro opened this issue Apr 14, 2020 · 0 comments
Open

error when building Docker image #5

DVSneuro opened this issue Apr 14, 2020 · 0 comments

Comments

@DVSneuro
Copy link

Hi, thanks for adding the Docker image! I'm trying to build the image using the code on the README.md file docker build . -t neuroscout-cli but I'm running into the error below. I've tried adding freetype-py==1.1 and pykg-config to the requirements.txt file before running this command, but it still breaks in the same place. Thanks for any help!

Best,
David

Downloading matplotlib-2.0.0.tar.gz (53.2 MB)
  ERROR: Command errored out with exit status 1:
   command: /opt/conda/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7e3zu0q4/matplotlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7e3zu0q4/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-7e3zu0q4/matplotlib/pip-egg-info
       cwd: /tmp/pip-install-7e3zu0q4/matplotlib/
  Complete output (64 lines):
  IMPORTANT WARNING:
      pkg-config is not installed.
      matplotlib may not be able to find some of its dependencies
  ============================================================================
  Edit setup.cfg to change the build options
  
  BUILDING MATPLOTLIB
              matplotlib: yes [2.0.0]
                  python: yes [3.7.6 | packaged by conda-forge | (default, Mar
                          5 2020, 15:27:18)  [GCC 7.3.0]]
                platform: yes [linux]
  
  REQUIRED DEPENDENCIES AND EXTENSIONS
                   numpy: yes [version 1.18.1]
                     six: yes [using six version 1.14.0]
                dateutil: yes [using dateutil version 2.8.1]
             functools32: yes [Not required]
            subprocess32: yes [Not required]
                    pytz: yes [using pytz version 2019.3]
                  cycler: yes [using cycler version 0.10.0]
                 tornado: yes [using tornado version 6.0.4]
               pyparsing: yes [using pyparsing version 2.4.6]
                  libagg: yes [pkg-config information for 'libagg' could not
                          be found. Using local copy.]
                freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                          could not be found.  You may need to install the
                          development package.]
                     png: yes [version 1.6.37]
                   qhull: yes [pkg-config information for 'qhull' could not be
                          found. Using local copy.]
  
  OPTIONAL SUBPACKAGES
             sample_data: yes [installing]
                toolkits: yes [installing]
                   tests: no  [skipping due to configuration]
          toolkits_tests: no  [skipping due to configuration]
  
  OPTIONAL BACKEND EXTENSIONS
                  macosx: no  [Mac OS-X only]
                  qt5agg: no  [PyQt5 not found]
                  qt4agg: no  [PySide not found; PyQt4 not found]
                 gtk3agg: no  [Requires pygobject to be installed.]
               gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                  gtkagg: no  [Requires pygtk]
                   tkagg: yes [installing; run-time loading from Python Tcl /
                          Tk]
                   wxagg: no  [requires wxPython]
                     gtk: no  [Requires pygtk]
                     agg: yes [installing]
                   cairo: no  [cairocffi or pycairo not found]
               windowing: no  [Microsoft Windows only]
  
  OPTIONAL LATEX DEPENDENCIES
                  dvipng: yes [version 1.15]
             ghostscript: yes [version 9.26]
                   latex: yes [version 3.14159265]
                 pdftops: no
  
  OPTIONAL PACKAGE DATA
                    dlls: no  [skipping due to configuration]
  
  ============================================================================
                          * The following required packages can not be built:
                          * freetype
  ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
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

1 participant