Unable to build the project
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 40.3k
- Forks
- 3.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I am unable to build the project
(bitnet-cpp) PS C:\Users\anuthakur\Documents\msbitnet\BitNet> python setup_env.py -md models/BitNet-b1.58-2B-4T -q i2_s
Traceback (most recent call last):
File "C:\Users\anuthakur\Documents\msbitnet\BitNet\setup_env.py", line 232, in
main()
File "C:\Users\anuthakur\Documents\msbitnet\BitNet\setup_env.py", line 209, in main
compile()
File "C:\Users\anuthakur\Documents\msbitnet\BitNet\setup_env.py", line 193, in compile
cmake_exists = subprocess.run(["cmake", "--version"], capture_output=True)
File "C:\Users\anuthakur\AppData\Local\anaconda3\envs\bitnet-cpp\lib\subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\anuthakur\AppData\Local\anaconda3\envs\bitnet-cpp\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\anuthakur\AppData\Local\anaconda3\envs\bitnet-cpp\lib\subprocess.py", line 1436, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
(bitnet-cpp) PS C:\Users\anuthakur\Documents\msbitnet\BitNet>
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
The traceback points to setup_env.py:193 in compile(), where it runs cmake --version; start by reading that function and the surrounding setup flow. Reproduce the command in the reported Windows/Anaconda environment, then define the build-path behavior for a missing CMake executable; done when the failure is handled or documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100