昇華テキスト3のPythonコードプロンプト補完手段(アナコンダ)
既存の環境
win7の、python3.8.1、崇高TEST3 build3211、自身がパッケージコントロールをインストールし、パックされたロゴは、崇高なプレスはCtrl + Shift + Pであり、入力ボックスには、ポップアップ表示されますパッケージ制御が存在しますPCIN入力してください:パッケージ・オプションをインストールする
一般的です最初の1インチ それを選択して、待ち時間が新しい入力ウインドウにジャンプします
私は壁の上にインストールされていない手順、それは、自分のファイルを見つけ、構成ファイルのパスを変更channel_v3です。このプロセスはジャンプしないかのオプションを持っているか、言うべき質問をポップしていない場合は、それがインストールされていないか、十分に身に着けてはいけません。
プラグインを選択します
このビューはsublimeCodeIntelで推奨されますが、ふりをしようとしたではない、ない壁の向こうにも、変化するので、アナコンダ、自分のマニュアルを下げたくない理由かもしれません。
インストール
窓の演奏アナコンダで、最初のものを選択し、彼の次の[OK]をので。バーレーンは絵があるでしょう。この後に終了し
、このプロセスの、それは知恵の質問、突然のgetのすべてではありませんでした。
あなたはパッケージ制御インストールしていないことを問わないパッケージ制御が存在しない場合は、パッケージ制御も、好みの内部で開くことができます
コンフィギュレーション
私はポップを与えられているの準備ができて、考えを直接使用することができ、そしてそれは役に立たない試みたが、むしろ私には崇高を再起動します
<Anaconda.anaconda_lib.workers.local_worker.LocalWorker object at 0x7f9ce2ad9390> initial check failed because:
can not connect to /home/chenzewei/.local/share/anaconda/run/anaconda-2/anaconda.sock.tried to connect 21 times during 2 seconds
check that there is Python process executing the anaconda jsonserver.py script running in your system. If there is, check that the Unix Domain Socket file /home/username/.local/share/anaconda/run/anaconda-2/anaconda.sock
exists and that you can connect to it writing the following script in your Sublime Text 3 console: import socket;
socket.socket(socket.AF_INET,
socket.SOCK_STREAM).connect(/home/username/.local/share/anaconda/run/anaconda-2/anaconda.sock)
If anaconda works just fine after you received this error and the command above worked you can make anaconda to do not show you this error anymore setting the ‘swallow_startup_errors’ to ‘true’ in your
configuration file.
- 这里需要配置一下python路径。
1.由于插件本身无法知道Python安装的路径,所以需要手动设置Python主程序的位置。选择Preferences-package Setting-Anaconda-Settings-Default。
2,100行左右找到python_interpreter,修改成你的python路径。 - 再需要配置一下插件属性。
1,选择Preferences-package Setting-Anaconda-Settings-Users选项,键入以下json数据。保存,重启sublime即可{ "python_interpreter":"D:/Anaconda/python.exe", "suppress_word_completions":true, "suppress_explicit_completions":true, "comlete_parameters":true, "swallow_startup_errors":true,//关了sublime开启的报错弹窗 "anaconda_linting":false }
- 里面"swallow_startup_errors":true,//关了sublime开启的报错弹窗
- “python_interpreter”:“D:/Anaconda/python.exe”,//这个要换成一个步骤的python路径
- 打开win+r的命令窗口,输入你的python路径,能打开python则路径没有问题
- 在win里面复制来的路径要把反斜线改成正斜线,才不会被识别成转义字符
测试
- 重启sublime
- 新建python文件
- 输入imp等待看有没有反应
- 装好pandas可以这样试试,输入
.
之后等一等,我等了10秒它才出来