Python
文章平均质量分 53
wangbingfeng0
I'm back
展开
-
SyntaxError: Non-ASCII character '\xe4' in file today.py on line 2, but no encoding declared;
error detail:% python today.py File "today.py", line 2SyntaxError: Non-ASCII character '\xe4' in file today.py on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for ...原创 2019-11-03 19:38:55 · 396 阅读 · 0 评论 -
pip3 install jupyterlab - pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=
pip3 install jupyterlabCollecting jupyterlab Downloading https://files.pythonhosted.org/packages/2c/89/a4e048f198867f19d2a9f40d08c946d760ab06dd39d774940a20da47b5f9/jupyterlab-1.1.4-py2.py3-none-an...原创 2019-10-26 15:33:34 · 640 阅读 · 0 评论 -
if my python shell is executing in 32bit or 64bit mode on OS X + pyenv manage python
Open python console:import platformplatform.architecture()[0]it should display the '64bit' or '32bit' according to your platform.Alternatively( in case of OS X binaries ):import syssys.max...原创 2018-12-16 17:39:54 · 113 阅读 · 0 评论 -
Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='storage.googleapis.
$ pip install --upgrade tensorflowCollecting tensorflow Could not find a version that satisfies the requirement tensorflow (from versions: )No matching distribution found for tensorflow# then us...原创 2018-12-16 17:56:49 · 2761 阅读 · 0 评论 -
ModuleNotFoundError: No module named 'matplotlib_venn', when use Jupyterlab
when runbelow in mac!pip install matplotlib!pip install matplotlib-vennonly matplotlib installed.use$ conda list matplotlib*to see if these two installed.$ easy_install matplotlib-ve...原创 2019-03-22 18:48:33 · 3978 阅读 · 0 评论 -
when use make html, it prompts no theme named 'python_docs_theme' found (missing theme.conf?)
python-docs-theme not installedinstall itpip install python-docs-themethen use$ make htmlto generate python tutorial html files.The documentation is built with several tools which are...原创 2019-04-14 16:49:15 · 722 阅读 · 0 评论