Anaconda

Jupyter notebook with Python 2 and Python3 Kernel

南笙酒味 提交于 2021-02-07 01:27:51
问题 I want to run Python2 as well as Python3 kernel from Jupiter notebook. I am using Anaconda for Python and Jupyter distribution. Lokeshs-MacBook-Air-2:~ lokeshagrawal$ conda --version conda 4.5.12 Lokeshs-MacBook-Air-2:~ lokeshagrawal$ which python /anaconda3/bin/python Lokeshs-MacBook-Air-2:~ lokeshagrawal$ which jupyter notebook /anaconda3/bin/jupyter [![Lokeshs-MacBook-Air-2:~ lokeshagrawal$ python --version Python 3.7.2 As you can see in the image below, I only have an option to start

Jupyter notebook with Python 2 and Python3 Kernel

為{幸葍}努か 提交于 2021-02-07 01:27:41
问题 I want to run Python2 as well as Python3 kernel from Jupiter notebook. I am using Anaconda for Python and Jupyter distribution. Lokeshs-MacBook-Air-2:~ lokeshagrawal$ conda --version conda 4.5.12 Lokeshs-MacBook-Air-2:~ lokeshagrawal$ which python /anaconda3/bin/python Lokeshs-MacBook-Air-2:~ lokeshagrawal$ which jupyter notebook /anaconda3/bin/jupyter [![Lokeshs-MacBook-Air-2:~ lokeshagrawal$ python --version Python 3.7.2 As you can see in the image below, I only have an option to start

Jupyter notebook with Python 2 and Python3 Kernel

与世无争的帅哥 提交于 2021-02-07 01:27:36
问题 I want to run Python2 as well as Python3 kernel from Jupiter notebook. I am using Anaconda for Python and Jupyter distribution. Lokeshs-MacBook-Air-2:~ lokeshagrawal$ conda --version conda 4.5.12 Lokeshs-MacBook-Air-2:~ lokeshagrawal$ which python /anaconda3/bin/python Lokeshs-MacBook-Air-2:~ lokeshagrawal$ which jupyter notebook /anaconda3/bin/jupyter [![Lokeshs-MacBook-Air-2:~ lokeshagrawal$ python --version Python 3.7.2 As you can see in the image below, I only have an option to start

Python编程会用到哪些软件?Python基础学习

时间秒杀一切 提交于 2021-02-06 15:38:53
  Python是一门适合新手入门学习的编程语言,简单、优雅、语法清晰,学习Python还可以提高我们的工作效率,因此受到很多人喜欢。那么用Python编程会用到哪些软件?我们一起来看看吧。   1、Upterm:属于一个终端,简单好用,它是一个全平台的终端,可以说是终端里面的IDE,有强大的自动补全功能;   2、PtPython:属于交互式的Python解释器,支持语法高亮、提示,甚至是Vim和emacs的键入模式;   3、Anaconda:包管理,可以帮你安装许多麻烦的软件,包含Python环境、pip包管理工具、常用的库、配置好环境路径等,用Python搞数据方面的工作,就安装Anaconda即可;   4、QPython:是一个可以在安卓系统上运行的Python脚本引擎,整合了Python解释器、Console、编辑器和SL4A库,在安卓设备上照样可以玩转Python;   5、Sublime3:自从更新之后,有了很大的提升,比原来更加好用、简单。配合安装Anaconda和Codelntel插件,就可以让sublime拥有接近IDE的体验。   6、IPython:基于Python shell的交互式解释器,自动补全功能非常好用,深受程序员的喜欢。 来源: oschina 链接: https://my.oschina.net/u/4938745/blog/4948347

Why does conda try to update packages with --no-update-dependencies?

醉酒当歌 提交于 2021-02-06 14:51:06
问题 Often when I try to install a new package, conda wants to update other packages as well, even though I have added the --no-update-dependencies switch. The updates seem to be "unnecessary" - like most of the time only the last part of the version number has changed. Today I wanted to install the mpld3 package and conda wants to update my python package from version 3.4.4-2 to 3.4.4-4, even though I have added the --no-update-dependencies switch. How can I make conda install the mpld3 package

How can I use conda to install pydotplus

戏子无情 提交于 2021-02-06 11:38:21
问题 I execute the code following on my machine( Win10, python 2.7, Anaconda&Spyder) and meet ImportError: No module named pydotplus . import networkx as nx from networkx.drawing.nx_pydot import write_dot G = nx.DiGraph([(1,2),(2,3),(3,2)]) write_dot(G,'file.dot') It clearly that I should install pydotplus package. I try to conda install pydotplus directly but says Error: Package missing in current win-64 channels . Then, I google it but find there is no information about how to install it on

How can I use conda to install pydotplus

[亡魂溺海] 提交于 2021-02-06 11:37:23
问题 I execute the code following on my machine( Win10, python 2.7, Anaconda&Spyder) and meet ImportError: No module named pydotplus . import networkx as nx from networkx.drawing.nx_pydot import write_dot G = nx.DiGraph([(1,2),(2,3),(3,2)]) write_dot(G,'file.dot') It clearly that I should install pydotplus package. I try to conda install pydotplus directly but says Error: Package missing in current win-64 channels . Then, I google it but find there is no information about how to install it on

How can I use conda to install pydotplus

↘锁芯ラ 提交于 2021-02-06 11:36:26
问题 I execute the code following on my machine( Win10, python 2.7, Anaconda&Spyder) and meet ImportError: No module named pydotplus . import networkx as nx from networkx.drawing.nx_pydot import write_dot G = nx.DiGraph([(1,2),(2,3),(3,2)]) write_dot(G,'file.dot') It clearly that I should install pydotplus package. I try to conda install pydotplus directly but says Error: Package missing in current win-64 channels . Then, I google it but find there is no information about how to install it on

Sublime Text 3: Anaconda package error connection to localhost timed out

十年热恋 提交于 2021-02-06 10:52:07
问题 I am getting a bizarre error message when starting up sublime text 3. upon startup, I get the error below. Here's some background on my system: Windows 10 Sublime Text 3 (Anaconda Package installed through Sublime Text package installer) From CMD: C:\Users\joshu>where python C:\cygwin64\bin\python C:\Users\joshu\Anaconda3\python.exe C:\Users\joshu>which python /usr/bin/python C:\Users\joshu>python --version Python 3.5.2 :: Anaconda 4.2.0 (64-bit) From sublime text 3 console: sys.version '3.3

Anaconda Python installation error

依然范特西╮ 提交于 2021-02-05 18:52:34
问题 I get the following error during Python 2.7 64-bit windows installation. I previously installed python 3.5 64-bit and it worked fine. But during python 2.7 installation i get this error: Traceback (most recent call last): File "C:\Anaconda2\Lib\_nsis.py", line 164, in <module> main() File "C:\Anaconda2\Lib\_nsis.py", line 150, in main mk_menus(remove=False) File "C:\Anaconda2\Lib\_nsis.py", line 94, in mk_menus err("Traceback:\n%s\n" % traceback.format_exc(20)) IOError: [Errno 9] Bad file