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

pywinusb errors #6

Open
XSecr3t opened this issue Nov 10, 2019 · 1 comment
Open

pywinusb errors #6

XSecr3t opened this issue Nov 10, 2019 · 1 comment

Comments

@XSecr3t
Copy link

XSecr3t commented Nov 10, 2019

do not understand for this session, can you help me?

pywinusb
/usr/local/lib/python3.7/dist-packages/py_winusb-0.2.0.1-py3.7.egg/pywinusb/main.py:2: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, GObject, Gdk
Traceback (most recent call last):
File "/usr/local/bin/pywinusb", line 11, in
load_entry_point('py-winusb==0.2.0.1', 'console_scripts', 'pywinusb')()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2843, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2434, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2440, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.7/dist-packages/py_winusb-0.2.0.1-py3.7.egg/pywinusb/main.py", line 3, in
from pywinusb.window import AppWindow
File "/usr/local/lib/python3.7/dist-packages/py_winusb-0.2.0.1-py3.7.egg/pywinusb/window.py", line 4, in
from pywinusb.creator import USBCreator
File "/usr/local/lib/python3.7/dist-packages/py_winusb-0.2.0.1-py3.7.egg/pywinusb/creator.py", line 1, in
import sh, os, re, threading, hashlib, subprocess
ModuleNotFoundError: No module named 'sh'

thank you

@Mati365
Copy link
Owner

Mati365 commented Nov 10, 2019

Thx! I will check it

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