Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant install on mac #185

Open
TeslaC-137 opened this issue Dec 21, 2018 · 1 comment
Open

Cant install on mac #185

TeslaC-137 opened this issue Dec 21, 2018 · 1 comment

Comments

@TeslaC-137
Copy link

  • PymRMR version: Current
  • Python version: 2.7 and 3.7
  • Operating System: MacOS Mojave 10.14.1

Description:

I can't install pymrmr package using pip on my mac.

What I Did

Sudarshans-MacBook-Pro:~ Sudarshan$ pip install pymrmr
Collecting pymrmr
Using cached https://files.pythonhosted.org/packages/b3/ab/903712947a2f5cd1af249132885dbd81ae8bf8cfd30fb3b3f2beddab23e8/pymrmr-0.1.8.tar.gz
Requirement already satisfied: numpy>=1.12.0 in ./miniconda2/lib/python2.7/site-packages (from pymrmr) (1.15.4)
Building wheels for collected packages: pymrmr
Running setup.py bdist_wheel for pymrmr ... error
Complete output from command /Users/Sudarshan/miniconda2/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/74/q8y9smnn2td223yqvypdc1p00000gn/T/pip-install-7yhZcv/pymrmr/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/74/q8y9smnn2td223yqvypdc1p00000gn/T/pip-wheel-PplXhw --python-tag cp27:
running bdist_wheel
running build
running build_py
package init file 'pymrmr/init.py' not found (or not a regular file)
running egg_info
writing requirements to pymrmr.egg-info/requires.txt
writing pymrmr.egg-info/PKG-INFO
writing top-level names to pymrmr.egg-info/top_level.txt
writing dependency_links to pymrmr.egg-info/dependency_links.txt
reading manifest file 'pymrmr.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching 'pycache' found under directory ''
warning: no previously-included files matching '
.py[co]' found under directory ''
warning: no files found matching '
.jpg' under directory 'docs'
warning: no files found matching '.png' under directory 'docs'
warning: no files found matching '
.gif' under directory 'docs'
writing manifest file 'pymrmr.egg-info/SOURCES.txt'
creating build
creating build/lib.macosx-10.6-x86_64-2.7
creating build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/crank.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/mrmr.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/nrutil.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/nrutil.h -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/pbetai.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/pymrmr.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/pymrmr.pyx -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/sort2.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
running build_ext
skipping 'pymrmr/pymrmr.cpp' Cython extension (up-to-date)
building 'pymrmr' extension
creating build/temp.macosx-10.6-x86_64-2.7
creating build/temp.macosx-10.6-x86_64-2.7/pymrmr
clang-omp -fno-strict-aliasing -I/Users/Sudarshan/miniconda2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/Sudarshan/miniconda2/lib/python2.7/site-packages/numpy/core/include -I/Users/Sudarshan/miniconda2/include/python2.7 -c pymrmr/pymrmr.cpp -o build/temp.macosx-10.6-x86_64-2.7/pymrmr/pymrmr.o -fopenmp -Ofast
unable to execute 'clang-omp': No such file or directory
error: command 'clang-omp' failed with exit status 1


Failed building wheel for pymrmr
Running setup.py clean for pymrmr
Failed to build pymrmr
Installing collected packages: pymrmr
Running setup.py install for pymrmr ... error
Complete output from command /Users/Sudarshan/miniconda2/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/74/q8y9smnn2td223yqvypdc1p00000gn/T/pip-install-7yhZcv/pymrmr/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/74/q8y9smnn2td223yqvypdc1p00000gn/T/pip-record-kralVI/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
package init file 'pymrmr/init.py' not found (or not a regular file)
running egg_info
writing requirements to pymrmr.egg-info/requires.txt
writing pymrmr.egg-info/PKG-INFO
writing top-level names to pymrmr.egg-info/top_level.txt
writing dependency_links to pymrmr.egg-info/dependency_links.txt
reading manifest file 'pymrmr.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching 'pycache' found under directory ''
warning: no previously-included files matching '
.py[co]' found under directory ''
warning: no files found matching '
.jpg' under directory 'docs'
warning: no files found matching '.png' under directory 'docs'
warning: no files found matching '
.gif' under directory 'docs'
writing manifest file 'pymrmr.egg-info/SOURCES.txt'
creating build
creating build/lib.macosx-10.6-x86_64-2.7
creating build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/crank.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/mrmr.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/nrutil.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/nrutil.h -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/pbetai.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/pymrmr.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/pymrmr.pyx -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
copying pymrmr/sort2.cpp -> build/lib.macosx-10.6-x86_64-2.7/pymrmr
running build_ext
skipping 'pymrmr/pymrmr.cpp' Cython extension (up-to-date)
building 'pymrmr' extension
creating build/temp.macosx-10.6-x86_64-2.7
creating build/temp.macosx-10.6-x86_64-2.7/pymrmr
clang-omp -fno-strict-aliasing -I/Users/Sudarshan/miniconda2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/Sudarshan/miniconda2/lib/python2.7/site-packages/numpy/core/include -I/Users/Sudarshan/miniconda2/include/python2.7 -c pymrmr/pymrmr.cpp -o build/temp.macosx-10.6-x86_64-2.7/pymrmr/pymrmr.o -fopenmp -Ofast
unable to execute 'clang-omp': No such file or directory
error: command 'clang-omp' failed with exit status 1

----------------------------------------

Command "/Users/Sudarshan/miniconda2/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/74/q8y9smnn2td223yqvypdc1p00000gn/T/pip-install-7yhZcv/pymrmr/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/74/q8y9smnn2td223yqvypdc1p00000gn/T/pip-record-kralVI/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/74/q8y9smnn2td223yqvypdc1p00000gn/T/pip-install-7yhZcv/pymrmr/
Sudarshans-MacBook-Pro:~ Sudarshan$

@fbrundu
Copy link
Owner

fbrundu commented Jan 23, 2019

Hi,
I'm sorry but I cannot work on this issue at the moment.
Could you test if this solution works in your case?

Thanks,
Francesco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants