On jetson nano, I tried pip install xxx.whl with Dockerfile but got an error (xxx.whl is not a supported wheel on this platform.)

Attempting pip install xxx.whl with Dockerfile on jetson nano but error

Dockerfile(Excerpt of the relevant part)


RUN wget https://nvidia.box.com/shared/static/yhlmaie35hu8jv2xzvtxsh0rrpcu97yj.whl && \	
    mv yhlmaie35hu8jv2xzvtxsh0rrpcu97yj.whl torch-1.4.0-cp27-cp27mu-linux_aarch64.whl && \
    pip install torch-1.4.0-cp27-cp27mu-linux_aarch64.whl
torch-1.4.0-cp27-cp27mu-linux_aarch64.whl is not a supported wheel on this platform.

Here is a proven procedure, but an error occurs on the Dockerfile. why,,,

When I output the pip version on the Dockerfile, it points to python3 for some reason.

# pip --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

The solution was to use python -m pip install instead of pip install. why,,,

Dockerfile(Excerpt of the relevant part)


RUN wget https://nvidia.box.com/shared/static/yhlmaie35hu8jv2xzvtxsh0rrpcu97yj.whl && \	
    mv yhlmaie35hu8jv2xzvtxsh0rrpcu97yj.whl torch-1.4.0-cp27-cp27mu-linux_aarch64.whl && \
    python -m pip install torch-1.4.0-cp27-cp27mu-linux_aarch64.whl

Recommended Posts

On jetson nano, I tried pip install xxx.whl with Dockerfile but got an error (xxx.whl is not a supported wheel on this platform.)
Attempting pip install xxx.whl on jetson nano resulted in an error (.whl is not a valid wheel filename)
Attempting pip install pytorch on jetson nano resulted in an error (error: package directory'torch / cuda' does not exist)
I built a CentOS 8 environment with Vagrant and tried to sync_folder, but I got an error, so I solved it.
I struggled with pip install on an M1 Mac
I tried to use docker with jetson jetpack4.3 but got an error (docker: Error response from daemon: OCI runtime create failed: container_linux.go: 345: starting container process caused ...)
[Mockito] 3.2.4 → 3.3.x, but I got an error (Iketenai)
I got an error when trying to install sbt to build a Scala development environment