Giter VIP home page Giter VIP logo

Comments (9)

kfdm avatar kfdm commented on July 18, 2024

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.

dep-deprecated avatar dep-deprecated commented on July 18, 2024

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.

kfdm avatar kfdm commented on July 18, 2024

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.

dep-deprecated avatar dep-deprecated commented on July 18, 2024

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.

kfdm avatar kfdm commented on July 18, 2024

Can you also check these two ?

"which python"
"python --version"

from gntp.

dep-deprecated avatar dep-deprecated commented on July 18, 2024

Sure. and thank you again.

which python /usr/local/bin/python

python --version Python 2.7.3

from gntp.

kfdm avatar kfdm commented on July 18, 2024

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.

dep-deprecated avatar dep-deprecated commented on July 18, 2024

That did it! Thank you so much. Closing :)

from gntp.

kfdm avatar kfdm commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.