danielhilst

Instalar pyllectd

Sep 19th, 2012
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. *** Python 2.6 ***
  2. Download python 2.6 for windows from URL and install it
  3.  
  4.  
  5. *** collectd.py ***
  6.  
  7. - Download the collectd-1.0.1.tar.gz from URL
  8. - Extract to some folder
  9. - Copy collectd.py to C:\Python26\Lib\site-packages
  10.  
  11.  
  12.  
  13.  
  14. *** pywin32 ***
  15.  
  16.  
  17. I don't know the cause, but I got the same error (only with different line numbers, maybe from a different version of pywin32), and this fix worked for me, installing on windows 7:
  18.  
  19. Extract the installer file to a directory using the free 7zip (or similar) program
  20. Copy everything in the PLATLIB directory to C:\Python26\Lib\site-packages
  21.  
  22. Open a command prompt to the SCRIPT directory and type:
  23.  
  24. python pywin32_postinstall.py -install
  25.  
  26. You must have Python already installed (perhaps obviously) and in your windows PATH environment variable for this to work. You can also try the testall script in that PLATLIB directory, though for me it hung and I was able to import pywin32 modules from the Python IDLE just fine.
  27.  
  28. (Trying to run the installer in compatibility mode didn't solve this for me.)
  29.  
  30.  
  31. *** pyllectd ***
  32.  
  33. - Download the zip from github
  34. - Extract it to where you like
  35. - Edit config.py file
  36. - Start it with python main.py on directory where you've extracted
Advertisement
Add Comment
Please, Sign In to add comment