Comments (15)
try jedi, it's an amazing package for python
from emacs.d.
or maybe try company-inf-python.
from emacs.d.
@ccruquan But this config doesn't use company
, so that wouldn't help.
anaconda-mode
is another option.
At some point I'll most likely switch to company-mode
instead of auto-complete
, but it pretty much requires dropping support for Emacs 23, which would be a shame.
from emacs.d.
waiting for switch to company-mode.
from emacs.d.
I use company-mode,but show message :
Company: Back-end company-ropemacs error "Symbol's function definition is void: rope-completions" with args (candidates os)
What's matter with company?
from emacs.d.
@coding8 Perhaps someone who uses company can comment here. I don't have an answer myself.
from emacs.d.
Waiting for switch to company-mode.
from emacs.d.
Perhaps someone who uses company can comment here. I don't have an answer myself.
from emacs.d.
@coding8 Could you answer the question I asked @hello-code in company-mode/company-mode#159 (comment)?
from emacs.d.
Sorry purcell ! I am lost.
I install company-anaconda and now solve the problem.
Thanks purcell!
Thanks dgutov!
from emacs.d.
check my fork, lisp/init-python-mode.el, using jedi
from emacs.d.
@junfx But what happens with those settings if you don't have virtualenv
installed, or the ~/.python-environments
dir is missing? Is it still possible to open python files without errors? I want to make sure the experience is okay for new users of this config who just casually open a python file.
from emacs.d.
I solved my path problem by getting the virtualenv path from currently active virtualenv (I activate it with virtualenv-workon).
I also add projectile project-root to path for jedi. So my jedi can also find project modules.
https://github.com/huseyinyilmaz/emacs-config/blob/master/lisp/user-init-jedi.el#L33-L69
I hope that helps
UPDATE: fixed the link.
from emacs.d.
@purcell there is a default value for python-environment. The virtualenv is a problem. Also, it requires 'pip install jedi'.
from emacs.d.
anaconda-mode
is now enabled by default in this config.
from emacs.d.
Related Issues (20)
- About flymake-flycheck HOT 10
- Got error message, about function of sanityinc/make-read-only, pp-display-expression in .el file in emacs 29.0.60 HOT 3
- Won't load after init-local.el is created and/or removed HOT 2
- Using wdired to change file name, got error message. HOT 6
- projectile configuration make projectile's candidate display error in emacs 29 HOT 3
- support for copilot HOT 2
- keybinding issues with paredit HOT 4
- Disable Parenthese and quote autocompletion when the cursor is just before a word or characters HOT 8
- Multiple Python flymake checkers HOT 4
- treesit config not load on startup HOT 1
- treesit-extra-load-path error when start emacs HOT 14
- Emacs says Symbol's function definition is void: setopt after updated to the latest version HOT 3
- Warning (treesit): Cannot activate tree-sitter, because language grammar for nix is unavailable (not-found) HOT 1
- Question on combining `eglot` + `nix` + `poetry` HOT 5
- symbol flymake-ruff-program is not bound
- M-X sly hits Error running timer: (void-function set-up-sly-hippie-expand) HOT 1
- Tidying up code HOT 1
- emacs Got Assertion failed: (derived-mode-p 'ibuffer-mode) HOT 5
- About the major-mode-remap-alist variable HOT 1
- org-mode cannot swap lists HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs.d.