Closed ans-qureshi closed 5 years ago
@romi-seecs Thank you for trying out MINOS.
The error appears to be due to your python installation being a system-level installation (and thus requiring sudo permissions to install additional packages through pip
).
Please try either using a virtualenv
or conda
python, or if you use the system-wide python installation still (which is generally not recommended), you will likely have to run with sudo
.
Thank you for the response. I installed anaconda but got same error, however I tried the command 'sudo pip3 install -e .' and got following result
romi@romi-Z370-AORUS-Gaming-3:~/minos$ sudo pip3 install -e .
[sudo] password for romi:
The directory '/home/romi/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/romi/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Obtaining file:///home/romi/minos
Requirement already satisfied: socketIO-client-2 in /home/romi/.local/lib/python3.5/site-packages (from minos-sim==0.5.3) (0.7.4)
Requirement already satisfied: numpy in /home/romi/.local/lib/python3.5/site-packages (from minos-sim==0.5.3) (1.15.4)
Requirement already satisfied: scipy in /home/romi/.local/lib/python3.5/site-packages (from minos-sim==0.5.3) (1.1.0)
Requirement already satisfied: easydict in /home/romi/.local/lib/python3.5/site-packages (from minos-sim==0.5.3) (1.9)
Requirement already satisfied: matplotlib in /home/romi/.local/lib/python3.5/site-packages (from minos-sim==0.5.3) (3.0.1)
Requirement already satisfied: pygame in /home/romi/.local/lib/python3.5/site-packages (from minos-sim==0.5.3) (1.9.4)
Requirement already satisfied: Pillow in /home/romi/.local/lib/python3.5/site-packages (from minos-sim==0.5.3) (5.3.0)
Requirement already satisfied: psutil in /home/romi/.local/lib/python3.5/site-packages (from minos-sim==0.5.3) (5.4.8)
Requirement already satisfied: pyyaml in /home/romi/.local/lib/python3.5/site-packages (from minos-sim==0.5.3) (3.13)
Requirement already satisfied: requests in /home/romi/.local/lib/python3.5/site-packages (from socketIO-client-2->minos-sim==0.5.3) (2.20.0)
Requirement already satisfied: websocket-client in /home/romi/.local/lib/python3.5/site-packages (from socketIO-client-2->minos-sim==0.5.3) (0.54.0)
Requirement already satisfied: six in /home/romi/.local/lib/python3.5/site-packages (from socketIO-client-2->minos-sim==0.5.3) (1.11.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/romi/.local/lib/python3.5/site-packages (from matplotlib->minos-sim==0.5.3) (1.0.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/romi/.local/lib/python3.5/site-packages (from matplotlib->minos-sim==0.5.3) (2.3.0)
Requirement already satisfied: python-dateutil>=2.1 in /home/romi/.local/lib/python3.5/site-packages (from matplotlib->minos-sim==0.5.3) (2.7.5)
Requirement already satisfied: cycler>=0.10 in /home/romi/.local/lib/python3.5/site-packages (from matplotlib->minos-sim==0.5.3) (0.10.0)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /home/romi/.local/lib/python3.5/site-packages (from requests->socketIO-client-2->minos-sim==0.5.3) (1.24.1)
Requirement already satisfied: certifi>=2017.4.17 in /home/romi/.local/lib/python3.5/site-packages (from requests->socketIO-client-2->minos-sim==0.5.3) (2018.10.15)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/romi/.local/lib/python3.5/site-packages (from requests->socketIO-client-2->minos-sim==0.5.3) (3.0.4)
Requirement already satisfied: idna<2.8,>=2.5 in /home/romi/.local/lib/python3.5/site-packages (from requests->socketIO-client-2->minos-sim==0.5.3) (2.7)
Requirement already satisfied: setuptools in /home/romi/.local/lib/python3.5/site-packages (from kiwisolver>=1.0.1->matplotlib->minos-sim==0.5.3) (40.5.0)
Installing collected packages: minos-sim
Found existing installation: minos-sim 0.5.3
Can't uninstall 'minos-sim'. No files were found to uninstall.
Running setup.py develop for minos-sim
Successfully installed minos-sim
Am I facing this problem since I have installed ROS (Robot Operating System) too?