bastienleonard / pysensors Goto Github PK
View Code? Open in Web Editor NEWEasy Linux hardware monitoring in Python
Home Page: https://bastienleonard.github.io/pysensors
License: Other
Easy Linux hardware monitoring in Python
Home Page: https://bastienleonard.github.io/pysensors
License: Other
Just wanted to leave a thank you, as I cannot believe that for i3pystatus, on the current linux, this is the only one that works for me!
I tried to install this package into my machine and there is no folder name within the repo called sensor.
There is a library call in sensorsmodule.c file that is causing this message at shell: sensorsmodule.c:32:27: fatal error: sensors/error.h: file not found.
Thanks for this awesome binding.
Hi
I'm trying to install pysensors from pip and it fails with
Collecting pysensors
Downloading PySensors-0.0.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-b7_uqqru/pysensors/setup.py", line 4, in <module>
import sensors
File "/tmp/pip-build-b7_uqqru/pysensors/sensors/__init__.py", line 21, in <module>
MAJOR_VERSION = int(VERSION.split('.', 1)[0])
TypeError: a bytes-like object is required, not 'str'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-b7_uqqru/pysensors/
the same with pip3
I have libsensors4-dev installed
Thanks
When my intel WiFi NICs are rfkilled sensorsd can't get the temperature anymore it seems, and when my i3 bar tries to get the value for the sensors.SUBFEATURE_TEMP_INPUT
subfeature I get an exception raised:
sensors.SensorsException: I/O error
Hi.
It's a really cool project and it works nice but not in the docker container.
For some reason, I'm getting error during installation:
Collecting PySensors
Downloading PySensors-0.0.4.tar.gz (10 kB)
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6sdmbvy5/pysensors/setup.py'"'"'; __file__='"'"'/tmp/pip-install-6sdmbvy5/pysensors/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-3xslclh3
cwd: /tmp/pip-install-6sdmbvy5/pysensors/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-6sdmbvy5/pysensors/setup.py", line 3, in <module>
import sensors
File "/tmp/pip-install-6sdmbvy5/pysensors/sensors/__init__.py", line 20, in <module>
raise ImportError("can't find the sensors library.")
ImportError: can't find the sensors library.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Part of my dockerfile:
FROM python:3.8.5-alpine
RUN apk add build-base linux-headers ethtool zlib-dev jpeg-dev freetype-dev
RUN pip3 install wheel luma.core luma.oled psutil PySensors
I'm not closely familiar with docker and python, so maybe the issue isn't related to the library itself.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.