glitchassassin / rainmeter-python

Plugin for Rainmeter enabling Python 3 scripting
GNU General Public License v2.0
15 stars 5 forks source link

Installing Plugin #3

Closed DieserDampf closed 6 years ago

DieserDampf commented 6 years ago

I can't iniciate your Plugin.

  1. Unziped 'Python.dll' to Rainmeter's 'Plugins' folder
  2. Installed 'python-3.6.6-amd64'
  3. Rainmeter Script Edit:
    [Measure]
    Measure=Plugin
    Plugin=Python
    PythonHome=C:\Users\user\AppData\Local\Programs\Python\Python36\python36.dll
    ScriptPath=C:\Users\user\OneDrive\Dokumente\Rainmeter\Skins\Python\default.py
    ClassName=Measure
    UpdateDivider=1

    Trying to put output to a String. But keeps getting no result.

Greetings, DieserDampf

glitchassassin commented 6 years ago

I don't recall if I ever tested this with Python 3.6. Unfortunately, I no longer use Rainmeter, and kind of gave up on getting this plugin to work.

Good luck with your efforts!

DieserDampf commented 6 years ago

Hello glitchassassin, I don't think it's a problem plugin whise. I did step by step the installation desription, but keep getting 'Error 126' Would be pleased if you got some spare time to help me.

glitchassassin commented 6 years ago

Did you follow the steps in the readme?

For this plugin to function, you'll need to install the Python distribution matching your Rainmeter's architecture (Win32 or x64). If in doubt, use Python x64. The corresponding 'python3x.dll' needs to be in your DLL search path; all standard installers of Python 3 automatically put the DLL into your System32 directory, so this should normally be the case. If you see an "Error 126" in Rainmeter's logs while trying to load the plugin, this is probably your issue.

glitchassassin commented 6 years ago

Make sure the dll is in the right place.

DieserDampf commented 6 years ago

default.py https://pastebin.com/qHK4CdaF

test.ini pastebin.com/Jr0MUnus

File Path imgur.com/N1ZcC0t

Python 3.6.0 x64 .python.org/downloads/release/python-360 -> C:\Python36\ ->Plugin=python36.dll ->PythonHome=C:\Python36\ even Python 3.6.0 x84 -> C:\Python36-32\ ->Plugin=python36.dll ->PythonHome=C:\Python36-32\

DieserDampf commented 6 years ago

And added the 'Python.dll' to Rainmeter

glitchassassin commented 6 years ago

I think you should have:

Plugin=Python
ScriptPath=C:\Users\user\OneDrive\Dokumente\Rainmeter\Skins\Python\default.py
PythonHome=c:\Python36

Did you try copying the python36.dll from your Python directory to your Rainmeter plugin as well?

DieserDampf commented 6 years ago

-> Refreshed the 'python32.dll' in Rainmeter

Plugin=Python
ScriptPath=C:\Users\user\OneDrive\Dokumente\Rainmeter\Skins\Python\default.py
PythonHome=c:\Python36

Works! Thank you for your Time!

glitchassassin commented 6 years ago

Great.