When I try to install scikit-image with pip2 there is show error. I have tried to find this problem solution.
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/scikit-image
Storing debug log for failure in /home/nshakib/.pip/pip.log
My guess is that you might have missing dependencies. I don't think Ubuntu 14.04 comes out of the box with any of the SciPy stack.
To answer your question try,
sudo apt-get install python-matplotlib python-numpy python-pil python-scipy
Then
sudo apt-get install build-essential cython
Finally
sudo apt-get install python-skimage
If that still doesn't work, you could try using the Anaconda Distribution for Python 2.7 from Continuum Analytics.
It comes with many of the major packages built-in and has a great package manager that manages dependencies.
https://docs.continuum.io/anaconda/install#anaconda-install
The conda package would be installed with conda install scikit-image
Related
https://coral.withgoogle.com/news/updates-11-2019/
As per above google coral November updates new Mendel 4.0 has the support of OpenCV but when I installed Mendel 4.0 it is unable to import cv2. Please let me know do I've to follow any further steps to install OpenCV in Mendel 4.0
Following steps have to be done:
If you have a fresh image make sure you update your system packages
sudo apt-get update
sudo apt-get dist-upgrade
Install OpenCV
sudo apt install python3-opencv
Test installation
python3 -c 'import cv2; print(cv2.__version__)'
I can confirm, that openCV can be installed using sudo apt install python3-opencv. If it does not work, check if your board is connected to the internet (see coral documentation here).
you can install it with
$ sudo apt-get install python3-opencv
I am trying to follow this website to install opencv4 on Ubuntu 18.04.
https://www.learnopencv.com/install-opencv-4-on-ubuntu-18-04/
But I get this error after make
In file included from /home/gosztolai/opencv/3rdparty/libpng/pngpriv.h:913:0,
from /home/gosztolai/opencv/3rdparty/libpng/png.c:14:
/home/gosztolai/opencv/3rdparty/libpng/pngstruct.h:30:10: fatal error: zlib.h: No such file or directory
#include "zlib.h"
I tried sudo apt install zlib1g-dev but the system says that it is already isntalled
Could someone help what is going on?
libpng uses the zlib library for image compression. To install it in Ubuntu, run the following code in your bash terminal:
sudo apt-get install zlib1g-dev
But because you already have it installed, and need a newer version, you need to update the library. Try to upgrade your packages, using this code:
sudo apt update
sudo apt upgrade -y
Or you can try to remove it using apt and install again.
I am trying to install the CUDA toolkit on Ubuntu 16.04 with
sudo apt-get install cuda
and keep getting the following error:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
cuda : Depends: cuda-9-2 (>= 9.2.148) but it is not going to be
installed
E: Unable to correct problems, you have held broken packages
any help?
Option 1:
sudo apt-get install cuda-runtime-9-2
sudo apt-get install cuda-9-2
sudo apt-get install cuda
Option 2:
sudo apt-get install aptitude
sudo aptitude install cuda
I'm installing Opencv on Ubuntu with VMWARE following this website.
I finished installing opencv and at Step #6, I put import cv2 and got this error:
[libprotobuf fatal /home/psh/opencv-master/3rdparty/protobuf/src/google
/protobuf/stubs/common.cc:78] This program was compiled against version
2.6.1 of the protocol Buffer runtime library, which is not compatible
with the installed version(3.1.0)...
How can I fix it?
I don't know exactly What is the reason. But I got the same problem like you. But instead of fix this error. I try new way to install OpenCV.
And I follow steps in this website: http://milq.github.io/install-opencv-ubuntu-debian/
Run these commands
sudo apt-get install libopencv-dev python-opencv
sudo apt-get autoremove libopencv-dev python-opencv
Download this script and Run
source install-opencv.sh
After about 1-hour installation, we can test by:
python
import cv2
cv2.__version__
If you want to install OpenCV in your virtualenv too, follow step #5 at this tutorial (your tutorial)
System Information:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
Error message we get:
The following packages have unmet dependencies:
ros-indigo-desktop-full : Depends: ros-indigo-desktop but it is not going to be installed
Depends: ros-indigo-perception but it is not going to be installed
Depends: ros-indigo-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
If I explore the error message further, this is what I get:
ros-indigo-cpp-common : Depends: libconsole-bridge0.2 but it is not installable
Depends: libboost-all-dev but it is not installable
Depends: libconsole-bridge-dev but it is not installable
I have successfully installed ROS Indigo on Ubuntu 14.04. So be assured that it can be done.
I have seen many of these errors when installing ROS packages. There seems to be some error in the package management system in Ubuntu (aptitude). You may try
sudo apt-get update
sudo apt-get install -f
If it doesn't work, try to manually install some dependencies by
sudo apt-get install ros-indigo-simulators
sudo apt-get install ros-indigo-perception
Hope it helps.
My suggestion would be to delete the old installation as manual installations of dependencies may be too much. I have written a complete end to end blog on the installation of ROS Indigo over Ubuntu 14.04.
For those whom still had problems after trying everything.
I have tracked dependencies and found out that the problem is libboost, I had the version 1.55 but some of ros-indigo modules require the 1.54 version
Try these commands
sudo apt-get install libboost1.54-tools-dev
sudo apt-get install libboost-tools-dev
sudo apt-get install libboost-mpi-python1.54.0
sudo apt-get install libboost-mpi-python1.54-dev
sudo apt-get install libboost-mpi-python-dev
then you can finally
sudo apt-get install ros-indigo-desktop-full
Hope this helps