Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pygmo tries to install stuff in Python install directory #15631

Closed
boegel opened this issue Jun 7, 2022 · 3 comments · Fixed by #15657
Closed

pygmo tries to install stuff in Python install directory #15631

boegel opened this issue Jun 7, 2022 · 3 comments · Fixed by #15657
Milestone

Comments

@boegel
Copy link
Member

boegel commented Jun 7, 2022

When trying to install pygmo with EasyBuild configured with, it fails with:

-- Install configuration: "Release"
CMake Error at pygmo/plotting/cmake_install.cmake:54 (file):
  file cannot create directory:
  /software/Python/3.9.5-GCCcore-10.3.0/lib/python3.9/site-packages/pygmo/plotting.
  Maybe need administrative privileges.

Note that it's trying to create a directory in $EBROOTPYTHON here, it shouldn't...

cc @Louwrensth

@mboisson
Copy link
Contributor

mboisson commented Jun 8, 2022

Mmm, I bet this does not happen if the installation procedure is : build a wheel + install the built wheel scratch that, I just noticed it's not using pip/setup.py

@boegel
Copy link
Member Author

boegel commented Jun 9, 2022

@mboisson It's CMake being stupid, as usual. ;)

@mboisson
Copy link
Contributor

mboisson commented Jun 9, 2022

Correction, it's the developers of pygmo doing stupid stuff with CMake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants