implementation_name ERROR while running prospector
Hi all, I am trying to use prospector to measure my Python code quality but I am getting this ERROR while running prospector. ``` File "/home/za/dev/github/za/prospector101/venv/lib/python3.4/site-packages/_markerlib/markers.py", line 113, in marker_fn return eval(compiled_marker, environment) File "<environment marker>", line 1, in <module> NameError: name 'implementation_name' is not defined ``` I installed prospector using pip: ``` $ pip install prospector ``` I've googled it but I don't find any good result. If anyone could help? -- Zaki Akhmad
* Zaki Akhmad <za@python.or.id>, 2018-12-04, 23:49:
I am trying to use prospector to measure my Python code quality but I am getting this ERROR while running prospector.
``` File "/home/za/dev/github/za/prospector101/venv/lib/python3.4/site-packages/_markerlib/markers.py", line 113, in marker_fn return eval(compiled_marker, environment) File "<environment marker>", line 1, in <module> NameError: name 'implementation_name' is not defined ```
Complete traceback would have been more helpful for understanding what's going on.
I installed prospector using pip:
``` $ pip install prospector ```
I've googled it but I don't find any good result.
For me, the second hit on Google is <https://github.com/PyCQA/pylint/issues/2538>, which reports astroid's incompatibility with old setuptools. Upgrading setuptools should fix this. -- Jakub Wilk
Pada tanggal Jum, 7 Des 2018 pukul 07.02 Jakub Wilk <jwilk@jwilk.net> menulis:
For me, the second hit on Google is <https://github.com/PyCQA/pylint/issues/2538>, which reports astroid's incompatibility with old setuptools. Upgrading setuptools should fix this.
Ah, it works now. Thanks a lot. ``` (venv)za@kwazii:11:05:26 {master} ~/dev/github/za/prospector101$ pip install setuptools --upgrade Collecting setuptools Using cached https://files.pythonhosted.org/packages/e7/16/da8cb8046149d50940c6110310983a... Installing collected packages: setuptools Found existing installation: setuptools 15.0 Uninstalling setuptools-15.0: Successfully uninstalled setuptools-15.0 Successfully installed setuptools-40.6.2 ``` ``` (venv)za@kwazii:11:07:17 {master} ~/dev/github/za/prospector101$ prospector --help usage: prospector [-h] [-0] [-A] [-u USES] [-B] [-D] [-T] [-8] [-m] [-F] [--max-line-length MAX_LINE_LENGTH] [-M] [-S] [-o OUTPUT_FORMAT] [--absolute-paths] [-t TOOLS] [-w WITH_TOOLS] [-W WITHOUT_TOOLS] [-P PROFILES] [--profile-path PROFILE_PATH] [-s {veryhigh,high,medium,low,verylow}] [--show-profile] [-E] [--pylint-config-file PYLINT_CONFIG_FILE] [-p PATH] [-I IGNORE_PATTERNS] [-i IGNORE_PATHS] [-X] [--include-tool-stdout] [--direct-tool-stdout] [--version] [PATH [PATH ...]] Performs static analysis of Python code ```
participants (2)
-
Jakub Wilk
-
Zaki Akhmad