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