1. <tfoot id='bEBH9'></tfoot>
    2. <small id='bEBH9'></small><noframes id='bEBH9'>

      <i id='bEBH9'><tr id='bEBH9'><dt id='bEBH9'><q id='bEBH9'><span id='bEBH9'><b id='bEBH9'><form id='bEBH9'><ins id='bEBH9'></ins><ul id='bEBH9'></ul><sub id='bEBH9'></sub></form><legend id='bEBH9'></legend><bdo id='bEBH9'><pre id='bEBH9'><center id='bEBH9'></center></pre></bdo></b><th id='bEBH9'></th></span></q></dt></tr></i><div id='bEBH9'><tfoot id='bEBH9'></tfoot><dl id='bEBH9'><fieldset id='bEBH9'></fieldset></dl></div>
    3. <legend id='bEBH9'><style id='bEBH9'><dir id='bEBH9'><q id='bEBH9'></q></dir></style></legend>

        • <bdo id='bEBH9'></bdo><ul id='bEBH9'></ul>

        如何配置 Atom 以运行 Python3 脚本?

        How to configure Atom to run Python3 scripts?(如何配置 Atom 以运行 Python3 脚本?)

        <small id='jf6Z2'></small><noframes id='jf6Z2'>

          <tbody id='jf6Z2'></tbody>

          <i id='jf6Z2'><tr id='jf6Z2'><dt id='jf6Z2'><q id='jf6Z2'><span id='jf6Z2'><b id='jf6Z2'><form id='jf6Z2'><ins id='jf6Z2'></ins><ul id='jf6Z2'></ul><sub id='jf6Z2'></sub></form><legend id='jf6Z2'></legend><bdo id='jf6Z2'><pre id='jf6Z2'><center id='jf6Z2'></center></pre></bdo></b><th id='jf6Z2'></th></span></q></dt></tr></i><div id='jf6Z2'><tfoot id='jf6Z2'></tfoot><dl id='jf6Z2'><fieldset id='jf6Z2'></fieldset></dl></div>
            <bdo id='jf6Z2'></bdo><ul id='jf6Z2'></ul>
            1. <legend id='jf6Z2'><style id='jf6Z2'><dir id='jf6Z2'><q id='jf6Z2'></q></dir></style></legend>

                  <tfoot id='jf6Z2'></tfoot>
                  本文介绍了如何配置 Atom 以运行 Python3 脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  In my terminal, I type $ which python3, outputting

                  /opt/local/bin/python3
                  

                  I would like to configure Atom to run Python3 scripts. In my Atom Config, I have

                  runner:
                  python: "/opt/local/bin/python3"
                  

                  However, if I run the following script in some script named filename.py,

                  import sys
                  print(sys.version)
                  

                  I get the following output:

                  2.7.11 (default, Feb 18 2016, 22:00:44) 
                  [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)]
                  

                  How exactly does one set up the PATH for Python3.x scripts to run correctly? Is there a different package I could use?

                  解决方案

                  Go to the Atom's menu bar -> Packages -> Script -> Configure Script (Or, you can use the shortcut Shift+Ctrl+Alt+O)

                  Then type python3 to the Command space. Hopefully, it will work.

                  这篇关于如何配置 Atom 以运行 Python3 脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Split a Pandas column of lists into multiple columns(将 Pandas 的列表列拆分为多列)
                  How does the @property decorator work in Python?(@property 装饰器在 Python 中是如何工作的?)
                  What is the difference between old style and new style classes in Python?(Python中的旧样式类和新样式类有什么区别?)
                  How to break out of multiple loops?(如何打破多个循环?)
                  How to put the legend out of the plot(如何将传说从情节中剔除)
                  Why is the output of my function printing out quot;Nonequot;?(为什么我的函数输出打印出“无?)

                  <small id='6b54Z'></small><noframes id='6b54Z'>

                            <bdo id='6b54Z'></bdo><ul id='6b54Z'></ul>
                            <tfoot id='6b54Z'></tfoot>
                          • <i id='6b54Z'><tr id='6b54Z'><dt id='6b54Z'><q id='6b54Z'><span id='6b54Z'><b id='6b54Z'><form id='6b54Z'><ins id='6b54Z'></ins><ul id='6b54Z'></ul><sub id='6b54Z'></sub></form><legend id='6b54Z'></legend><bdo id='6b54Z'><pre id='6b54Z'><center id='6b54Z'></center></pre></bdo></b><th id='6b54Z'></th></span></q></dt></tr></i><div id='6b54Z'><tfoot id='6b54Z'></tfoot><dl id='6b54Z'><fieldset id='6b54Z'></fieldset></dl></div>
                            <legend id='6b54Z'><style id='6b54Z'><dir id='6b54Z'><q id='6b54Z'></q></dir></style></legend>
                              <tbody id='6b54Z'></tbody>