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
"pipenv install" is unclear to me #6048
Comments
StackOverflow would be a better place to post a support-type question like this, but in a nutshell, |
Such answer feels a bit inpolite from my point of view. Then why do you offer a "Usage / Requests for Help" section in your Issues? From maintainer to maintainer: Youcould treat question from your users as an opportunity to improve your docu or the way/path to the docu.
In this case it would be a short form of this?
|
@buhtz Just a pipenv user here, not a maintainer. I certainly didn't mean to be impolite and didn't mean that your question was a bad one, so I'm sorry that my answer sounded brusque. I was just suggesting StackOverflow because your question would then be there permanently for anyone to see vs being in an issue here that will be closed at some point and might not be as easily discovered. I agree that the docs could use a bit of improvement, but I know that the primary maintainer is doing his best to keep up with the issues here (I just submitted one myself a few days ago), and so I doubt if he's had time to also update the docs. Overall, I've used To answer your last question there: You would do |
But I do use pip inside the environment and couldn't discover a problem yet. |
In general, I like the summary that https://search.brave.com provides when I do a search, so this information might be useful. |
Pipenv is virtual Environment management tool which automatically creates and manages a virtual environment for your projects, as well as adds and removes dependencies. When you run pipenv install, it not only installs the specified package but also creates a Pipfile and Pipfile.lock to manage project dependencies. This helps in ensuring consistent and reproducible environments for your projects.
*** Large Team Collaboration****
|
Are there plans to support pyproject.toml? The point is I do not use pipfile and I do not need to create or manage a virtual env. What I like on pipenv is that it creates a virtual env and open it in a sub-shell. Managing dependencies should not be its concern. There is pip and the pyproject.toml for that. I open the environment via "pipenv shell" and then just do "python3 -m pip install ." and everything is fine. |
The way you use |
Yes, I gave them a shot. But they do not open a sub-shell. |
If you really need a subshell and support for installing dependencies from pyproject.toml perhaps hatch will help you. |
What is
|
Thanks for this explanation. I am sorry but I disagree in some points.
This is IMHO a disadvantage. It is a redundant feature because Pythons build environment can handle that via pyproject.toml file itself. Having another file with such information is redundant and can introduce bugs.
As you can see in my case this "combination" is a problem. I am not interested in package management and I do not need it because Python itself does provide it. |
It is unclear to me what the purpose of
pipenv install
is.Usually I do install packages via
pip
in a virtual environment. So what is the advantage ofpipenv install
?The text was updated successfully, but these errors were encountered: