Hi Tiago,

I have been using channel "ostrokach-forge" to even install properly
version 2.26 on a server and it constantly get error messages for its
dependencies. I have used conda to install the dependencies but now I get
this error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/anaconda3/lib/python3.5/site-packages/graph_tool/all.py",
line 35, in <module>
    from graph_tool.draw import *
  File
"/home/anaconda3/lib/python3.5/site-packages/graph_tool/draw/__init__.py",
line 875, in <module>
    from .cairo_draw import graph_draw, cairo_draw,
get_hierarchy_control_points, default_cm
  File
"/home/anaconda3/lib/python3.5/site-packages/graph_tool/draw/cairo_draw.py",
line 122, in <module>
    "font_slant": cairo.FONT_SLANT_NORMAL,
AttributeError: module 'cairo' has no attribute 'FONT_SLANT_NORMAL'

Do you have any suggestion how to solve this error message?

I installed cairocffi, cairo, pycairo but apparently none of them solve
this error message.

Thanks in advance.

Best,
Zahra

On Sat, Jul 7, 2018 at 6:46 PM, Tiago de Paula Peixoto <[email protected]>
wrote:

> Hi Zahra,
>
> I'm not responsible for any anaconda package of graph-tool. They were made
> by third parties, and you need to contact them and ask them to update to
> the
> newest version.
>
> Best,
> Tiago
>
> Am 06.07.2018 um 23:42 schrieb Zahra Sheikhbahaee:
> > Hi Tiago,
> >
> > I am trying to install graph-tool on a server and the only way it is
> > possible without root permission is via this command line:
> >
> > conda install -c ostrokach-forge graph-tool
> >
> > But its version is
> >>>> graph_tool.__version__
> > '2.25 (commit , )'
> >
> > well, how could I update this version in the conda environment to 2.27?
> >
> > Thanks,
> > Zahra
> >
> >
> > _______________________________________________
> > graph-tool mailing list
> > [email protected]
> > https://lists.skewed.de/mailman/listinfo/graph-tool
> >
>
>
> --
> Tiago de Paula Peixoto <[email protected]>
> _______________________________________________
> graph-tool mailing list
> [email protected]
> https://lists.skewed.de/mailman/listinfo/graph-tool
>
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to