Coder Social home page Coder Social logo

Comments (2)

siddhantgoel avatar siddhantgoel commented on June 12, 2024

Interesting. When releasing on PyPI, I only upload the source distribution. So this sounds like some local installation issue. To verify, I also just installed this package in a fresh virtualenv via PyPI and it worked fine.

Are you using the system provided Python or a local build? Which version of Python is it? Also, are you inside a virtualenv?

from streaming-form-data.

mephi42 avatar mephi42 commented on June 12, 2024

You are right, this must be a local issue. Fresh venv worked (because there is no Py2 I assume):

$ virtualenv py3 --python=python3
$ . py3/bin/activate
$ python3 -m pip install --no-cache-dir 'streaming-form-data == 1.5.1'
$ python3 -c 'import streaming_form_data'

However, this also works:

$ docker run -it --rm ubuntu:18.04
# apt update && apt install -y python python-pip python3 python3-pip
# python3 -m pip install --user --no-cache-dir 'streaming-form-data == 1.5.1'
# python3 -c 'import streaming_form_data'

My system is Ubuntu 19.10 with system-provided Pythons 2.7.17rc1, 3.7.5, PyPy 2.7.13 and PyPy 3.6.1. I'm using a user-local repository (--user).

I think I'll need to debug this myself, since there seems to be no way for you to reproduce this. I will reopen if I find something that might need a change in streaming-form-data. Thanks and sorry for bothering!

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.