Code Monkey home page Code Monkey logo

Comments (7)

Marginal avatar Marginal commented on July 24, 2024

It's designed to be run with the built-in Python, Tcl/Tk etc on OSX.

Try running with ./EDMarketConnector.py Edit: Looking more carefully, that is what you're doing.
I suggest reconfiguring your activetcl installation to remove activetcl from the default Python's search path.

from edmarketconnector.

intel352 avatar intel352 commented on July 24, 2024

I was getting this error prior to installing activetcl, and installing it didn't change the error. So if anything, I'm betting it's more related to me using Python installed via brew. I'll try w/ the vanilla Python install.

from edmarketconnector.

Marginal avatar Marginal commented on July 24, 2024

If you've overwritten /usr/bin/python with the Homebrew Python, then you can invoke the built-in Python with python2.7 EDMarketConnector.py or, if you've overwritten that too, with /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python EDMarketConnector.py

from edmarketconnector.

intel352 avatar intel352 commented on July 24, 2024

I didn't replace Python directly, I only updated the .py scripts to reference the /usr/local/bin/python executable instead.

Reverting that, and removing my change that disabled the hotkey logic, allows me to run the app without any error. It would be nice to be able to get this working without having to rely on system-version binaries, but it's working now so that'll suffice.

Thanks!

from edmarketconnector.

Marginal avatar Marginal commented on July 24, 2024

I only updated the .py scripts to reference the /usr/local/bin/python executable instead.

And you didn't think to mention this in your original post?

It would be nice to be able to get this working without having to rely on system-version binaries

Why? But if it bothers you then I'll welcome a patch that detects your versions of Python and/or Tcl/Tk and does the right thing.

from edmarketconnector.

intel352 avatar intel352 commented on July 24, 2024

Sorry for not being more clear previously, felt I'd implied that when I mentioned I installed python via brew, but I can see that would be misleading due to how the .py was executed.

Re: avoiding reliance on system-version binaries, OSes don't always keep their software packages up to date, so it's nice to be able to use a package manager. Guess I'm personally just more inclined to installing explicit library versions, such as is done with PHP (Composer), NodeJS (npm), Ruby (gem).

from edmarketconnector.

Marginal avatar Marginal commented on July 24, 2024

I'd happy to re-open if you can provide a reason why it's important that this program should work when modified to use a non-default version of Python.

from edmarketconnector.

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.