[Libguestfs] [libnbd] ImportError: cannot import name 'Error'

Richard W.M. Jones rjones at redhat.com
Mon Jul 22 12:59:02 UTC 2019


13:38 < mkletzan> rjones: Not sure where to look, but when I do just `import nbd` from python on the clean installation of libnbd, I just get `ImportError: cannot 
                  import name 'Error'`

I can't reproduce it:

$ rpm -q python3-libnbd
python3-libnbd-0.1.8-1.fc30.x86_64
$ python3
Python 3.7.3 (default, May 11 2019, 00:38:04) 
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import nbd
>>> 

Do you know which version of libnbd & python this happens for?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list