Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C-c C-c not working... #33

Open
yelled1 opened this issue Jul 1, 2018 · 4 comments
Open

C-c C-c not working... #33

yelled1 opened this issue Jul 1, 2018 · 4 comments
Milestone

Comments

@yelled1
Copy link

yelled1 commented Jul 1, 2018

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) (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

@pwalsh
Copy link
Owner

pwalsh commented Jul 19, 2018

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 pwalsh added this to the Backlog milestone Jul 19, 2018
@yelled1
Copy link
Author

yelled1 commented Jul 30, 2018

Got it. Will attempt upgrading. Thanks,

@pwalsh
Copy link
Owner

pwalsh commented Dec 6, 2018

#45

@benjamin-asdf
Copy link

benjamin-asdf commented Dec 11, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants