sudo: docker-machine: command not found
Question who has ever tried following this tutorial about Docker Swarm?
https://docs.docker.com/get-started/part4/
There is a section called : Create a cluster. What I wanted to do was to create a couple of VMs using docker-machine. Since I use ubuntu16.0.4 so I used following commands to get VirtualBox. sudo apt-get update
sudo apt-get install virtualbox-5.2
After I installed VirtualBox, typed a command like :
docker-machine create --driver virtualbox myvm1
But it says : sudo: docker-machine: command not found…
Read more ⟶CMake could not find OpenGL in Ubuntu
Question I want to install VTK in Ubuntu. CMake sends me this error :
CMake Error at
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108
(message): Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY
OPENGL_INCLUDE_DIR) Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindOpenGL.cmake:161
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
Rendering/OpenGL/CMakeLists.txt:196 (find_package)
CMake Error: The following variables are used in this project, but
they are set to NOTFOUND. Please set them or make sure they are set
and tested correctly in the CMake files: OPENGL_INCLUDE_DIR (ADVANCED)
used as include directory in directory
/home/pilou/Documents/src/VTK-6.…
Read more ⟶How to install .rpm on Ubuntu? [closed]
Question Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
</div>
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.…
Read more ⟶Python 3.4 and 2.7: Cannot install numpy package for python 3.4
Question I am using Ubuntu 12.04 and want to use python 3.4 side by side with python 2.7.
The installation of python 3.4 worked properly. However, I cannot install the numpy package for python 3 (and as a consequence I can't install scipy, pandas etc.).
Using sudo pip3 install numpy
spits out the following error:
File "numpy/core/setup.py", line 289, in check_types
“Cannot compile ‘Python.h’. Perhaps you need to “\
SystemError: Cannot compile ‘Python.…
Read more ⟶How to install pip for Python 2
Question I run
python --version
and get
Python 2.7.3
I run
pip --version
and get
pip 1.5 from /usr/local/lib/python3.2/dist-packages/pip-1.5-py3.2.egg (python 3.2)
I installed pip using apt-get. How to I get the Python 2 version of pip?
I've reinstalled python and python-pip several times with apt-get. I'm also curious why these would install different Python versions.
Answer To install pip for Python2 on Ubuntu, this worked for me
sudo apt update
curl https://bootstrap.…
Read more ⟶No module named 'virtualenvwrapper'
Question I am working to set up a Django project on Amazon EC2 with an Ubuntu 14.04 LTS instance. I want to write my code using Python 3. I've been advised that the best way to do this is to use virtualenvwrapper. I've installed virtualenvwrapper successfully and put
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3.4
export PROJECT_HOME=$HOME/Devel
source /usr/local/bin/virtualenvwrapper.sh
into my .bashrc file. Now I see:
/usr/bin/python3.4: Error while finding spec for 'virtualenvwrapper.hook_loader' (<class 'ImportErro
r'>: No module named 'virtualenvwrapper')
virtualenvwrapper.…
Read more ⟶How to install android ndk in linux?
Question I have downloaded android NDK from here: http://developer.android.com/tools/sdk/ndk/index.html
for Linux 64-bit (x86) android-ndk-r10c-linux-x86_64.bin. How I do install it? The instructions don't work.
My OS is 57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Answer The Standard Way
Android's NDK now ships as an self extracting executable. You likely need to set the executable bit:
$ chmod +x android-ndk-r10c-linux-x86_64.bin
$ ./android-ndk-r10c-linux-x86_64.bin
The above will cause the NDK to extract into the current working directory.…
Read more ⟶