Coder Social home page Coder Social logo

Comments (5)

patrislav1 avatar patrislav1 commented on June 1, 2024

seems related to #32 where the C code is compiled with Python 2.7 headers, but linked against 3.x

from streaming-form-data.

BenBE avatar BenBE commented on June 1, 2024

Seems to be an issue with poetry used in the setup script:
python-poetry/poetry#655 (comment)

Forcing /usr/bin/python to symlink to /usr/bin/python3 resolved the issue. Didn't try the virtualenv solutions as I'm not using a virtualenv.

from streaming-form-data.

siddhantgoel avatar siddhantgoel commented on June 1, 2024

@patrislav1 could you try installing inside a virtualenv and see if that works?

Ideally I'd love to be able to publish binary wheels so users wouldn't need to compile the package locally. Unfortunately at the moment Poetry does not support this. I would also be open to switching away from Poetry due to this reason in favor of a simple setup.py. In that case though, I would only be able to push wheels for Linux as I don't have other OSs installed (building wheels for a given platform requires access to that platform).

If you can think of a workaround, let me know!

from streaming-form-data.

patrislav1 avatar patrislav1 commented on June 1, 2024

I guess there could be complications to shipping binaries as well - different versions of glibc and of other dependencies on users' systems for example.

For the Python version issue, one workaround would be to temporarily change the system-wide symlink, as @BenBE pointed out.
Another possible workaround could be to use poetry env use to specify the Python executable used by poetry, however I can't check that at the moment.

from streaming-form-data.

siddhantgoel avatar siddhantgoel commented on June 1, 2024

I guess there could be complications to shipping binaries as well - different versions of glibc and of other dependencies on users' systems for example.

Good point. My guess is that if pip allows uploading and installing binary packages, it should be able to figure those things out. I haven't tried it though.

Anyway, I feel this is more of a local environment issue and has less to do with this package itself. I'm going to mark this issue as closed. If you feel that I could change something in how I build and upload this package, feel free to reopen.

from streaming-form-data.

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.