Skip to content

Doing proper import#217

Closed
ghost wants to merge 2 commits intomasterfrom
unknown repository
Closed

Doing proper import#217
ghost wants to merge 2 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Feb 26, 2020

It appears as if in certain later versions of Python, import distutils; print(distutils.sysconfig.get_python_lib()) raises an AttributeError.

I ran into this while attempting to use pew add. Basically, because this errors out, it would return my sitepackages directory was an empty string, thus breaking pew add. This fixes it.

image

@ghost
Copy link
Author

ghost commented Feb 26, 2020

I'm going to close this in favor of #210, since that seems like it is a better approach.

@ghost ghost closed this Feb 26, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant