We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0398d6 commit c75731cCopy full SHA for c75731c
platform.py
@@ -12,6 +12,19 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
+# LZMA support check
16
+try:
17
+ import lzma as _lzma
18
+except ImportError:
19
+ import sys
20
+ print("ERROR: Python's lzma module is unavailable or broken in this interpreter.", file=sys.stderr)
21
+ print("LZMA (liblzma) support is required for tool/toolchain installation.", file=sys.stderr)
22
+ print("Please install Python built with LZMA support.", file=sys.stderr)
23
+ raise SystemExit(1)
24
+else:
25
+ # Keep namespace clean
26
+ del _lzma
27
+
28
import fnmatch
29
import os
30
import json
0 commit comments