GithubHelp home page GithubHelp logo

Comments (7)

msanders avatar msanders commented on August 28, 2024 1

cd out of the autopy directory and try again.

from autopy-legacy.

samirunni avatar samirunni commented on August 28, 2024
>>> import autopy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/autopy/__init__.py", line 8, in <module>
    import autopy.bitmap
ImportError: /usr/lib/python2.6/site-packages/autopy/bitmap.so: undefined symbol: MMPointMake

from autopy-legacy.

beyondkaoru avatar beyondkaoru commented on August 28, 2024

I'm running into the MMPointMake problem as well. I'm also on Gentoo, so perhaps that's related. I'm not familiar with C preprocessing, but could it be the H_INLINE business?

from autopy-legacy.

samirunni avatar samirunni commented on August 28, 2024

Yes, that's possible. Did you manage to find any workarounds?

from autopy-legacy.

mgregson avatar mgregson commented on August 28, 2024

It's almost certain that the problem happens because you used a compiler that the H_INLINE trick knows about, and the MMPointMake function is (correctly) compiled as an inline function. You can fix this by un-inlining all the inline functions in the C code.

from autopy-legacy.

msanders avatar msanders commented on August 28, 2024

@mgregson, @srunni, and @beyondkaoru: I've updated the definition of H_INLINE and removed the INLINE definition and modifiers entirely (as @mgregson stated in another issue he submitted, it was an oversight to include them as they should really just be shared, ordinary functions). If you have the time, would you mind testing this again to make sure I got it right?

from autopy-legacy.

solupro avatar solupro commented on August 28, 2024

when i setup, i found the default path is "/usr/local/lib/python2.7/dist-packages/autopy"(ubuntu12.04), then i copy autopy folder to "/usr/lib/python2.7/dist-packages/" it can run! 👍

from autopy-legacy.

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.