-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Conversation
Where do you see this? I think you shouldn't see that on the bot, or ever during |
@tdsmith I have some trouble understanding how
I was able to fix it locally by setting |
|
||
def install | ||
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages" | ||
ENV.prepend_path "PYTHONPATH", Language::Python.homebrew_site_packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should not be necessary; it won't help pick up protobuf because protobuf is brought in through a .pth file and pythonpath doesn't help python pick up .pths
libexec/"lib/python2.7/site-packages" is missing from PYTHONPATH, which is at least part of why the synctus packages can't be found. If libexec/"lib/python2.7/site-packages/synctus" only contains directories and no regular files, then it's probably a namespace package; namespace packages are kinda broken in Python and you may have to manually |
Hey folks. I think part of the issue may be that the main Here's a branch I made that fixes Reading through the Python "site" path stuff, I don't see a way to get Python to load in UPDATE: I made a PR #44695 for that branch, so we can see its behavior on the test bot. |
Thank you @apjanke 😄 |
Closing in favor of #44695. |
The installed script wasn’t finding its own library. This fixes it, but it still fails to find
protobuf
:I don’t know how to fix that. cc @tdsmith
TODO: