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

Python error #3

Closed
Just1Number opened this issue Feb 11, 2015 · 2 comments
Closed

Python error #3

Just1Number opened this issue Feb 11, 2015 · 2 comments

Comments

@Just1Number
Copy link

$ mup
Traceback (most recent call last):
  File "/usr/bin/mup", line 9, in <module>
    load_entry_point('mup==1.0.0', 'gui_scripts', 'mup')()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 521, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2632, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2312, in load
    return self.resolve()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2318, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.4/site-packages/mup/main.py", line 10, in <module>
    from window import Window
ImportError: No module named 'window'

$ sudo python /usr/lib/python3.4/site-packages/mup/main.py 
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/mup/main.py", line 10, in <module>
    from window import Window
  File "/usr/lib/python3.4/site-packages/mup/window.py", line 12, in <module>
    from view import View
  File "/usr/lib/python3.4/site-packages/mup/view.py", line 5, in <module>
    import converters
  File "/usr/lib/python3.4/site-packages/mup/converters/__init__.py", line 6, in <module>
    from htmlconverter import HtmlConverter
ImportError: No module named 'htmlconverter'

I can't figure out whats going wrong here.

I'm using antergos and installed all dependencies listed in the readme

@agateau
Copy link
Owner

agateau commented Feb 11, 2015

Looks like you are using a distribution which sets Python 3 as the default Python version. Can you try to do the following:

  1. Install Python 2

  2. rm -rf /usr/lib/python3.4/site-packages/mup

  3. install the application with Python 2, there should be a binary named python2 so you should be able to install mup with:

    python2 setup.py install

@Just1Number
Copy link
Author

Thanks for the quick help! That resolved the issue

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