python3
文章平均质量分 74
写回
这个作者很懒,什么都没留下…
展开
-
SyntaxError: invalid token Python3 前导0
eg:[Step 2]: preparing environment ... File "./prepare", line 60 os.makedirs(folder, mode=0600) ^SyntaxError: invalid token 在Python 3中,数字不允许前导零。例如:<...原创 2018-08-06 16:38:21 · 4632 阅读 · 0 评论 -
Centos7 安装python3详细教程,解决升级后不兼容问题
vi /usr/sbin/firewalld#!/usr/bin/python2 -Es# -*- coding: utf-8 -*-## Copyright (C) 2010-2016 Red Hat, Inc.# Authors:# Thomas Woerner <twoerner@redhat.com>## This program is free softwa...原创 2018-08-21 17:49:25 · 484 阅读 · 0 评论 -
ubuntu18.04(python3.6)安装pip3报错:ImportError: cannot import name 'sysconfig'
1、错误描述启动pip3时报错:Traceback (most recent call last): File "get-pip.py", line 20649, in main() File "get-pip.py", line 197, in main bootstrap(tmpdir=tmpdir) File "get-pip.py", li...转载 2018-12-18 16:26:33 · 2325 阅读 · 0 评论