Skip to content

Doing proper import - #217

Closed
ghost wants to merge 2 commits into
masterfrom
unknown repository
Closed

ghost wants to merge 2 commits into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Feb 26, 2020

Copy link
Copy Markdown

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

ghost commented Feb 26, 2020

Copy link
Copy Markdown
Author

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