Closed AnamikaPaul closed 2 years ago
Let me check, I'm working for a new pimped version :-)
how did you install jtop? If you used "pip install" (the library is only available on python 2.7) In this case, you need to:
sudo -H pip uninstall jetson_stats
reboot and
sudo -H pip3 install jetson_stats
If you didn't fix it, reopen this issue
Describe the bug When i run this code it doesnt get jtop and shows error. i have already installed jtop
from jtop import jtop import json, datetime
if name == "main":
To Reproduce
python3 jtop.py Traceback (most recent call last): File "jtop.py", line 8, in
from jtop import jtop
File "/home/anamika/Downloads/yolo_5/jtop.py", line 8, in
from jtop import jtop
ImportError: cannot import name 'jtop'
anamika@anamika-desktop:~/Downloads/yolo_5$ python3 --version
Python 3.6.9