0

I'm using Emacs 24 and elpy to run some Python 3 code. However, after I open a shell with C-U-C-C-C-Z and then run my code with C-U-C-C-C-C, I get the error in my command line:

Cannot open load file: no such file or directory, pylint

This is odd, as I've made no recent changes to Emacs, but it always tends to be finicky about if it wants to run any code. The python shell works fine, so that shouldn't be the issue. Thanks.

3
  • 1
    Do you mean that it used to work ? To me this error means that the elisp pylint package was not installed or not "required". Try installing it with M-x package-install (and be sure to have the pypi pylint package installed in the current virtual env too, if you use one inside emacs -this is a current elpy installation shortcoming). Commented May 14, 2017 at 16:44
  • @Ehvince, thank you. That worked for some reason, though I don't know how it would've worked without pylint in the past. Commented May 14, 2017 at 17:34
  • 1
    Cool ! I made an answer out of my comment :D Commented May 14, 2017 at 22:36

1 Answer 1

1

Do you mean that it used to work ? To me this error means that the elisp pylint package was not installed or not "required". Try installing it with M-x package-install (and be sure to have the pypi pylint package installed in the current virtual env too, if you use one inside emacs -this is a current elpy installation shortcoming).

(made an answer of my comment)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.