This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Installation on MAC (el capitan)

0 votes

Hello,

I try to install FEniCs using the bash command

 curl -s http://fenicsproject.org/fenics-install.sh | bash

but i have found a problem with the installation of pygments

[pygments]   tail -f /Users/administrador/.hashdist/tmp/pygments-ks43tnttbrz6/_hashdist/build.log
[pygments|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 1
[pygments|ERROR] command failed (code=1); raising

when i read the .log file, the error look like a problem with python,

2015/11/19 15:50:44 - INFO: [package:run_job] running [u'/bin/bash', '_hashdist/build.sh']
2015/11/19 15:50:44 - INFO: [package:run_job] environment:
2015/11/19 15:50:44 - INFO: [package:run_job]   {'ARTIFACT': u'/Users/administrador/.hashdist/bld/pygments/ks43tnttbrz6',
2015/11/19 15:50:44 - INFO: [package:run_job]    'BASH': u'/bin/bash',
2015/11/19 15:50:44 - INFO: [package:run_job]    'BUILD': u'/Users/administrador/.hashdist/tmp/pygments-ks43tnttbrz6-4',
2015/11/19 15:50:44 - INFO: [package:run_job]    'HASHDIST_CPU_COUNT': '4',
2015/11/19 15:50:44 - INFO: [package:run_job]    'HDIST_CONFIG': '{"gc_roots":"/Users/administrador/.hashdist/gcroots","build_stores":[{"dir":"/Users/administrador/.hashdist/bld"}],"source_caches":[{"dir":"/Users/administrador/.hashdist/src"}],"cache":"/Users/administrador/.hashdist/cache","build_temp":"/Users/administrador/.hashdist/tmp"}',
2015/11/19 15:50:44 - INFO: [package:run_job]    'HDIST_IMPORT': u'python/bpc2zysftq6f22u3xlvocvagm65mukce',
2015/11/19 15:50:44 - INFO: [package:run_job]    'HDIST_IMPORT_PATHS': u'/Users/administrador/.hashdist/bld/python/bpc2zysftq6f',
2015/11/19 15:50:44 - INFO: [package:run_job]    'HDIST_VIRTUALS': '',
2015/11/19 15:50:44 - INFO: [package:run_job]    'PATH': u'/Users/administrador/.hashdist/bld/python/bpc2zysftq6f/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin',
2015/11/19 15:50:44 - INFO: [package:run_job]    'PKG_CONFIG_PATH': u'/Users/administrador/.hashdist/bld/python/bpc2zysftq6f/lib/pkgconfig',
2015/11/19 15:50:44 - INFO: [package:run_job]    'PWD': u'/Users/administrador/.hashdist/tmp/pygments-ks43tnttbrz6-4',
2015/11/19 15:50:44 - INFO: [package:run_job]    'PYTHON': u'/Users/administrador/.hashdist/bld/python/bpc2zysftq6f/bin/python',
2015/11/19 15:50:44 - INFO: [package:run_job]    u'PYTHON_DIR': u'/Users/administrador/.hashdist/bld/python/bpc2zysftq6f',
2015/11/19 15:50:44 - INFO: [package:run_job]    u'PYTHON_ID': u'python/bpc2zysftq6f22u3xlvocvagm65mukce'}
2015/11/19 15:50:44 - INFO: [package:run_job] running install
2015/11/19 15:50:44 - INFO: [package:run_job] Checking .pth file support in /Users/administrador/.hashdist/bld/pygments/ks43tnttbrz6/lib/python2.7/site-packages/
2015/11/19 15:50:44 - INFO: [package:run_job] /Users/administrador/.hashdist/bld/python/bpc2zysftq6f/bin/python -E -c pass
2015/11/19 15:50:44 - INFO: [package:run_job] TEST FAILED: /Users/administrador/.hashdist/bld/pygments/ks43tnttbrz6/lib/python2.7/site-packages/ does NOT support .pth files
2015/11/19 15:50:44 - INFO: [package:run_job] error: bad install directory or PYTHONPATH
2015/11/19 15:50:44 - INFO: [package:run_job] 
2015/11/19 15:50:44 - INFO: [package:run_job] You are attempting to install a package to a directory that is not
2015/11/19 15:50:44 - INFO: [package:run_job] on PYTHONPATH and which Python does not read ".pth" files from.  The
2015/11/19 15:50:44 - INFO: [package:run_job] installation directory you specified (via --install-dir, --prefix, or
2015/11/19 15:50:44 - INFO: [package:run_job] the distutils default setting) was:
2015/11/19 15:50:44 - INFO: [package:run_job] 
2015/11/19 15:50:44 - INFO: [package:run_job]     /Users/administrador/.hashdist/bld/pygments/ks43tnttbrz6/lib/python2.7/site-packages/

But i try and don't find a solution for this problem. Moreover, I have downloaded and installed the FENICs dmg file for Mac OSX 10.11, but this crash immediately after opening.

Any advice will be appreciated.

Elrick

asked Nov 19, 2015 by elrick FEniCS Novice (130 points)

I haven't seen this error before. Can you register an issue here?

...