You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% lx init
Initializing LightEx in current directory.
Traceback (most recent call last):
File "/disk/venv/p3/bin/lx", line 46, in
main(args)
File "/disk/venv/p3/bin/lx", line 28, in main
task_init()
File "/disk/venv/p3/bin/lx", line 12, in task_init
asset_dir = Path(site.getsitepackages()[0]) / 'lightex' / 'assets'
AttributeError: module 'site' has no attribute 'getsitepackages
Looks like this is a known issue in virtualenv with no fix: pypa/virtualenv#737
Alas, most ML development is in a virtualenv...
The text was updated successfully, but these errors were encountered:
Thanks for looking into this. Yes, get_python_lib() is working correctly. As a temp fix, I locally modified bin/lx to hardcode the site-packages directory.
% lx init
Initializing LightEx in current directory.
Traceback (most recent call last):
File "/disk/venv/p3/bin/lx", line 46, in
main(args)
File "/disk/venv/p3/bin/lx", line 28, in main
task_init()
File "/disk/venv/p3/bin/lx", line 12, in task_init
asset_dir = Path(site.getsitepackages()[0]) / 'lightex' / 'assets'
AttributeError: module 'site' has no attribute 'getsitepackages
Looks like this is a known issue in virtualenv with no fix:
pypa/virtualenv#737
Alas, most ML development is in a virtualenv...
The text was updated successfully, but these errors were encountered: