Skip to content

biggles setup fails on current OSX #138

@graik

Description

@graik

The setup instructions for OSX are now out of date. homebrew has been modified and the brew install plotutils does not any longer accept the --with-x11 option. Possibly because of this, my biggles installation stopped working and also re-installation of plotutils or biggles doesn't seem to fix it:

pip install biggles
python
Python 3.7.3 (default, Mar 27 2019, 09:23:39) 
[Clang 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import biggles
>>> import numpy
>>> x = numpy.arange(0,10,0.3)
>>> p = biggles.FramedPlot()
>>> p.add( biggles.Curve(x, numpy.cos(x)) )
>>> p.show()
libplot: ignoring request to create plotter of unknown type
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/biggles/biggles.py", line 2527, in show
    self.show_x11(width, height)
  File "/usr/local/lib/python3.7/site-packages/biggles/biggles.py", line 2550, in show_x11
    with ScreenRenderer(persistent, width, height) as device:
  File "/usr/local/lib/python3.7/site-packages/biggles/libplot/renderer.py", line 491, in ScreenRenderer
    return NonInteractiveScreenRenderer(width, height)
  File "/usr/local/lib/python3.7/site-packages/biggles/libplot/renderer.py", line 439, in __init__
    parameters)
  File "/usr/local/lib/python3.7/site-packages/biggles/libplot/renderer.py", line 152, in __init__
    super(LibplotRenderer, self).__init__(type, parameters, filename)
RuntimeError: could not create plotter
>>> 

Any ideas how to fix this? Forcing recompilation didn't fix the issue either (pip install --no-binary :all: biggles)

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions