Skip to content

Use resolved context's Python for env diagnose if any#134

Open
davidlatwe wants to merge 1 commit into
mottosso:masterfrom
davidlatwe:fix/env-diagnose-fail-on-diff-python-ver
Open

Use resolved context's Python for env diagnose if any#134
davidlatwe wants to merge 1 commit into
mottosso:masterfrom
davidlatwe:fix/env-diagnose-fail-on-diff-python-ver

Conversation

@davidlatwe

Copy link
Copy Markdown
Collaborator

Problem

When the application context has it's own resolved Python and version is 2.x, environment diagnose will failed with "AttributeError: module 'enum' has no attribute 'IntFlag'" if Allzpark is running on Python 3.

Fix

When the application context has it's own resolved Python, use that Python instead of sys.executable.

Avoid "AttributeError: module 'enum' has no attribute
'IntFlag'", when resolved context has it's own python
that is incompat with current sys.executable.
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