intelwqp.blogg.se

Pushbullet windows
Pushbullet windows





Success, push = pb.push_note("Testing title", "Hello world!") Then I have created very simple script test.py: #!/usr/bin/python I'm already using PushBullet for some time, so I was interested in this particular Python script. How did you expect it could work? Each library is specific, you can't just rename it to change how it works internally. It expects, that you have Python and python-magic for Cygwin ( for Cygwin! not Windows version) already installed.Ĭopying DLLs to your system directories is nonsense, don't do it. That means execute for example bash (something like C:\cygwin64\bin\bash.exe -login -i) and from bash execute PushBullet script: python PushBullet.py.

pushbullet windows

You have to execute PushBullet.py from Cygwin using a Python for Cygwin, not from Windows Console using a Python for Windows. Why did you install Cygwin if you are not using it? Python for Windows really won't use Cygwin's DLLs.

pushbullet windows

I'm doing this on Windows 7 64bit running Python 32bit 2.7.8 (fresh install today to try and resolve this problem).ĭoes anyone know how to resolve the problem?ĮDIT: Tried on a further 5 different windows computers and all 5 have the same problem(s).įrom the Windows paths in your traceback listings I guess that you are trying to execute PushBullet script from Windows version of Python. If I put cygwin1.dll into C:\Python27\ and rename it to magic.dll I get the following error: Traceback (most recent call last):įile "C:\Python27\lib\site-packages\magic.py", line 185, in įile "C:\Python27\lib\ctypes\_init_.py", line 378, in _getattr_įile "C:\Python27\lib\ctypes\_init_.py", line 383, in _getitem_įunc = self._FuncPtr((name_or_ordinal, self))ĪttributeError: function 'magic_open' not found WindowsError: The specified module could not be found If I put cygmagic-1.dll OR cygz.dll into C:\Python27\ and rename it to magic.dll I get the following error: Traceback (most recent call last):įile "C:\Python27\lib\site-packages\magic.py", line 143, in įile "C:\Python27\lib\ctypes\_init_.py", line 365, in _init_ Raise ImportError('failed to find libmagic. I have followed the dependencies instructions and installed Cygwin and copied the three files to Windows\system32 directory but still getting the following error: Traceback (most recent call last):įile "C:\New Python ActiveX Scripting Engine.py", line 1, in įile "C:\Python27\lib\site-packages\pushbullet\_init_.py", line 2, in įile "C:\Python27\lib\site-packages\pushbullet\pushbullet.py", line 4, in įile "C:\Python27\lib\site-packages\magic.py", line 161, in

pushbullet windows

I'm trying to use PushBullet.py which uses python-magic which in turn uses libmagic.







Pushbullet windows