Re:Four Eras of JavaScript Frameworks
by goodoldneon on Wednesday April 27, 2022 @08:17AM
(#31178966)
The virtual env thing is extra friction but isn’t terrible:
Most IDEs will automatically pick up the .venv folder
[ Parent
| on HN ]
Re:Four Eras of JavaScript Frameworks
by neurostimulant on Wednesday April 27, 2022 @08:46AM
(#31179177)
Virtualenv used to be a third party package, which was a very high friction because you'll need to install it system-wide first (e.g. from distro's package manager) before you can use it to create virtual environments.
Not terrible, but still not as good and easy as npm. For example, you can't make a distinction between runtime and development dependencies, and it doesn't solve circular dependencies. Luckily there is Poetry which exactly does this.
I don't know what you're talking about—every time I have to do this I have no idea what I'm doing and I'm a senior engineer at FAANG.
I admit that I'm not a Python engineer, but I have been in the past—twice!