Open Krisselack opened 2 years ago
I tried to start the following app https://github.com/STATWORX/blog/tree/master/DashApp.
And i received the following error: /usr/local/bin/python3.9: can't find 'main' module in '/home/christian/wd/DashApp'
The proposed workaround of C-u C-c C-c from https://github.com/jorgenschaefer/elpy/issues/69 didn't work either.
(elpy-config)
Emacs.............: 26.3 Elpy..............: 1.35.0 Virtualenv........: None Interactive Python: /usr/local/bin/python3.9 3.9.11 (/usr/local/bin/python3.9) RPC virtualenv....: rpc-venv (/home/christian/.emacs.d/elpy/rpc-venv) Python...........: python3.9 3.9.11 (/home/christian/.emacs.d/elpy/rpc-venv/bin/python3.9) Jedi.............: 0.18.1 Autopep8.........: 1.6.0 Yapf.............: 0.32.0 Black............: 22.3.0 Syntax checker....: flake8 (/home/christian/.local/bin/flake8)
(eval-after-load "elpy" '(define-key elpy-mode-map (kbd "<C-return>") 'elpy-shell-send-region-or-buffer)) (when (require 'flycheck nil t) (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)) (add-hook 'elpy-mode-hook 'flycheck-mode)) (setq flycheck-python-pylint-executable "python3.9") (setq elpy-rpc-python-command "/usr/local/bin/python3.9") (setq elpy-shell-starting-directory 'current-directory)
Summary
I tried to start the following app https://github.com/STATWORX/blog/tree/master/DashApp.
And i received the following error: /usr/local/bin/python3.9: can't find 'main' module in '/home/christian/wd/DashApp'
The proposed workaround of C-u C-c C-c from https://github.com/jorgenschaefer/elpy/issues/69 didn't work either.
Steps to reproduce
My configuration
OS: Ubuntu 18.04
Result of
(elpy-config)
Elpy configuration in my init.el