Maubot lässt sich nicht starten

Pyrukar

Captain
Registriert
Jan. 2013
Beiträge
3.472
hallo zusammen,

ich hab mir vor einigen Monaten Maubot für Matrix als Würfelbot installiert und damals hat auch alles anstandslos funktioniert ... jetzt habe ich es einige Monate wieder nicht benutzt und frage mich, ob ich nur zu doof zum starten bin.

also in der Github doku und in meinen damaligen aufzeichnungen stehen nur 2 Befehle und ich bin mir auch recht sicher, dass das damals so funktioniert hat (auszuführen im Maubot Ordner):
Code:
source ./bin/activate

python3 -m maubot

wenn ich das jetzt eingebe dann kommt beim ersten Befehl noch das was ich erwarten würde (es erscheint ein "(maubot)" vor dem Benutzername/PC Name /Ordner) aber beim zweiten kommt
.../maubot/bin/python3: No module named maubot

hier ist die anleitung seite. wäre super wenn mir da jemand kurz auf die sprünge helfen könnte ich stehe gefühlt nur auf dem schlauch :( https://docs.mau.fi/maubot/usage/setup/index.html
 
Code:
pip list
Package             Version
------------------- ------------------
aiohttp             3.7.4.post0
alembic             1.5.8
apparmor            3.0.1
appdirs             1.4.4
application-utility 1.3.2
asn1crypto          1.4.0
async-timeout       3.0.1
attrs               20.3.0
bcrypt              3.2.0
Beaker              1.11.0
borgbackup          1.1.16
btrfsutil           5.11.1
CacheControl        0.12.6
ceph                1.0.0
ceph-volume         1.0.0
cephfs              2.0.0
cephfs-shell        0.0.1
cffi                1.14.5
chardet             4.0.0
click               7.1.2
colorama            0.4.4
commonmark          0.9.1
contextlib2         0.6.0.post1
cryptography        3.4.7
cupshelpers         1.0
distlib             0.3.1
distro              1.5.0
dnspython           1.16.0
docopt              0.6.2
dropbox             10.10.0
evdev               1.4.0
gpg                 1.15.1
greenlet            1.0.0
html5lib            1.1
idna                3.1
Jinja2              2.11.3
keyutils            0.6
lensfun             0.3.95
LibAppArmor         3.0.1
llfuse              1.3.8
louis               3.17.0
lutris              0.5.8.3
lxml                4.6.3
Mako                1.1.4
Markdown            3.3.4
MarkupSafe          1.1.1
maubot              0.1.0
mautrix             0.7.14
msgpack             1.0.2
multidict           5.1.0
netsnmp-python      1.0a1
npyscreen           4.10.5
numpy               1.20.1
ordered-set         4.0.2
packaging           20.9
pacman-mirrors      4.21.0
pep517              0.10.0
Pillow              8.1.2
pip                 20.3.1
ply                 3.11
progress            1.5
prompt-toolkit      1.0.14
psutil              5.8.0
pybind11            2.6.2
pycairo             1.20.0
pycparser           2.20
pycups              2.0.1
pycurl              7.43.0.6
Pygments            2.8.1
PyGObject           3.40.1
PyInquirer          1.0.3
PyOpenGL            3.1.5
pyOpenSSL           20.0.1
pyparsing           2.4.7
PyQt5               5.15.4
PyQt5-sip           12.8.1
pysmbc              1.0.23
PySocks             1.7.1
python-dateutil     2.8.1
python-editor       1.0.4
python-libtorrent   1.2.11
python-xlib         0.29
pyudev              0.22.0.dev20201112
PyYAML              5.4.1
rados               2.0.0
rbd                 2.0.0
regex               2021.4.4
reportlab           3.5.66
requests            2.25.1
resolvelib          0.5.4
retrying            1.3.3
rgw                 2.0.0
rrdtool             0.1.10
ruamel.yaml         0.16.13
ruamel.yaml.clib    0.2.2
setuptools          54.2.0
six                 1.15.0
solaar              1.0.5
SQLAlchemy          1.4.11
team                1.0
toml                0.10.2
torbrowser-launcher 0.3.3
typing-extensions   3.7.4.3
udiskie             2.3.3
urllib3             1.26.4
wcwidth             0.2.5
webencodings        0.5.1
yarl                1.6.3

Zeile 50 sagt doch eigentlich das Maubot installiert ist, oder?
 
Die Frage ist halt, ob das in dem virtuellen Environment ist oder nicht.
Mit dem source wird nämlich das virtuelle Environment geladen. Wenn also das Modul nicht in dem virtuellen Environment installiert ist wird es dort nicht funktionieren.
Für ein virtuelles Environment sieht die Liste ziemlich lang aus, denn normalerweise ist ein neu erzeugtes virtuelle Environment ziemlich leer.
Am einfachsten wäre unabhängig vom vorgehen die Anleitung erneut auszuführen. Dabei wird nicht nur das virtuelle Environment geladen sondern das Modul via
Code:
pip install --upgrade maubot
auch installiert bzw updated sofern möglich.

Wenn das pip list nicht innerhalb des virtuellen Environments ausgeführt wurde reicht auch ein einfacher Start des Modules.
 
okay ja also der pip list wurde nicht innerhalb des virtuellen Environments ausgeführt. innerhalb sieht es nach Fehler aus:
Code:
[...@... maubot]$ source ./bin/activate        
(maubot) [...@... maubot]$ pip list
Traceback (most recent call last):
  File "/home/.../maubot/bin/pip", line 6, in <module>
    from pip._internal import main
ModuleNotFoundError: No module named 'pip'

die ... ersetzen den User bzw PC Name aber daran wirds vermutlich nicht scheitern :)

btw.
Code:
pip install --upgrade maubot

habe ich gestern bereits versucht ... noch bevor ich hier gepostet habe ... hat gefühlt gar nix geändert :(
 
Zurück
Oben