When I updated setuptools to 61.2.0, this error is shown every time I start vim.
I figured out it was because the command import virtualenv caused this warning message.
Error detected while processing function LoadSnake:
line 9:
/home/myuser/.local/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other
standards-based tools.
warnings.warn(
Press ENTER or type command to continue
Other message is also shown but I didn't figure out where it was caused.
/home/myuser/.local/lib/python3.8/site-packages/_distutils_hack/__init__.py:30: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
When I updated setuptools to
61.2.0
, this error is shown every time I start vim. I figured out it was because the commandimport virtualenv
caused this warning message.Other message is also shown but I didn't figure out where it was caused.
For now, I inserted warning filter like below.