No python PIL or empy; build fail Mac Mavericks

asked 2014-07-13 17:28:28 -0500

rebcabin gravatar image

updated 2014-07-13 17:29:47 -0500

Hello -- just tried a build today on a fresh mac. It got stuck looking for two python packages, PIL and empy. Here is a transcript of my efforts. I'd be grateful for any advice.

While following these instructions

http..//wiki.ros.org/hydro/Installation/OSX/Homebrew/Source

i get this error:

Downloading/unpacking PIL
Could not find any downloads that satisfy the requirement PIL
Some externally hosted files were ignored (use --allow-external PIL to allow).
Cleaning up...
No distributions at all found for PIL
Storing debug log for failure in /Users/anonym/Library/Logs/pip.log

at this step:

$ rosdep install --from-paths src --ignore-src --rosdistro hydro -y

following these instructions:

sudo pip --allow-external -U PIL

produced the same result.

leading to this stack-overflow answer:

http..//stackoverflow.com/questions/20060096/installing-pil-with-pip

which didn't help, because I eventually had this catastrophe:

$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
Base path: /Users/anonym/ros_catkin_ws
Source space: /Users/anonym/ros_catkin_ws/src
Build space: /Users/anonym/ros_catkin_ws/build_isolated
Devel space: /Users/anonym/ros_catkin_ws/devel_isolated
Install space: /Users/anonym/ros_catkin_ws/install_isolated
Additional CMake Arguments: -DCMAKE_BUILD_TYPE=Release
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  traversing 251 packages in topological order:
~~  - catkin
~~  - genmsg

...

~~  - rotate_recovery
~~  - move_base
~~  - xacro
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The packages or cmake arguments have changed, forcing cmake invocation

==> Processing catkin package: 'catkin'
==> Creating build directory: 'build_isolated/catkin'
==> cmake /Users/anonym/ros_catkin_ws/src/catkin -DCATKIN_DEVEL_PREFIX=/Users/anonym/ros_catkin_ws/devel_isolated/catkin -DCMAKE_INSTALL_PREFIX=/Users/anonym/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release in '/Users/anonym/ros_catkin_ws/build_isolated/catkin'
-- The C compiler identification is AppleClang 5.1.0.5030040
-- The CXX compiler identification is AppleClang 5.1.0.5030040
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /Users/anonym/ros_catkin_ws/devel_isolated/catkin
-- Using CMAKE_PREFIX_PATH:
-- Found PythonInterp: /usr/bin/python (found version "2.7.5")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using default Python package layout
-- Could NOT find PY_em (missing:  PY_EM)
CMake Error at cmake/empy.cmake:28 (message):
  Unable to find either executable 'empy' or Python module 'em'...  try
  installing package 'python-empy'
Call Stack (most recent call first):
  cmake/all.cmake:139 (include)
  CMakeLists.txt:8 (include)


-- Configuring incomplete, errors occurred!
See also "/Users/anonym/ros_catkin_ws/build_isolated/catkin/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'catkin':
  Command 'cmake /Users/anonym/ros_catkin_ws/src/catkin -DCATKIN_DEVEL_PREFIX=/Users/anonym/ros_catkin_ws/devel_isolated/catkin -DCMAKE_INSTALL_PREFIX=/Users/anonym/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release' returned non-zero exit status 1

Reproduce this error by running:
==> cd /Users/anonym/ros_catkin_ws/build_isolated/catkin && cmake /Users/anonym/ros_catkin_ws/src/catkin -DCATKIN_DEVEL_PREFIX=/Users/anonym/ros_catkin_ws/devel_isolated/catkin -DCMAKE_INSTALL_PREFIX=/Users/anonym/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release

Command failed, exiting.

$ sudo pip install python-empy

Downloading/unpacking python-empy
  Could not find any downloads that satisfy the requirement python-empy
Cleaning up...
No distributions at all found for python-empy
Storing debug log for failure in /Users/anonym ...
(more)
edit retag flag offensive close merge delete