error: `make` not found, and `MAKE` is not set.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.4k
- Forks
- 702
- PR merge metrics
- No merged PRs in 30d
Description
Hi everyone,
I am having problems with installing Dynet on my Python 2.7.15 64bit (OS: Win 10)
I have installed Cython and Cmake and the following error comes up.
Does anyone have any idea to solve this problem?
Collecting Dynet
Downloading https://files.pythonhosted.org/packages/b7/5f/ceaaf5f3a1d46da33f2182ad4f5ccddd68f2cea33d792ecb3f14e085fc98/dyNET-2.0.3.tar.gz (425kB)
100% |################################| 430kB 4.5MB/s
Requirement already satisfied: cython in c:\python27\lib\site-packages (from Dynet) (0.28.2)
Requirement already satisfied: numpy in c:\python27\lib\site-packages (from Dynet) (1.14.2)
Installing collected packages: Dynet
Running setup.py install for Dynet ... error
Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\purin\\appdata\\local\\temp\\pip-install-hzo2ep\\Dynet\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\purin\appdata\local\temp\pip-record-gi1p_u\install-record.txt --single-version-externally-managed --compile:
running install
running build
INFO:root:CMAKE_PATH='C:\\Python27\\Scripts\\cmake.exe'
INFO:root:MAKE_PATH=None
INFO:root:MAKE_FLAGS='-j 4'
INFO:root:EIGEN3_INCLUDE_DIR='c:\\users\\purin\\appdata\\local\\temp\\pip-install-hzo2ep\\Dynet\\build\\py2.7-64bit\\eigen'
INFO:root:EIGEN3_DOWNLOAD_URL='https://bitbucket.org/eigen/eigen/get/2355b229ea4c.zip'
INFO:root:CC_PATH=None
INFO:root:CXX_PATH=None
INFO:root:SCRIPT_DIR='c:\\users\\purin\\appdata\\local\\temp\\pip-install-hzo2ep\\Dynet'
INFO:root:BUILD_DIR='c:\\users\\purin\\appdata\\local\\temp\\pip-install-hzo2ep\\Dynet\\build\\py2.7-64bit'
INFO:root:INSTALL_PREFIX='c:\\python27\\Lib\\site-packages\\..\\..\\..'
INFO:root:PYTHON='c:\\python27\\python.exe'
cmake version 3.11.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
error: `make` not found, and `MAKE` is not set.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with setup.py and the CMake invocation shown in the installation log; reproduce the Python 2.7 on Windows installation to identify how the build selects make. Done means the installation path completes without the `make`/`MAKE` error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100