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
Unable to import whylogs #1041
Comments
Its a virtualenv issue, I was able to repro on docker image using ubuntu 18.04, thanks for the details, fix pending. |
1 task
Somehow it works out of the box on Colab. I will keep looking for a solution/workaround for this also. :) |
Thanks a lot @jamie256 :) |
I published a dev release off mainline after this was merged if you want to test this out: |
It's working 🥇 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Unable to import whylogs
>>> import whylogs as why
gives
AttributeError: module 'site' has no attribute 'getsitepackages'
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/monk/why/lib/python3.7/site-packages/whylogs/__init__.py", line 29, in <module> from .api.usage_stats import emit_usage as __emit_usage_stats File "/home/monk/why/lib/python3.7/site-packages/whylogs/api/usage_stats/__init__.py", line 30, in <module> _SITE_PACKAGES = site.getsitepackages() AttributeError: module 'site' has no attribute 'getsitepackages'
System info
Steps to reproduce:
virtualenv why --python=python3.7
source why/bin/activate
pip install whylogs
python
import whylogs
Although I was able to install this on colab. I don't know why it's not working on my local machine.
The text was updated successfully, but these errors were encountered: