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

Cannot generate Makefile. #84

Open
mkkkkk5 opened this issue Jul 3, 2021 · 1 comment
Open

Cannot generate Makefile. #84

mkkkkk5 opened this issue Jul 3, 2021 · 1 comment

Comments

@mkkkkk5
Copy link

mkkkkk5 commented Jul 3, 2021

Greetings,

I tried to run pip install . and pip install MulticoreTSNE and both seem to give me the error stating that i cannot generate the Makefile:

Building wheel for MulticoreTSNE (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/—/opt/anaconda3/envs/myenv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-req-build-zoclgk7k/setup.py'"'"'; file='"'"'/private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-req-build-zoclgk7k/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-wheel-nmuotrul
cwd: /private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-req-build-zoclgk7k/
Complete output (28 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.6
creating build/lib.macosx-10.9-x86_64-3.6/MulticoreTSNE
copying MulticoreTSNE/init.py -> build/lib.macosx-10.9-x86_64-3.6/MulticoreTSNE
creating build/lib.macosx-10.9-x86_64-3.6/MulticoreTSNE/tests
copying MulticoreTSNE/tests/init.py -> build/lib.macosx-10.9-x86_64-3.6/MulticoreTSNE/tests
copying MulticoreTSNE/tests/test_base.py -> build/lib.macosx-10.9-x86_64-3.6/MulticoreTSNE/tests
running egg_info
creating MulticoreTSNE.egg-info
writing MulticoreTSNE.egg-info/PKG-INFO
writing dependency_links to MulticoreTSNE.egg-info/dependency_links.txt
writing requirements to MulticoreTSNE.egg-info/requires.txt
writing top-level names to MulticoreTSNE.egg-info/top_level.txt
writing manifest file 'MulticoreTSNE.egg-info/SOURCES.txt'
reading manifest file 'MulticoreTSNE.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'MulticoreTSNE.egg-info/SOURCES.txt'
running build_ext
cmake version 3.20.5

CMake suite maintained and supported by Kitware (kitware.com/cmake).
CMake Error: Unknown argument --
CMake Error: Run 'cmake --help' for all supported options.

ERROR: Cannot generate Makefile. See above errors.

ERROR: Failed building wheel for MulticoreTSNE
Running setup.py clean for MulticoreTSNE
Failed to build MulticoreTSNE
Installing collected packages: MulticoreTSNE
Running setup.py install for MulticoreTSNE ... error
ERROR: Command errored out with exit status 1:
command: /Users/—/opt/anaconda3/envs/myenv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-req-build-zoclgk7k/setup.py'"'"'; file='"'"'/private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-req-build-zoclgk7k/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-record-m0286bmr/install-record.txt --single-version-externally-managed --compile --install-headers /Users/—/opt/anaconda3/envs/myenv/include/python3.6m/MulticoreTSNE
cwd: /private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-req-build-zoclgk7k/
Complete output (26 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.6
creating build/lib.macosx-10.9-x86_64-3.6/MulticoreTSNE
copying MulticoreTSNE/init.py -> build/lib.macosx-10.9-x86_64-3.6/MulticoreTSNE
creating build/lib.macosx-10.9-x86_64-3.6/MulticoreTSNE/tests
copying MulticoreTSNE/tests/init.py -> build/lib.macosx-10.9-x86_64-3.6/MulticoreTSNE/tests
copying MulticoreTSNE/tests/test_base.py -> build/lib.macosx-10.9-x86_64-3.6/MulticoreTSNE/tests
running egg_info
writing MulticoreTSNE.egg-info/PKG-INFO
writing dependency_links to MulticoreTSNE.egg-info/dependency_links.txt
writing requirements to MulticoreTSNE.egg-info/requires.txt
writing top-level names to MulticoreTSNE.egg-info/top_level.txt
reading manifest file 'MulticoreTSNE.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'MulticoreTSNE.egg-info/SOURCES.txt'
running build_ext
cmake version 3.20.5

CMake suite maintained and supported by Kitware (kitware.com/cmake).
CMake Error: Unknown argument --
CMake Error: Run 'cmake --help' for all supported options.

ERROR: Cannot generate Makefile. See above errors.
----------------------------------------

ERROR: Command errored out with exit status 1: /Users/—/opt/anaconda3/envs/myenv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-req-build-zoclgk7k/setup.py'"'"'; file='"'"'/private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-req-build-zoclgk7k/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/ht/yffjr0qd7dq_gq8nmn087f9h0000gn/T/pip-record-m0286bmr/install-record.txt --single-version-externally-managed --compile --install-headers /Users/mikhaellepablico/opt/anaconda3/envs/myenv/include/python3.6m/MulticoreTSNE Check the logs for full command output.

Any advice on this specific error? Thank you.

@qleroy
Copy link

qleroy commented Jul 22, 2021

This is the same issue as #81 and the comments in there solved the issue for me.

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