Comments (9)
Should work on Yosemite. That's what I have on my machines right now.
How did you go about installing it ? "pip install gntp"?
Did you install it with the same version of Python as your script is using ?
from gntp.
pip install gntp, yes. Then installed growlnotify from Growl's website and then just Growl from the App store. I restarted as well to see if that would fix things.
I got around the issue by just not using mini anymore. Instead I'm just making direct system() calls to growlnotify which works fine. Just weird that the import fails.
from gntp.
This library is a pure python implementation so it should work without growlnotify installed.
What's the output of "pip --version"?
I still suspect that the version of python your copy of pip installed it with, is not the same version of python you are running your script with. Which would explain why the import is failing.
from gntp.
Thanks for working with me on this. pip version output is as follows.
pip 1.5.6 from /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg (python 2.7)
from gntp.
Can you also check these two ?
"which python"
"python --version"
from gntp.
Sure. and thank you again.
from gntp.
In your script, can you try using this as the first line, and see if it works correctly ?
#!/usr/local/bin/python
My thought, is that your script was trying to use the system python (/usr/bin/python) but you installed gntp into your brew python (/usr/local/bin/python)
from gntp.
That did it! Thank you so much. Closing :)
from gntp.
Nice! Glad it was a simple problem to fix :)
Feel free to file another issue in the future if you have an issue getting this library to work.
from gntp.
Related Issues (20)
- Disable captured logging HOT 1
- simple one liner example error HOT 4
- Cannot send notification icon HOT 7
- Logging for the gntp script is confused if ~/.gntp does not exist
- Tests failing HOT 3
- Notifying to Growl for Linux fails HOT 3
- Internal logging is invisible: suggestion to fix
- ERROR:gntp.notifier:Invalid response
- Icons on local filesystem HOT 7
- Support incoming password hashing other than MD5 HOT 3
- Timeout while loading icon HOT 3
- Some intermittent connection errors on 10.9 Mavericks (multiple errors) HOT 2
- gntp fails intermittently on OS X 10.9.0 HOT 2
- gntp fails on OS X 10.9.1 HOT 3
- problem when running growlnotifier HOT 3
- Test gntp.notifier fails HOT 15
- Seemingly unable to install with pipsi
- gntp.errors.NetworkError: [Errno 61] Connection refused HOT 1
- The message Prowl received just show one line and the newline part is gone HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gntp.