Hi everyone,
I am trying to install CellProfiler 2.0 on my MacBook, used the makefile to create the virtual environment (from the installation wiki) which seemed to work fine. I then jumped down to the pip commands and had problems installing Cython, and get the following error (see below). Also, it says on the installation page that I can “check out and run CellProfiler in the virtualenv”. How would I do that? I want to make sure I can run CellProfiler before I build the app/executable. I’m reasonably good with Mac/Linux but these installation instructions are quite daunting, its not clear whether this should take me a day (or several days to install). So far I have spent an entire evening on it and don’t seem very close. I think adding a little bit more detailed comments to each step would be very helpful. Have people had success with installations?
Thanks and any help would be greatly appreciated. I’m very much looking forward to running/developing with the new CellProfiler!
-Salil
Salil Desai, Ph.D.
MGH-MIT ECOR Fellow in Translational Medicine
Massachusetts General Hospital | Massachusetts Institute of Technology
email: desai@mit.edu
voice: 617-653-4098
pip install Cython==0.12.1
Downloading/unpacking Cython==0.12.1
Running setup.py egg_info for package Cython
warning: no files found matching ‘Demos/Setup.py’
warning: no files found matching ‘Cython/Mac/Makefile’
warning: no files found matching ‘Cython/Mac/_Filemodule_patched.c’
Installing collected packages: Cython
Running setup.py install for Cython
building ‘Cython.Plex.Scanners’ extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c /Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/build/Cython/Cython/Plex/Scanners.c -o build/temp.macosx-10.3-i386-2.5/Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/build/Cython/Cython/Plex/Scanners.o
cc1: error: unrecognized command line option "-Wno-long-double"
cc1: error: unrecognized command line option "-Wno-long-double"
lipo: can’t figure out the architecture type of: /var/folders/Yc/Yc8bPjRvGoWN8lJ4Yy0RIE+++TI/-Tmp-//ccCtispd.out
error: command ‘gcc’ failed with exit status 1
Complete output from command /Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/bin/python -c "import setuptools; file=’/Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/build/Cython/setup.py’; execfile(’/Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/build/Cython/setup.py’)" install --single-version-externally-managed --record /var/folders/Yc/Yc8bPjRvGoWN8lJ4Yy0RIE+++TI/-Tmp-/pip-MNRtXQ-record/install-record.txt --install-headers /Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/bin/…/include/site/python2.5:
running install
running build
running build_py
running build_ext
building ‘Cython.Plex.Scanners’ extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c /Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/build/Cython/Cython/Plex/Scanners.c -o build/temp.macosx-10.3-i386-2.5/Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/build/Cython/Cython/Plex/Scanners.o
cc1: error: unrecognized command line option “-Wno-long-double”
cc1: error: unrecognized command line option “-Wno-long-double”
lipo: can’t figure out the architecture type of: /var/folders/Yc/Yc8bPjRvGoWN8lJ4Yy0RIE+++TI/-Tmp-//ccCtispd.out
error: command ‘gcc’ failed with exit status 1
Command /Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/bin/python -c “import setuptools; file=’/Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/build/Cython/setup.py’; execfile(’/Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/build/Cython/setup.py’)” install --single-version-externally-managed --record /var/folders/Yc/Yc8bPjRvGoWN8lJ4Yy0RIE+++TI/-Tmp-/pip-MNRtXQ-record/install-record.txt --install-headers /Users/salildesai/Desktop/VENV254/CellProfilerVirtualenv/bin/…/include/site/python2.5 failed with error code 1
Storing complete log in /Users/salildesai/.pip/pip.log