clab / clab/dynet

Unable to build wheel for dynet on Windows (pip install dynet)

Open
#1,657 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

Unable to build wheel for dynet on Windows (pip install dynet)

File "C:\Users\User\anaconda3\Scripts\cmake.exe\__main__.py", line 4, in
ModuleNotFoundError: No module named 'cmake'
error: `make` not found, and `MAKE` is not set.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dynet
Failed to build dynet
ERROR: Could not build wheels for dynet, which is required to install pyproject.toml-based projects

Any advice appreciated.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with `pip install dynet` on Windows and compare the reported `cmake.exe`, missing `cmake` module, and missing `make` errors. Done means the dynet wheel builds and installs successfully on Windows through pip; the issue does not mention a specific source file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, python
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.