# 被玩壞了,最新結果如下:
{
"message": "Bad credentials",
"documentation_url": "https://developer.github.com/v3"
}
{
"message": "Bad credentials",
"documentation_url": "https://developer.github.com/v3"
}
2018-01-25
報錯了AttributeError: 'str' object has no attribute 'json'
2018-01-10
最新回答 / 柿餅小星
pip install?gunicorn? ?或者使用國內源pip install -i?https://pypi.mirrors.ustc.edu.cn/simple/? gunicorn
2017-12-25
with as
等同于
try:
fd = open(filename, 'wb')
fd.write(chunk)
except:
pass
finally:
fd.close()
等同于
try:
fd = open(filename, 'wb')
fd.write(chunk)
except:
pass
finally:
fd.close()
2017-12-18
輸入pip install gunicore httpbin命令行之后,會出現:Could not find a version that satisfies the requirement gunicore (from versions: )
No matching distribution found for gunicore
解決:pip install httpbin
在下載過程中會發現存在“Collecting Gunicorn (from Flask-Common->httpbin)”
No matching distribution found for gunicore
解決:pip install httpbin
在下載過程中會發現存在“Collecting Gunicorn (from Flask-Common->httpbin)”
2017-12-13
Command "python setup.py egg_info" failed with error code 1 in ~\appdata\local\temp\pip-build-k9xaoc\meinheld\
2017-12-07