From: Xiaofan C. <xia...@gm...> - 2021-01-14 01:37:23
|
On Thu, Jan 14, 2021 at 9:30 AM Saeed Mirghasemi <s.m...@gm...> wrote: > > Hi, > > I am working on a Jetson Nano with Ubuntu 18.04. The common 'pip install pyusb' did > not work and I got this error: > ModuleNotFoundError: No module named 'usb' > > Upon running: > import usb.core > > Then I tried: > sudo python3 -mpip install pyusb > > This worked but when I try 'import usb.core' in a virtual environment, I am getting the same error. > Any idea what is happening here? > You need to install pyusb in your virtual environment as well. -- Xiaofan |