GithubHelp home page GithubHelp logo

Comments (1)

Stadicus avatar Stadicus commented on September 2, 2024

I run into the same issue as well on a new Ubuntu 18.04 LTS, when installing the pip package hermit:

# system dependencies
$ sudo apt install python3 python3-pip python3-venv libzbar0
$ python3 -m pip install --upgrade pip

# set python3 as default, just to be sure as bin/hermit uses "#!/usr/bin/env python"
$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1

# install
$ python -m venv ~/hermit-env/
(hermit-env) $ cd ~/hermit-env/
(hermit-env) $ python3 -m pip install hermit

# run
(hermit-env) $:~/hermit-env$ hermit
Traceback (most recent call last):
  File "/home/stadicus/hermit-env/bin/hermit", line 4, in <module>
    from hermit.ui import main
  File "/home/stadicus/hermit-env/lib/python3.6/site-packages/hermit/ui/__init__.py", line 1, in <module>
    from .main import main
  File "/home/stadicus/hermit-env/lib/python3.6/site-packages/hermit/ui/main.py", line 5, in <module>
    from .wallet import *
  File "/home/stadicus/hermit-env/lib/python3.6/site-packages/hermit/ui/wallet.py", line 8, in <module>
    from .repl import repl
  File "/home/stadicus/hermit-env/lib/python3.6/site-packages/hermit/ui/repl.py", line 12, in <module>
    from .toolbar import *
  File "/home/stadicus/hermit-env/lib/python3.6/site-packages/hermit/ui/toolbar.py", line 4, in <module>
    import hermit.ui.state as state
AttributeError: module 'hermit' has no attribute 'ui'

(can provide full logs if helpful)

Although there is not error message clearly stating this, it seems that Python 3.7 is required (see setup.py). I use the default versions of this Ubuntu release: Python 3.6.9 and pip 20.0.2. An update to Python 3.7 is tricky and not really supported.

from hermit.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.