Code Monkey home page Code Monkey logo

Comments (5)

LeoHsiao1 avatar LeoHsiao1 commented on August 25, 2024

Yes, this code used to have a problem recognizing python 3.10 as python 3.1. But in 2021 I have fixed this bug.
The question is why are you installing an old version of pyexiv2.
May I ask how you installed pyexiv2? If it was pip install pyexiv2, what version of pyexiv2 does it show?
May I ask the version of your computer's operating system?

from pyexiv2.

jsh9 avatar jsh9 commented on August 25, 2024

I used pip install pyexiv2 and 2.5.0 was installed.

If I tried to force the version by pip install pyexiv2==2.12.0, I encountered this error:

ERROR: Ignored the following yanked versions: 2.4.0, 2.6.0
ERROR: Could not find a version that satisfies the requirement pyexiv2==2.12.0 (from versions: 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.1, 2.5.0)
ERROR: No matching distribution found for pyexiv2==2.12.0

It's probably because the newer versions don't have corresponding distributions for Python 3.11. (I'm on Python 3.11, and I'm on macOS.)

from pyexiv2.

LeoHsiao1 avatar LeoHsiao1 commented on August 25, 2024

I'm guessing your CPU is Apple M1, which uses the ARM architecture.
Currently, if you use ARM platform, you need to compile exiv2 and pyexiv2 manually, which is troublesome. (related issue)
The newer version of pyexiv2 declares a defect for arm, so when you execute pip install pyexiv2==2.12.0 you will get an error.
The older versions of pyexiv2 don't strictly declare compatibility, so you can install pyexiv2==2.5.0. But even after installing it, it can't be imported as a Python library.

from pyexiv2.

LeoHsiao1 avatar LeoHsiao1 commented on August 25, 2024

To avoid misleading new users, I will hide older versions of pyexiv2 below 2.5.0 on pypi.org.

from pyexiv2.

LeoHsiao1 avatar LeoHsiao1 commented on August 25, 2024

Hi!
I just released pyexiv2 v2.14.0, which provides the wheel package on macos-14 with arm64 architecture.
See #108

from pyexiv2.

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.