Fails to install with pip. The source directory does not appear to contain CMakeLists.txt.
See original GitHub issueI just simply run
pip install pyscf
cmake -SC:\Users\gengp\AppData\Local\Temp\pip-install-7om9cog0\pyscf_5f5696130a59493d91d549229efb7b2f\pyscf\lib -Bbuild\temp.win-amd64-3.9\Release CMake Error: The source directory "C:/Users/gengp/AppData/Local/Temp/pip-install-7om9cog0/pyscf_5f5696130a59493d91d549229efb7b2f/pyscf/lib" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.
My cmake version is 3.21.4
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
python - cmake error 'the source does not appear to contain ...
I'm installing opencv in ubuntu 16.04.
Read more >Source directory does not appear to contain CMakeLists.txt?
It then says: CMake Error: The source directory “/Users/biancacaproni” does not appear to contain CMakeLists.txt. Then, when I try this command: cmake -D ......
Read more >CMake Error: The source directory "/home/pi" does not appear ...
You're executing this command in the wrong folder. You should create a build subdirectory in the folder where you cloned OpenCV and run...
Read more >cmake error 'the source does not appear to contain ... - SyntaxFix
You should do mkdir build and cd build while inside opencv folder, not the opencv-contrib folder. The CMakeLists.txt is there. ~ Answered on...
Read more >Installation - PySCF
If you already have installed PySCF via pip, you can upgrade it to the ... If -DENABLE_LIBXC=OFF is appended to cmake command, LibXC...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@AlexandreF-1qbit, you likely aren’t seeing this problem for those other Python versions because you aren’t building them from source and are just using the prebuilt wheels. For Python 3.10, there is no prebuilt wheel and when you pip install it builds from source. In your python 3.10 environment you could pip install using github with
pip install git+https://github.com/pyscf/pyscf
.@sunqm or @fishjojo, what’s the process to add the CMakeLists.txt file to the sources tar file on pypi?
Windows is not supported. See https://github.com/pyscf/pyscf/issues/1112#issuecomment-972498362