ronaldoussoren / py2app

py2app is a Python setuptools command which will allow you to make standalone Mac OS X application bundles and plugins from Python scripts.
Other
350 stars 35 forks source link

ENABLE_USER_SITE not defined in site.py #387

Closed mrclary closed 2 years ago

mrclary commented 3 years ago

For bundled applications that include jupyter-core>=4.9, the following error is generated:

AttributeError: module 'site' has no attribute 'ENABLE_USER_SITE'

For example, see https://github.com/spyder-ide/spyder/issues/16649#issuecomment-954136171