Why pipx vs just using pip?
With pipx when you install things they go into isolated environments. With pip you're just installing things globally. This difference is important due to dependencies- if you have two different CLI tools you want to install but they have conflicting dependencies then pip is going to put at least one of them into an unusable state, while pipx will allow them to both coexist on the same system.
My Python Development Environment, 2020 Edition
11–20 of 241 posts
Re: My Python Development Environment, 2020 Edition
#12This is so painful to see compared to using conda.
1. The author of this post helped to create the Django framework and runs a successful Python consultancy. 2. Conda is not used as much as you might think... it's really only used within the data science community.
Re: My Python Development Environment, 2020 Edition
#13Re: My Python Development Environment, 2020 Edition
#14Re: My Python Development Environment, 2020 Edition
#15Why pipx vs just using pip?
With pipx when you install things they go into isolated environments. With pip you're just installing things globally. This difference is important due to dependencies- if you have two different CLI tools you want to install but they have conflicting dependencies then pip is going to put at least one of them into an unusable state, while pipx will allow them to both coexist on the same system.
pipx, poetry, pipenv and co are still nice wrappers to have, I suppose. It just feel less useful now that most of my projects are dockerized.
Re: My Python Development Environment, 2020 Edition
#16Earlier quoted context omitted.
1. The author of this post helped to create the Django framework and runs a successful Python consultancy. 2. Conda is not used as much as you might think... it's really only used within the data science community.
And anyway, you should tell people to install mini conda, not conda, unless they know they'll need everything it includes by default.
Re: My Python Development Environment, 2020 Edition
#17Curious to hear other's experiences with pipenv vs poetry. Has anyone made the switch?
The main reasoning was so that I could easily build and publish packages to a private repository and then easily import packages from both pypi and the private repository.
Happy to answer more questions.
Re: My Python Development Environment, 2020 Edition
#18Earlier quoted context omitted.
Being in the data science community myself, I prefer straight venv + pip to conda. It’s simpler for me to manage errors. I only use conda when I have to.
Yeah I don't know a single person who chooses to use conda.
Re: My Python Development Environment, 2020 Edition
#19This is so painful to see compared to using conda.
1. The author of this post helped to create the Django framework and runs a successful Python consultancy. 2. Conda is not used as much as you might think... it's really only used within the data science community.
2. Conda is quite widely used outside of data science. It’s for example part of Anaconda enterprise offerings used by huge banks, government agencies, universities, etc., on large projects often with no use cases related to data science. Conda itself has no logical connection with data science, it’s just a package & environment manager.
In each of my last 4 jobs, 2 at large Fortune 500 ecommerce companies, conda has been the environment manager used for all internal Python development. Still use pip a lot within conda envs, but conda is the one broader constant.
Re: My Python Development Environment, 2020 Edition
#20I find it useful to keep a WinPython installation on a flash drive in my pocket. I can plug it into somebody's computer and run my own stuff, without worrying that I'm going to bollix up their system.