Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Talking about depreciated item. There are a lot of pyenv in the discussion. And even suggest it is to augment venv. But is that depreciated is since 3.6?

“Deprecated since version 3.6: pyvenv was the recommended tool for creating virtual environments for Python 3.3 and 3.4, and is deprecated in Python 3.6.”

Version is a nightmare btw. I have Conda just installed but sometimes the python is not the same as python3, one to 3.9 and one to 3.10. And unless you know the difference of pip3, pip and python -m pip (and not pip3…).

Using venv then somehow the script Kivy switch it out and fall to python 3.9. Where is it? And then it fail as there is no python in my macOS but just python3. Struggle whole night on how to fix the bash alias and fail then use symbolic link.

Just a “user” guys. Do not confuse me please.

“ There should be one-- and preferably only one --obvious way to do it.” sigh.



venv is not deprecated - it's still the standard way to create new environments in Python.

pyvenv, which was removed in Python 3.8, was a wrapper script around venv. The same functionality today is invoked via `python3 -m venv`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: