Giter Site home page Giter Site logo

pip3 install -r requirements.txt ERROR: Could not find a version that satisfies the requirement onnxruntime==1.8.0 about bytetrack HOT 4 OPEN

NikitaTsekh avatar NikitaTsekh commented on May 29, 2024
pip3 install -r requirements.txt ERROR: Could not find a version that satisfies the requirement onnxruntime==1.8.0

from bytetrack.

Comments (4)

hongquant17 avatar hongquant17 commented on May 29, 2024 2

You can check for solution here #334

from bytetrack.

dsaha21 avatar dsaha21 commented on May 29, 2024 1

Hi there,

For python versions like <=3.6, you can try with
onnx==1.8.1
onnxruntime==1.8.0
onnx-simplifier==0.3.5

For higher versions, just update the above as the following in (#334)
#334

For me, I installed individually in the windows terminal like
pip install onnx == 1.8.1
pip install onnxruntime == 1.8.0
...

from bytetrack.

Denis-666 avatar Denis-666 commented on May 29, 2024 1

thx a lot!!!!!!!!!!!!!!!!!

from bytetrack.

HenriqueSchmitz avatar HenriqueSchmitz commented on May 29, 2024 1

One thing I did is creating a function like such:

def replaceVersionedLibraryForGenericVersion(requirementsFilePath, libraryName) -> None:
  requirementsFile = open(requirementsFilePath, "r")
  editedRequirementsText = []
  libCheckString = libraryName + "=="
  for line in requirementsFile:
    if libCheckString in line:
      editedRequirementsText.append(libraryName + "\n")
    else:
      editedRequirementsText.append(line)
  requirementsFile.close()
  newRequirementsFile = open(requirementsFilePath, "w")
  newRequirementsFile.writelines(editedRequirementsText)
  newRequirementsFile.close()

And then you just have to call

replaceVersionedLibraryForGenericVersion("ByteTrack/requirements.txt", "onnx")
replaceVersionedLibraryForGenericVersion("ByteTrack/requirements.txt", "onnxruntime")

Right after you clone the repo

It is not a great fix and ideally those requirement versions should be updated, but this will allow your cells to continue running without extra manual steps.

from bytetrack.

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.