pipenv.el icon indicating copy to clipboard operation
pipenv.el copied to clipboard

C-c C-c not working...

Open yelled1 opened this issue 7 years ago • 4 comments

Hi:

When I enable pipenv, with (add-hook 'python-mode-hook #'pipenv-mode). I get 5File mode specification error: (void-function pipenv-mode) Hit C-c C-c: 6run-hooks: Symbol's function definition is void: pipenv-mode

so I attempted:

(use-package pipenv
  :hook (python-mode . pipenv-mode)
  :init
(setq
   pipenv-projectile-after-switch-function
   #'pipenv-projectile-after-switch-extended))

-UU-:----F1 tst.py Top (1,0) <N> (Python Undo-Tree) ---------------------------------------------- 1Warning (initialization): An error occurred while loading /home/hoon/.emacs.d/init.el': 2 3Symbol's function definition is void: use-package 4 5To ensure normal operation, you should investigate and remove the 6cause of the error in your initialization file. Start Emacs with 7the --debug-init' option to view a complete error backtrace.

on: GNU Emacs 24.5.1 (simulation-RVBo82bs) ~/warehousing$ uname -a Linux 4.13.0-1019-gcp #23-Ubuntu SMP Thu May 31 16:13:34 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Ubuntu 16.04 on gCloud I am also using evil mode.

Is there way to get my python C-c C-c back with pipenv.el? Thank u much,

SHY

yelled1 avatar Jul 01 '18 11:07 yelled1

I'll have to look into this more - I have not seen this and it may just be a configuration problem on your end.

One point is that you are running Emacs 24.x but pipenv.el only supports Emacs 25.1 and above

pwalsh avatar Jul 19 '18 05:07 pwalsh

Got it. Will attempt upgrading. Thanks,

yelled1 avatar Jul 30 '18 15:07 yelled1

https://github.com/pwalsh/pipenv.el/issues/45

pwalsh avatar Dec 06 '18 16:12 pwalsh

Isn't the issue that you don't have use-package? Install the package via another way or get use package.

benjamin-asdf avatar Dec 11 '21 14:12 benjamin-asdf