[Python] Tensorflow error could not find a version that satisfies requirement setup.py

Discussão em 'Python' iniciado por Stack, Fevereiro 15, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to install Tensorflow on Jetson Nano. I have followed this document and have been able to install Tensorflow.

    >>> import tensorflow as tf
    >>> tf.__version__
    >>> '2.5.0'


    I am now trying to install object-detection api. For this I have cloned the repository https://github.com/tensorflow/models.git and also installed the proto sudo apt-get install protobuf-compiler and ran below commands

    cd models/research
    protoc object_detection/protos/*.proto --python_out=.
    cp object_detection/packages/tf2/setup.py .
    pip3 install setup.py


    and getting error in installation of setup.py:

    Error: Could not find a version that satisfies the requirement setup.py (from versions: none)
    Error: No matching distribution found for setup.py


    Why is this error happening? I am using Python 3.6 with 64bit version. How can I install object detection api for Tensorflow?

    [​IMG]

    Continue reading...

Compartilhe esta Página