简体   繁体   English

如何加载与el-get一起安装的jedi?

[英]How to load jedi as installed with el-get?

I have followed the quick start to install jedi. 我已按照快速入门安装jedi。 el-get-list-packages shows jedi as required, but no jedi namespace is available, so that I can not run jedi:install-server . el-get-list-packages根据需要显示jedi ,但没有jedi名称空间可用,因此我无法运行jedi:install-server

How are packages installed with el-get loaded? 如何使用el-get安装软件包? How can I force a load? 我该如何强迫负载? How do I know where the packages are stored? 我如何知道包装的存放位置?

Maybe jedi doesn't provide any autoloads? 也许jedi不提供任何自动加载功能? In that case you could either provide your own, or just require the library outright in your init file. 在这种情况下,您可以提供自己的库,也可以只在初始化文件中直接require该库。

...but no; ...但不是; looking at the repo your jedi:install-server function in jedi-core.el has an autoload cookie. 查看回购,您在jedi-core.el中的jedi:install-server函数具有自动加载cookie。 el-get ought to have processed that on installation. el-get应该在安装时已经处理过。 If you have a ~/.emacs.d/el-get/.loaddefs.el file, check for the autoload declaration there? 如果您有~/.emacs.d/el-get/.loaddefs.el文件,请检查其中的自动加载声明?

el-get presumably still puts things in ~/.emacs.d/el-get/ by default (I use quite an old version, so I'm unsure of what's changed). 默认情况下, el-get可能仍会将其放入~/.emacs.d/el-get/ (我使用的是相当旧的版本,因此不确定更改内容)。

nb If the jedi library is in the load-path , then Mx locate-library RET jedi RET will tell you where it is located. nb如果jedi库位于load-path ,则Mx locate-library RET jedi RET会告诉您它的位置。 (And find-library can visit it.) find-library可以访问它。)

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

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