Python:如何在Mac上的jupyter上同时拥有python 2和python 3?

时间:2019-04-27 10:02:19

标签: python jupyter

我在Mac上运行jupyter

enter image description here

如果我选择python3并导入仅在python3上有效的软件包,我将具有以下内容:

enter image description here

但是,如果我这样做:

python3
Python 3.6.8 (v3.6.8:3c6b436a57, Dec 24 2018, 02:10:22) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

>>> import mgwr

工作正常

0 个答案:

没有答案