-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
While running sudo ./run.sh after cloning the repo, the pip install numpy scipy line fails
menonsandu@menonsandu-Predator-PH315-52:~/stereo-callibration/pyORBSLAM2$ sudo ./run.sh
Building image...
Sending build context to Docker daemon 245.2kB
Step 1/45 : FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04
---> 9533c5da3485
Step 2/45 : RUN apt-get update && apt-get install -y openssh-server
---> Using cache
---> 241398cbb30b
Step 3/45 : RUN mkdir /var/run/sshd
---> Using cache
---> 1a9d405cc763
Step 4/45 : RUN echo 'root:source' | chpasswd
---> Using cache
---> 24b4d4ac22b7
Step 5/45 : RUN sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
---> Using cache
---> 6e54304a9b1e
Step 6/45 : RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
---> Using cache
---> de772bc87961
Step 7/45 : ENV NOTVISIBLE "in users profile"
---> Using cache
---> 5b2540a2ce5b
Step 8/45 : RUN echo "export VISIBLE=now" >> /etc/profile
---> Using cache
---> 95158f7ac167
Step 9/45 : RUN echo "export PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:\$PATH" >> /root/.bashrc
---> Using cache
---> 351c1e1817cb
Step 10/45 : RUN echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/usr/local/nvidia/lib:/usr/local/nvidia/lib64" >> /root/.bashrc
---> Using cache
---> a68dcb194a94
Step 11/45 : RUN apt-get update && apt-get install -y --no-install-recommends apt-utils # Fix
---> Using cache
---> f0b1f832d871
Step 12/45 : RUN apt-get -y upgrade
---> Using cache
---> a2903dc88d68
Step 13/45 : RUN apt-get -y install python3
---> Using cache
---> 438d0830124a
Step 14/45 : RUN apt-get -y install python3-pip
---> Using cache
---> 77d8f70846f7
Step 15/45 : RUN pip3 install pip --upgrade
---> Using cache
---> 264df95701b6
Step 16/45 : RUN pip3 install numpy scipy
---> Running in 1ce4598dee86
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 7, in <module>
from pip._internal.cli.main import main
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 57
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
The command '/bin/sh -c pip3 install numpy scipy' returned a non-zero code: 1
Removing older image...
Error: No such container: orbslam0
Running image...
Unable to find image 'orbslam:latest' locally
docker: Error response from daemon: pull access denied for orbslam, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
Error: No such object: orbslam0
CONTAINER IP::
DOCKER IP::
Error: No such container: orbslam0
DOCKER PUBLISHED PORT 22 -> ::
./run.sh: line 26: /root/.ssh/config: No such file or directory
mkstemp: No such file or directory
Login password is: :
Bad port 'root@'
the pip version no longer supports python 3.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels