You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
I see lots of old questions on this - but nothing recent or definitive.
Can I install python bindings to rrd/rrdtools on windows?
Sorry if this is already described somewhere that I missed.
I am trying to install rrd/rrdtools on windows.
There is a long thread back to 2008 on this, but I can't find any recent working solutions.
"pip install rrdtools"
fails with: missing rrd.h
That should come from:
pip install rrdtools-devel,
which fails with:
could not find a version
python-rrdtool install fails:
os.chmod(executable, 0777)
^
SyntaxError: leading zeros in decimal integer literals are not permitted;
use an 0o prefix for octal integers
Downloading the "current" (2012 V1.4.7) version and trying to install, same error on chmod.
The build from source instructions do not include Windows.
× python setup.py egg_info did not run successfully.
¦ exit code: 1
?-> [3 lines of output]
test_rrdtool.c
C:\Users\GREGOR~1\AppData\Local\Temp\tmp_python_rrdtoolcyqpeidj\test_rrdtool.c(2): fatal error C1083: Cannot open include file: 'rrd.h': No such file or directory
Error: Unable to compile the binary module. Do you have the rrdtool header and libraries installed?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
?-> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
PS C:\Users\Gregory Guthrie\Desktop\rrd-redo> pip install rrdtool-devel
ERROR: Could not find a version that satisfies the requirement rrdtool-devel (from versions: none)
ERROR: No matching distribution found for rrdtool-devel
PS C:\Users\Gregory Guthrie\Desktop\rrd-redo> pip install rrdtool-python
ERROR: Could not find a version that satisfies the requirement rrdtool-python (from versions: none)
ERROR: No matching distribution found for rrdtool-python
× python setup.py egg_info did not run successfully.
¦ exit code: 1
?-> [7 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Gregory Guthrie\AppData\Local\Temp\pip-install-46cgxtm8\python-rrdtool_81e606f4140c4924958eaa9061fb5b44\setup.py", line 61
os.chmod(executable, 0777)
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
?-> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered:
I see lots of old questions on this - but nothing recent or definitive.
Can I install python bindings to rrd/rrdtools on windows?
Sorry if this is already described somewhere that I missed.
I am trying to install rrd/rrdtools on windows.
There is a long thread back to 2008 on this, but I can't find any recent working solutions.
"pip install rrdtools"
fails with: missing rrd.h
That should come from:
pip install rrdtools-devel,
which fails with:
could not find a version
python-rrdtool install fails:
os.chmod(executable, 0777)
^
SyntaxError: leading zeros in decimal integer literals are not permitted;
use an 0o prefix for octal integers
Downloading the "current" (2012 V1.4.7) version and trying to install, same error on chmod.
The build from source instructions do not include Windows.
Does the rrd system & tools run on windows?
PS C:\Users\Gregory Guthrie\Desktop\rrd-redo> pip install rrdtool
Collecting rrdtool
Using cached rrdtool-0.1.16.tar.gz (22 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
¦ exit code: 1
?-> [3 lines of output]
test_rrdtool.c
C:\Users\GREGOR~1\AppData\Local\Temp\tmp_python_rrdtoolcyqpeidj\test_rrdtool.c(2): fatal error C1083: Cannot open include file: 'rrd.h': No such file or directory
Error: Unable to compile the binary module. Do you have the rrdtool header and libraries installed?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
?-> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
PS C:\Users\Gregory Guthrie\Desktop\rrd-redo> pip install rrdtool-devel
ERROR: Could not find a version that satisfies the requirement rrdtool-devel (from versions: none)
ERROR: No matching distribution found for rrdtool-devel
PS C:\Users\Gregory Guthrie\Desktop\rrd-redo> pip install rrdtool-python
ERROR: Could not find a version that satisfies the requirement rrdtool-python (from versions: none)
ERROR: No matching distribution found for rrdtool-python
PS C:\Users\Gregory Guthrie\Desktop\rrd-redo> pip install python-rrdtool
Collecting python-rrdtool
Using cached python-rrdtool-1.4.7.tar.gz (1.4 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
¦ exit code: 1
?-> [7 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Gregory Guthrie\AppData\Local\Temp\pip-install-46cgxtm8\python-rrdtool_81e606f4140c4924958eaa9061fb5b44\setup.py", line 61
os.chmod(executable, 0777)
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
?-> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered: