Code Monkey home page Code Monkey logo

Comments (13)

lowvoltage avatar lowvoltage commented on July 19, 2024 2

Same issue here. Steps to reproduce:

wget https://files.pythonhosted.org/packages/4b/ad/8e74e1a027c90baf7ba17760a80afe0a7f7b63725035d1f152a75e801b62/zxing-1.0.2.tar.gz
tar -xvzf zxing-1.0.2.tar.gz
cd zxing-1.0.2
python setup.py bdist_wheel

The URL is the one from https://pypi.org/project/zxing/#files
FWIW, the previous version sdist, zxing-1.0.1.tar.gz has the same problem

from python-zxing.

saiteja2420 avatar saiteja2420 commented on July 19, 2024 1

"FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'"
I am also facing the same issue my python version is 3.10 and openjdk version "11.0.21" 2023-10-17 in my ubuntu 22.04

from python-zxing.

stefan6419846 avatar stefan6419846 commented on July 19, 2024 1

I just stumbled upon this as well, which is even more annoying as the requirements.txt is empty anyway (although we probably get the same issue for the requirements_dev.txt file not required for PyPI users). Adding the requirements*.txt files to a MANIFEST.in file should solve this issue.

from python-zxing.

zeusin avatar zeusin commented on July 19, 2024 1

Having same problem with 1.0.2
If someone need an easy way of getting a working version until this is fixed:
pip3 install zxing==1.0.1

from python-zxing.

dlenski avatar dlenski commented on July 19, 2024 1

Closed in c707794 / v1.0.3. Should be possible to use pip3 install zxing again, and it will Just Work™.

from python-zxing.

stefan6419846 avatar stefan6419846 commented on July 19, 2024 1

I'm going to go with this small incremental fix, rather than your slightly more involved solution in #37.

No worries, this is perfectly fine for me. I just wanted to check correct packaging as well. The build-based approach is the recommended way for generating distributions without having to care about the build backend itself.

from python-zxing.

dlenski avatar dlenski commented on July 19, 2024

I am trying to install ZXing on Python 3.10.6 and it fails on a Sub-Process when trying to get requirements to build the wheel:

Hmmm… exactly how are you attempting to install it? From local source, or what? More details please.

from python-zxing.

Fellow-Bennse avatar Fellow-Bennse commented on July 19, 2024

@dlenski well, as it's mentioned on pypi with: pip install zxing
(due to my setup pip is the same as pip3)

But as lowvoltage mentioned it also fails through the other way

from python-zxing.

saiteja2420 avatar saiteja2420 commented on July 19, 2024

I am trying to install ZXing on Python 3.10.6 and it fails on a Sub-Process when trying to get requirements to build the wheel:

Hmmm… exactly how are you attempting to install it? From local source, or what? More details please.

I used pip3 install zxing . this command raised the above FileNotFoundError.

from python-zxing.

no2spc avatar no2spc commented on July 19, 2024

I have the same problem using the automated install
pip install zxing
I could solve it, by manually download and extracting the version from GitHub, and install it manually:
pip install python-zxing-1.0.2/

from python-zxing.

PushpakBhoge512 avatar PushpakBhoge512 commented on July 19, 2024

yes the wheel has some issues I am using this command it is working fine

pip install 'zxing @ git+https://github.com/dlenski/[email protected]#zxing'

from python-zxing.

dlenski avatar dlenski commented on July 19, 2024

Thank you @stefan6419846!

I just stumbled upon this as well, which is even more annoying as the requirements.txt is empty anyway (although we probably get the same issue for the requirements_dev.txt file not required for PyPI users). Adding the requirements*.txt files to a MANIFEST.in file should solve this issue.

I'm going to go with this small incremental fix, rather than your slightly more involved solution in #37.

I probably need to catch up in my knowledge of more modern Python packaging approaches and tools 😅

from python-zxing.

dlenski avatar dlenski commented on July 19, 2024

The build-based approach is the recommended way for generating distributions without having to care about the build backend itself.

This is where I avowedly need to do something like a decade's worth on catching up on the state-of-the-art of Python packaging.

from python-zxing.

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.