Mac OS 10.10.5 installation issues

127 views
Skip to first unread message

eric.w....@gmail.com

unread,
Sep 28, 2015, 8:39:53 AM9/28/15
to Dedalus Users
Hello all,

I tried to run the install script for OS 10.9 on my MacBook Air (running 10.10.5) with Geoff Vasil, and encountered a few problems.

After figuring out that we had to manually install fortran via gcc (done with homebrew), the script again failed when trying to install matplotlib.

It seems that this is because it doesn't have freetype, but I thought it was already installed. I've pasted the last bit of the log file below.

Thanks for any help you can provide. I'm happy to (try) explain further if you would like more information.

Eric

------------------------------------------------------

BUILDING MATPLOTLIB
matplotlib: yes [1.3.1]
python: yes [3.4.1 (default, Sep 28 2015, 16:55:08) [GCC
4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)]]
platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.8.1]
dateutil: yes [dateutil was not found. It is required for date
axis support. pip/easy_install may attempt to
install it after matplotlib.]
tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
pyparsing: yes [pyparsing was not found. It is required for
mathtext support. pip/easy_install may attempt to
install it after matplotlib.]
pycxx: yes [Official versions of PyCXX are not compatible
with Python 3.x. Using local copy]
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.12]

OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [using nose version 1.3.7]

OPTIONAL BACKEND EXTENSIONS
macosx: no [skipping due to configuration]
qt4agg: no [PyQt4 not found]
gtk3agg: no [gtk3agg backend does not work on Python 3]
gtk3cairo: no [Requires cairo to be installed.]
gtkagg: no [Requires pygtk]
tkagg: yes [installing, version version not identified]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairo not found]
windowing: no [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
dvipng: yes [version 1.15]
ghostscript: yes [version 9.16]
latex: yes [version 3.14159265]
pdftops: no

============================================================================
* The following required packages can not be built:
* freetype
Requirement already satisfied (use --upgrade to upgrade): nose in /Users/erichester/dedalus/lib/python3.4/site-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): mpi4py in /Users/erichester/dedalus/lib/python3.4/site-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): cython in /Users/erichester/dedalus/lib/python3.4/site-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): h5py in /Users/erichester/dedalus/lib/python3.4/site-packages
Cleaning up...
Traceback (most recent call last):
File "setup.py", line 51, in <module>
import setupext
File "/Users/erichester/dedalus/src/matplotlib-1.3.1/setupext.py", line 67, in <module>
config.read(setup_cfg)
File "/Users/erichester/dedalus/lib/python3.4/configparser.py", line 672, in read
self._read(fp, filename)
File "/Users/erichester/dedalus/lib/python3.4/configparser.py", line 1044, in _read
lineno)
configparser.DuplicateSectionError: While reading from 'setup.cfg' [line 5]: section 'directories' already exists

Jeffrey S. Oishi

unread,
Sep 28, 2015, 8:42:01 AM9/28/15
to Dedalus Users
Hi Eric,

This error looks a bit strange. Did you modify the config file for matplotlib? Could you send the whole log file?

Jeff

--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/a89b3656-cd14-424a-a601-c9854f8b5076%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeffrey S. Oishi

unread,
Sep 28, 2015, 8:44:56 AM9/28/15
to Dedalus Users
Also, you're right, the install script should have built freetype, since you're on a mac.

j

Eric

unread,
Sep 28, 2015, 6:17:29 PM9/28/15
to dedalu...@googlegroups.com
Hello Jeff,

Here’s the log file. Thanks for the help.

Regards,
Eric
dedalus_install.log

Jeffrey S. Oishi

unread,
Oct 14, 2015, 3:02:24 PM10/14/15
to dedalus-users
Hi Eric,

Could you please test the attached install script on your 10.11 machine? This SHOULD both install OpenSSL AND fix the freetype issue. However, I'd appreciate your testing it.

Thanks so much, and my apologies for the delay!

Jeff

--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to a topic in the Google Groups "Dedalus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dedalus-users/eGy6aR6mKnY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dedalus-user...@googlegroups.com.

To post to this group, send email to dedalu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
install.sh

Eric Hester

unread,
Oct 15, 2015, 6:39:44 AM10/15/15
to dedalu...@googlegroups.com
Hello Jeff,

Thanks for the script. I actually managed to get Dedalus on the computer with Geoff on Monday though, just using the brew method. I’m assuming that would affect how useful running the script again would be (considering everything is already installed), so would you still like me to run it? In two weeks I’ll be getting a new iMac though, so I can run the script when I get that too.

And it’s absolutely not a problem about the delay. Thanks for the help,

Regards,
Eric
> On 15 Oct 2015, at 6:02 AM, Jeffrey S. Oishi <jso...@gmail.com> wrote:
>
> <install.sh>

geoff

unread,
Oct 15, 2015, 6:46:32 AM10/15/15
to dedalu...@googlegroups.com
Hi Eric — Give it a try anyhow. The new version shouldn’t interfere with the one you currently have. Just make a separate directory in home (e.g. ~/test_srcipt) and run the script from there. It might work even thought thre's still some hidden problem, but at least we’ll at least find out if it’s still failing. -Geoff
> --
> You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
> To post to this group, send email to dedalu...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/D339557C-4402-42E4-B662-D7D616E90987%40gmail.com.

Eric Hester

unread,
Oct 15, 2015, 6:59:54 AM10/15/15
to dedalu...@googlegroups.com
Hello again,

So turns out it gave an error on trying to install openssl. Here’s the log file:
dedalus_install.log
Reply all
Reply to author
Forward
0 new messages