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

Using pipenv from inside a subdirectory #34

Open
hjpotter92 opened this issue Jul 4, 2018 · 2 comments
Open

Using pipenv from inside a subdirectory #34

hjpotter92 opened this issue Jul 4, 2018 · 2 comments

Comments

@hjpotter92
Copy link

I have the following in my emacs init file:

(use-package pipenv
  :hook (python-mode . pipenv-mode)
  :diminish)

Now, I visit the file a.py in a directory structure:

.:
Pipfile  GRTAGS  GTAGS  GPATH  x/

./x:
y/

./x/y:
a.py

and try to do pipenv-activate. It ends with:

No virtualenv has been created for this project yet!
Process Pipenv exited abnormally with code 1

I have projectile mode enabled. Shouldn't activation happen at project root?

@pwalsh
Copy link
Owner

pwalsh commented Jul 19, 2018

It should you are right, but it doesn't. I've got a range of changes to pipenv on a branch I don't get around to finishing. I'll try to address this there, but also will be happy for a PR that fixes this.

@pwalsh pwalsh added this to the Current milestone Jul 19, 2018
@pwalsh
Copy link
Owner

pwalsh commented Dec 6, 2018

#45

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

2 participants