Closed richafrank closed 7 years ago
It looks like setup.py specifies libiomp5.dylib as being required for osx, but http://download.mosek.com/stable/8.0.0.53/mosektoolsosx64x86.tar.bz2 does not have this file.
$ pip install git+https://github.com/MOSEK/Mosek.pip Collecting git+https://github.com/MOSEK/Mosek.pip Cloning https://github.com/MOSEK/Mosek.pip to /private/var/folders/n1/0chtn68x7kj_lkw_z7pk9jmc0000gn/T/pip-aWC_di-build Requirement already satisfied: numpy>=1.4 in /Users/rich/.virtualenvs/temp/lib/python2.7/site-packages (from Mosek==8.0.53) Installing collected packages: Mosek Running setup.py install for Mosek ... error Complete output from command /Users/rich/.virtualenvs/temp/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/n1/0chtn68x7kj_lkw_z7pk9jmc0000gn/T/pip-aWC_di-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/n1/0chtn68x7kj_lkw_z7pk9jmc0000gn/T/pip-R5OKRY-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/rich/.virtualenvs/temp/bin/../include/site/python2.7/Mosek: running install running build Fetch and unpack MOSEK distro running install_egg_info running egg_info creating Mosek.egg-info writing requirements to Mosek.egg-info/requires.txt writing Mosek.egg-info/PKG-INFO writing top-level names to Mosek.egg-info/top_level.txt writing dependency_links to Mosek.egg-info/dependency_links.txt writing manifest file 'Mosek.egg-info/SOURCES.txt' reading manifest file 'Mosek.egg-info/SOURCES.txt' writing manifest file 'Mosek.egg-info/SOURCES.txt' Copying Mosek.egg-info to /Users/rich/.virtualenvs/temp/lib/python2.7/site-packages/Mosek-8.0.53-py2.7.egg-info running install_scripts writing list of installed files to '/var/folders/n1/0chtn68x7kj_lkw_z7pk9jmc0000gn/T/pip-R5OKRY-record/install-record.txt' Install binary libraries error: [Errno 2] No such file or directory: '/private/var/folders/n1/0chtn68x7kj_lkw_z7pk9jmc0000gn/T/pip-aWC_di-build/src/mosek/8/tools/platform/osx64x86/bin/libiomp5.dylib'
I couldn't say whether setup.py is wrong or the downloaded file is wrong, but I believe the mismatch prevents installation.
This should work now.
Thanks @ulfworsoe ! Works for me now.
It looks like setup.py specifies libiomp5.dylib as being required for osx, but http://download.mosek.com/stable/8.0.0.53/mosektoolsosx64x86.tar.bz2 does not have this file.
I couldn't say whether setup.py is wrong or the downloaded file is wrong, but I believe the mismatch prevents installation.