简体   繁体   English

风筝没有找到 pythonpath 库,尽管 python 确实

[英]Kite not finding pythonpath libraries, although python does

I checked Kite documentation but could not understand if Kite only (it is already a great tool) covers core main - core libraries or if it is expected to find and support also personal libraries, for example libraries in pythonpath.我检查了 Kite 文档,但无法理解 Kite 是否仅(它已经是一个很棒的工具)涵盖核心 main - 核心库,或者它是否有望找到并支持个人库,例如 pythonpath 中的库。

In case, suggestions on how to add them?万一,关于如何添加它们的建议?

Using Anaconda and VIM on Ubuntu.在 Ubuntu 上使用 Anaconda 和 VIM。

We recently released a new feature for this, and have published help docs that we'll continue updating.我们最近为此发布了一项新功能,并发布了我们将继续更新的帮助文档 Here are the instructions for how you can add libraries to Kite's directory so you're sure it indexes them.以下是有关如何将库添加到 Kite 目录的说明,以便确保它为它们编制索引。

(We're debugging some aspects of this, so let us know if you run into issues or have further questions.) (我们正在调试这方面的某些方面,所以如果您遇到问题或有其他问题,请告诉我们。)

First, make the /libraries directory in the.kite directory if it's not already there:首先,在 .kite 目录中创建 /libraries 目录(如果它不存在):

mkdir -p ~/.kite/libraries/

Next, create a symbolic link to the library you want indexed by Kite:接下来,创建一个指向您希望 Kite 索引的库的符号链接:

ln -s /your_lib_dir/ ~/.kite/libraries/

Finally, check the link is there:最后,检查链接是否存在:

cd .kite/
ls libraries/your_lib_dir/

Kite will then be able to index those specified libraries. Kite 将能够索引那些指定的库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM