Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip3 not Found error #7

Open
Odianosen25 opened this issue Mar 14, 2020 · 0 comments
Open

Pip3 not Found error #7

Odianosen25 opened this issue Mar 14, 2020 · 0 comments

Comments

@Odianosen25
Copy link

Hello,

Thanks again for your file. I have been using it for a while, and recently tried to rebuild it again. ALl of a sudden I get the below

(131/139) Upgrading libgfortran (8.3.0-r0 -> 9.2.0-r6)
(132/139) Upgrading gfortran (8.3.0-r0 -> 9.2.0-r6)
(133/139) Upgrading tiff (4.0.10-r3 -> 4.1.0-r0)
(134/139) Upgrading libtiffxx (4.0.10-r3 -> 4.1.0-r0)
(135/139) Upgrading tiff-dev (4.0.10-r3 -> 4.1.0-r0)
(136/139) Installing libidn2 (2.3.0-r0)
(137/139) Upgrading wget (1.20.3-r0 -> 1.20.3-r1)
(138/139) Purging mpfr3 (3.1.5-r1)
(139/139) Purging llvm8-libs (8.0.0-r1)
Executing busybox-1.31.1-r13.trigger
Executing ca-certificates-20191127-r2.trigger
Executing glib-2.64.1-r0.trigger
No schema files found: doing nothing.
OK: 970 MiB in 193 packages
'/usr/local/bin/python' -> '/usr/bin/python3'
'/usr/local/bin/pip' -> '/usr/bin/pip3'
'/usr/include/libpng' -> '/usr/include/libpng16'
'/usr/include/xlocale.h' -> '/usr/include/locale.h'
/bin/sh: pip3: not found
The command '/bin/sh -c apk add --update --no-cache     build-base clang clang-dev cmake pkgconf wget openblas openblas-dev     linux-headers     libjpeg-turbo libjpeg-turbo-dev     libpng libpng-dev     libwebp libwebp-dev     tiff tiff-dev     jasper-libs jasper-dev     openexr openexr-dev     ffmpeg-libs ffmpeg-dev     libavc1394 libavc1394-dev     gstreamer gstreamer-dev     gst-plugins-base gst-plugins-base-dev     libgphoto2 libgphoto2-dev &&     apk add --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing             --update --no-cache libtbb libtbb-dev &&     apk add --repository http://dl-cdn.alpinelinux.org/alpine/edge/main             --update --no-cache python3 python3-dev &&     apk upgrade --repository http://dl-cdn.alpinelinux.org/alpine/edge/main musl &&     ln -vfs /usr/bin/python3 /usr/local/bin/python &&     ln -vfs /usr/bin/pip3 /usr/local/bin/pip &&     ln -vfs /usr/include/libpng16 /usr/include/libpng &&     ln -vfs /usr/include/locale.h /usr/include/xlocale.h &&     pip3 install -v --no-cache-dir --upgrade pip &&     pip3 install -v --no-cache-dir numpy &&     cd /tmp &&     wget https://github.com/opencv/opencv/archive/$OPENCV_VERSION.tar.gz &&     tar -xvzf $OPENCV_VERSION.tar.gz &&     rm -vrf $OPENCV_VERSION.tar.gz &&     mkdir -vp /tmp/opencv-$OPENCV_VERSION/build &&     cd /tmp/opencv-$OPENCV_VERSION/build &&     cmake         -D CMAKE_BUILD_TYPE=RELEASE         -D CMAKE_C_COMPILER=/usr/bin/clang         -D CMAKE_CXX_COMPILER=/usr/bin/clang++         -D CMAKE_INSTALL_PREFIX=/usr         -D INSTALL_PYTHON_EXAMPLES=NO         -D INSTALL_C_EXAMPLES=NO         -D WITH_IPP=NO         -D WITH_1394=NO         -D WITH_LIBV4L=NO         -D WITH_V4l=YES         -D WITH_TBB=YES         -D WITH_FFMPEG=YES         -D WITH_GPHOTO2=YES         -D WITH_GSTREAMER=YES         -D BUILD_DOCS=NO         -D BUILD_TESTS=NO         -D BUILD_PERF_TESTS=NO         -D BUILD_EXAMPLES=NO         -D BUILD_opencv_java=NO         -D BUILD_opencv_python2=NO         -D BUILD_ANDROID_EXAMPLES=NO         -D PYTHON3_LIBRARY=`find /usr -name libpython3.so`         -D PYTHON_EXECUTABLE=`which python3`         -D PYTHON3_EXECUTABLE=`which python3`         -D BUILD_opencv_python3=YES .. &&     make -j`grep -c '^processor' /proc/cpuinfo` &&     make install &&     cd / && rm -vrf /tmp/opencv-$OPENCV_VERSION &&     apk del --purge build-base clang clang-dev cmake pkgconf wget openblas-dev                     openexr-dev gstreamer-dev gst-plugins-base-dev libgphoto2-dev                     libtbb-dev libjpeg-turbo-dev libpng-dev tiff-dev jasper-dev                     ffmpeg-dev libavc1394-dev python3-dev &&     rm -vrf /var/cache/apk/*' returned a non-zero code: 127

Will be gracious if you could point me in the right direction on how to fix this please.

Kind regards

@Odianosen25 Odianosen25 changed the title Pip3 not Found Pip3 not Found error Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant