suhanna / System_info

MIT License
7 stars 6 forks source link

Module 'system_info' has no attribute 'sysInfo' #8

Open sallenke opened 3 years ago

sallenke commented 3 years ago

On Windows 10, used the pip install system-info command. Unable to run the following:

import system_info print(system_info.sysInfo)

Verified the files existed within my python directory. Ran dir(system_info) and got back the following ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__']

Imported another module and ran its functions fine. Feeling like I'm missing something stupid. Any advice?

CharlesB2 commented 2 years ago

Make sure you have from system_info import sysInfo before, and then call sysinfo.sysInfo