I just upgraded to FreeBSD 11.1 to 11.2 (rather, did a fresh install of 11.2), and I have found there are many small things that are broken with this release of FreeBSD. This issue right now is I've found some of my Python modules aren't working. I think it mainly stems around the elpy package. Here are my Python configs for Emacs:
I also found that autopep8 doesn't work either. I noticed that 11.2 upgraded Python to 3.6.6. That wouldn't bork everything would it? Here's what elpy shows from Emacs:
Elpy Configuration
Virtualenv........: None
RPC Python........: 3.6.6 (/usr/local/bin/python3)
Interactive Python: python3 (/usr/local/bin/python3)
Emacs.............: 26.1
Elpy..............: 1.21.0
Jedi..............: 0.12.0 (0.12.1 available)
Rope..............: 0.10.7
Autopep8..........: 1.3.5
Yapf..............: 0.22.0
This exact configuration file works with Emacs on Fedora 28 (using Python 3.6.5), so I know for fact that my whole emacs configuration works, and it has worked up to this point.
Syntax checker....: flake8-3.6 (/usr/local/bin/flake8-3.6)
Code:
;
'(elpy-syntax-check-command "/usr/local/bin/flake8-3.6")
'(inhibit-startup-screen t)
'(package-selected-packages
(quote
(php-mode auctex web-mode emmet-mode highlight-indent-guides buffer-move company-jedi ansible autopair yaml-mode flycheck elpy py-autopep8 atom-dark-theme nlinum evil-surround virtualenv jedi yasnippet org evil auto-complete)))
'(python-shell-interpreter "python3"))
----------------- PYTHON STUFF ----------------------
; install virtualenv for Python
(require 'virtualenv)
; elpy packages
(elpy-enable)
(setq elpy-rpc-python-command "python3")
(require 'py-autopep8)
(add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save)
(setq elpy-rpc-backend "jedi")
; enable FlyMake instead of FlyCheck
(when (require 'flycheck nil t)
(setq elpy-modules (delq 'elpy-module-flymake elpy-modules))
(add-hook 'elpy-mode-hook 'flycheck-mode))
; ----------------- END PYTHON STUFF ------------------
I also found that autopep8 doesn't work either. I noticed that 11.2 upgraded Python to 3.6.6. That wouldn't bork everything would it? Here's what elpy shows from Emacs:
Elpy Configuration
Virtualenv........: None
RPC Python........: 3.6.6 (/usr/local/bin/python3)
Interactive Python: python3 (/usr/local/bin/python3)
Emacs.............: 26.1
Elpy..............: 1.21.0
Jedi..............: 0.12.0 (0.12.1 available)
Rope..............: 0.10.7
Autopep8..........: 1.3.5
Yapf..............: 0.22.0
This exact configuration file works with Emacs on Fedora 28 (using Python 3.6.5), so I know for fact that my whole emacs configuration works, and it has worked up to this point.
Syntax checker....: flake8-3.6 (/usr/local/bin/flake8-3.6)