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

Doing proper import #217

Closed
wants to merge 2 commits into from
Closed

Doing proper import #217

wants to merge 2 commits into from

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