Hello,
I tried to install pybind11 with development headers. I tried this, but does not work.
`
- name: pybind11
buildsystem: simple build-commands:- python3.8 setup.py build
- cmake -DPYBIND11_INSTALL=ON -DPYBIND11_TEST=OFF .
- cmake --build .
- python3.8 setup.py install --prefix=/app/ sources:
- type: archive url: https://github.com/pybind/pybind11/archive/v2.6.2.tar.gz sha256: 8ff2fff22df038f5cd02cea8af56622bc67f5b64534f1b83b9f133b8366acff2`
The error is this.
creating dist creating 'dist/pybind11-2.6.2-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing pybind11-2.6.2-py3.8.egg creating /app/lib/python3.8/site-packages/pybind11-2.6.2-py3.8.egg Extracting pybind11-2.6.2-py3.8.egg to /app/lib/python3.8/site-packages Adding pybind11 2.6.2 to easy-install.pth file error: [Errno 30] Read-only file system: '/app/lib/python3.8/site-packages/easy-install.pth' Error: module pybind11: Child process exited with code 1
Any ideas? Thanks.
I figured it out. spglib that I install earlier also install easy-install.pth. Just rm it and it fix.