mikelolasagasti / revelation

Revelation is a password manager for the GNOME desktop, released under the GNU GPL license. It stores all your accounts and passwords in a single, secure place, and gives you access to it through a user-friendly graphical interface.
https://revelation.olasagasti.info
GNU General Public License v2.0
55 stars 24 forks source link

Ubuntu gives ModuleNotFoundError error with module revelation #18

Closed mikelolasagasti closed 3 years ago

mikelolasagasti commented 4 years ago

Launching Revelation in Ubuntu-20.04 gives the following error:

  File "/usr/local/bin/revelation", line 30, in <module>
    from revelation import config, data, datahandler, dialog, entry, io, ui, util
ModuleNotFoundError: No module named 'revelation'

Adding a PYTHONPATH makes it work:

PYTHONPATH=/usr/local/lib/python3.8/site-packages/ revelation

gbm19 commented 4 years ago

Alternatively, you can make use of USER_SITE (python -m site)

mkdir -p ~/.local/lib/python3.8/site-packages ln -s /usr/local/lib/python3.8/site-packages/revelation ~/.local/lib/python3.8/site-packages

mikelolasagasti commented 3 years ago

This should not happen with current steps described in readme, closing.