- pyenvを使用している時にこのエラーに遭遇することがある。
- その場合は、以下の対応で対処することができる。
/usr/local/bin/{console_script_name}
のシェバンを#!/usr/bin/python
から#!/home/{user_name}/.pyenv/shims/python
に変更 - もしくは、次のコマンドを実行することでも解決する。
mv /usr/bin/python /usr/bin/python.bak
ln -s /home/miyagaw61/.pyenv/shims/python /usr/bin/python
- その場合は、以下の対応で対処することができる。
More than 5 years have passed since last update.
python setup.py install後のconsole_scriptでpkg_resources.DistributionNotFound: The '{package_name}=={version}' distribution was not found and is required by the application
Last updated at Posted at 2017-11-20
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
21