nullp0tr / bluew

Bluew is a simple and easy to use bluetooth API for python
MIT License
15 stars 2 forks source link

No dbus installed via pip #19

Open sim6 opened 4 years ago

sim6 commented 4 years ago
sim6@lunarstone:~$ mkvirtualenv -p /usr/bin/python3 bluew
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/sim6/.virtualenvs/bluew/bin/python3
Also creating executable in /home/sim6/.virtualenvs/bluew/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
virtualenvwrapper.user_scripts creating /home/sim6/.virtualenvs/bluew/bin/predeactivate
virtualenvwrapper.user_scripts creating /home/sim6/.virtualenvs/bluew/bin/postdeactivate
virtualenvwrapper.user_scripts creating /home/sim6/.virtualenvs/bluew/bin/preactivate
virtualenvwrapper.user_scripts creating /home/sim6/.virtualenvs/bluew/bin/postactivate
virtualenvwrapper.user_scripts creating /home/sim6/.virtualenvs/bluew/bin/get_env_details
(bluew) sim6@lunarstone:~$ pip install bluew
Collecting bluew
  Using cached bluew-0.4.6-py3-none-any.whl (26 kB)
Installing collected packages: bluew
Successfully installed bluew-0.4.6
(bluew) sim6@lunarstone:~$ python
Python 3.7.6 (default, Jan 19 2020, 22:34:52) 
[GCC 9.2.1 20200117] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bluew
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sim6/.virtualenvs/bluew/lib/python3.7/site-packages/bluew/__init__.py", line 15, in <module>
    from .api import connect, disconnect, remove
  File "/home/sim6/.virtualenvs/bluew/lib/python3.7/site-packages/bluew/api.py", line 23, in <module>
    from .connections import Connection
  File "/home/sim6/.virtualenvs/bluew/lib/python3.7/site-packages/bluew/connections.py", line 15, in <module>
    import bluew.plugables
  File "/home/sim6/.virtualenvs/bluew/lib/python3.7/site-packages/bluew/plugables.py", line 13, in <module>
    from bluew.dbusted import DBusted
  File "/home/sim6/.virtualenvs/bluew/lib/python3.7/site-packages/bluew/dbusted/__init__.py", line 13, in <module>
    from .dbusted import DBusted
  File "/home/sim6/.virtualenvs/bluew/lib/python3.7/site-packages/bluew/dbusted/dbusted.py", line 20, in <module>
    from dbus.mainloop.glib import DBusGMainLoop
ModuleNotFoundError: No module named 'dbus'
>>> 
(bluew) sim6@lunarstone:~$