Build requirements not working
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 670
- Forks
- 219
- Avg merge
- 8d 2h
- Merged PRs (30d)
- 1
Description
The build requirements seems to be downloaded by the install process, but not actually found when building;
git clone https://github.com/pybind/cmake_example.git
cd cmake_example
pip3 install .
...
Traceback (most recent call last):
File "/private/var/folders/.../overlay/bin/cmake", line 5, in <module>
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
If you manually install using pip3 install cmake it works after that.
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
Reproduce the failure from the repository root with the reported git clone, cd, and pip3 install . commands, then compare it with a manual pip3 install cmake. Inspect how build requirements are installed and made available to the build process; done means a clean install can find the cmake module without a separate manual installation.
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
- Mostly clear
- Newbie friendliness
- 35/100