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

Fix python module install on macOS #697

Merged
merged 1 commit into from
Apr 28, 2020
Merged

Fix python module install on macOS #697

merged 1 commit into from
Apr 28, 2020

Conversation

marksisson
Copy link
Contributor

Signed-off-by: Mark Sisson 5761292+marksisson@users.noreply.github.com

Before this change, installing resulted in permission error:

CMake Error at PyIlmBase/PyIex/cmake_install.cmake:114 (file):
file cannot create directory: /usr/local/ibrary/Python/2.7/site-packages.
Maybe need administrative privileges.
Call Stack (most recent call first):
PyIlmBase/cmake_install.cmake:38 (include)
cmake_install.cmake:39 (include)

Signed-off-by: Mark Sisson <5761292+marksisson@users.noreply.github.com>
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Apr 26, 2020

CLA Check
The committers are authorized under a signed CLA.

@meshula meshula self-requested a review April 27, 2020 23:28
Copy link
Contributor

@meshula meshula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, and will definitely help in the increasingly complex world of python installations on mac!! I verified on a local machine that the snippet of code generates the correct user site-packages path.

@cary-ilm cary-ilm merged commit b9199b5 into AcademySoftwareFoundation:master Apr 28, 2020
@cary-ilm cary-ilm added this to the v2.5.0 milestone Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants