Comments (5)
seems related to #32 where the C code is compiled with Python 2.7 headers, but linked against 3.x
from streaming-form-data.
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.
@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.
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.
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)
- No wheels deployed HOT 3
- Ubuntu Server slow speed HOT 1
- How do you read file name? HOT 2
- Support for AsyncIO HOT 2
- Install failure with pip 20 and setuptools 46 HOT 8
- __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) A wheel is created for you to put on pypi. HOT 6
- Any ideas how to deal with excel files in streaming ? HOT 1
- Get file name HOT 2
- Handling multi-valued fields? HOT 10
- Parser won't get registered and receive chunk data as a flask_appbuilder app in airflow webserver ui HOT 5
- How to use to read image file? HOT 2
- Move C declarations to a .pxd file to be available to other Cython modules. HOT 7
- Question: Does it support to parse raw multipart/form-data bodies ? HOT 5
- handler _parser.data_received failed with delimiting multipart stream into parts HOT 1
- `cgi` is being deprecated in 3.13 HOT 1
- smart-open as an optional dependency HOT 3
- How to validate content-type? HOT 7
- Question: Is it possible to raise an error when data for a non-registered target is parsed? HOT 7
- Fails to install with PyPy 3.10 on Windows HOT 3
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 streaming-form-data.