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

CairoSVG issue on Windows 10 development environment #40

Open
gustavorps opened this issue Feb 23, 2019 · 0 comments
Open

CairoSVG issue on Windows 10 development environment #40

gustavorps opened this issue Feb 23, 2019 · 0 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@gustavorps
Copy link
Contributor

PS C:\workspace\hematopy> python -m src.hematopy
Traceback (most recent call last):
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\workspace\hematopy\src\hematopy\__main__.py", line 3, in <module>
    from .donation.cli import cli_donation
  File "C:\workspace\hematopy\src\hematopy\donation\cli.py", line 5, in <module>
    from ..banner.model import BannerBloodDonation
  File "C:\workspace\hematopy\src\hematopy\banner\model.py", line 6, in <module>
    import cairosvg
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairosvg\__init__.py", line 29, in <module>
    from . import surface
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairosvg\surface.py", line 24, in <module>
    import cairocffi as cairo
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairocffi\__init__.py", line 39, in <module>
    cairo = dlopen(ffi, 'cairo', 'cairo-2', 'cairo-gobject-2', 'cairo.so.2')
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairocffi\__init__.py", line 36, in dlopen
    raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names))
OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
PS C:\workspace\hematopy> python -m src.hematopy
Traceback (most recent call last):
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\workspace\hematopy\src\hematopy\__main__.py", line 3, in <module>
    from .donation.cli import cli_donation
  File "C:\workspace\hematopy\src\hematopy\donation\cli.py", line 5, in <module>
    from ..banner.model import BannerBloodDonation
  File "C:\workspace\hematopy\src\hematopy\banner\model.py", line 6, in <module>
    import cairosvg
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairosvg\__init__.py", line 29, in <module>
    from . import surface
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairosvg\surface.py", line 24, in <module>
    import cairocffi as cairo
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairocffi\__init__.py", line 39, in <module>
    cairo = dlopen(ffi, 'cairo', 'cairo-2', 'cairo-gobject-2', 'cairo.so.2')
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairocffi\__init__.py", line 36, in dlopen
    raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names))
OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
PS C:\workspace\hematopy> python -m src.hematopy
Traceback (most recent call last):
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\workspace\hematopy\src\hematopy\__main__.py", line 3, in <module>
    from .donation.cli import cli_donation
  File "C:\workspace\hematopy\src\hematopy\donation\cli.py", line 5, in <module>
    from ..banner.model import BannerBloodDonation
  File "C:\workspace\hematopy\src\hematopy\banner\model.py", line 6, in <module>
    import cairosvg
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairosvg\__init__.py", line 29, in <module>
    from . import surface
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairosvg\surface.py", line 24, in <module>
    import cairocffi as cairo
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairocffi\__init__.py", line 39, in <module>
    cairo = dlopen(ffi, 'cairo', 'cairo-2', 'cairo-gobject-2', 'cairo.so.2')
  File "C:\Users\gustavorps\AppData\Local\Miniconda3\lib\site-packages\cairocffi\__init__.py", line 36, in dlopen
    raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names))
OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
@gustavorps gustavorps added the help wanted Extra attention is needed label Feb 23, 2019
@gustavorps gustavorps self-assigned this Feb 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant