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

pip install doesn't seem work? #14

Open
kiteloopdesign opened this issue Jul 22, 2020 · 2 comments
Open

pip install doesn't seem work? #14

kiteloopdesign opened this issue Jul 22, 2020 · 2 comments

Comments

@kiteloopdesign
Copy link

Hi,
eager to try this tool but I can't get it to install. First of all it doesn't automatically install pycairo and pango dependencies? (hdlparse is installed fine though)

Then, if I install them, install symbolator and run the tool, I get the following error :

File "/home/${USER}/.local/lib/python3.7/site-packages/nucanvas/cairo_backend.py", line 13, in <module>
    import pango
ModuleNotFoundError: No module named 'pango'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./symbolator", line 11, in <module>
    load_entry_point('symbolator==1.0.2', 'console_scripts', 'symbolator')()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/${USER}/.local/lib/python3.7/site-packages/symbolator.py", line 10, in <module>
    from nucanvas.cairo_backend import CairoSurface
  File "/home/${USER}/.local/lib/python3.7/site-packages/nucanvas/cairo_backend.py", line 17, in <module>
    from gi.repository import Pango as pango
ModuleNotFoundError: No module named 'gi'

Further research brings me to the issue that I am missing "gi" package. When installing this package, pygobject I run into some other issues ...

Note that I am installing everything on python3 through pip install --user, not sure this has something to do with the issue, although I never had an issue so far ...

@nobodywasishere
Copy link

I ran into a lot of issues you're experiencing as well. Try out my (hopefully temporary) fork here and let me know if that works or not.

@kiteloopdesign
Copy link
Author

Thanks , its working great on Fedora 31 and python3 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants