I have installed pycodestyle on my mac in the same path using
pip install pycodestyle
but when I check for its version I get-
"pycodestyle" --version
Traceback (most recent call last):
File "/Users/shashwatkhilar/tools/bin/pycodestyle", line 6, in <module>
from pycodestyle import _main
ModuleNotFoundError: No module named 'pycodestyle'
mkdir demo
cd demo
python3 -m venv myen
source myenv/bin/activate
pip install pycodestyle
Check whether it is installed or not using any of these commands
pip freeze
or
pycodestyle --version