Advertisement
Guest User

pytest error

a guest
Dec 20th, 2018
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.90 KB | None | 0 0
  1. (coala) akhelesh@Hubble:/media/Vol-B/Projects/coala-bears$ pytest ./tests/python/PyLintBearTest.py
  2. Traceback (most recent call last):
  3.   File "/usr/local/bin/pytest", line 11, in <module>
  4.     sys.exit(main())
  5.   File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 55, in main
  6.     config = _prepareconfig(args, plugins)
  7.   File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 180, in _prepareconfig
  8.     pluginmanager=pluginmanager, args=args
  9.   File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 258, in __call__
  10.     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  11.   File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 67, in _hookexec
  12.     return self._inner_hookexec(hook, methods, kwargs)
  13.   File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 61, in <lambda>
  14.     firstresult=hook.spec_opts.get('firstresult'),
  15.   File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 196, in _multicall
  16.     gen.send(outcome)
  17.   File "/usr/local/lib/python3.6/dist-packages/_pytest/helpconfig.py", line 89, in pytest_cmdline_parse
  18.     config = outcome.get_result()
  19.   File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 76, in get_result
  20.     raise ex[1].with_traceback(ex[2])
  21.   File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 180, in _multicall
  22.     res = hook_impl.function(*args)
  23.   File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 612, in pytest_cmdline_parse
  24.     self.parse(args)
  25.   File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 777, in parse
  26.     self._preparse(args, addopts=addopts)
  27.   File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 739, in _preparse
  28.     early_config=self, args=args, parser=self._parser
  29.   File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 258, in __call__
  30.     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  31.   File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 67, in _hookexec
  32.     return self._inner_hookexec(hook, methods, kwargs)
  33.   File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 61, in <lambda>
  34.     firstresult=hook.spec_opts.get('firstresult'),
  35.   File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 201, in _multicall
  36.     return outcome.get_result()
  37.   File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 76, in get_result
  38.     raise ex[1].with_traceback(ex[2])
  39.   File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 180, in _multicall
  40.     res = hook_impl.function(*args)
  41.   File "/home/akhelesh/.local/lib/python3.6/site-packages/pytest_cov/plugin.py", line 98, in pytest_load_initial_conftests
  42.     plugin = CovPlugin(early_config.known_args_namespace, early_config.pluginmanager)
  43.   File "/home/akhelesh/.local/lib/python3.6/site-packages/pytest_cov/plugin.py", line 145, in __init__
  44.     self.start(engine.Central)
  45.   File "/home/akhelesh/.local/lib/python3.6/site-packages/pytest_cov/plugin.py", line 167, in start
  46.     self.cov_controller.start()
  47.   File "/home/akhelesh/.local/lib/python3.6/site-packages/pytest_cov/engine.py", line 159, in start
  48.     self.cov.erase()
  49.   File "/home/akhelesh/.local/lib/python3.6/site-packages/coverage/control.py", line 717, in erase
  50.     self._init()
  51.   File "/home/akhelesh/.local/lib/python3.6/site-packages/coverage/control.py", line 219, in _init
  52.     self.plugins = Plugins.load_plugins(self.config.plugins, self.config, self.debug)
  53.   File "/home/akhelesh/.local/lib/python3.6/site-packages/coverage/plugin_support.py", line 39, in load_plugins
  54.     __import__(module)
  55.   File "/home/akhelesh/.local/lib/python3.6/site-packages/coverage_env_plugin.py", line 4, in <module>
  56.     from packaging.markers import default_environment
  57. ModuleNotFoundError: No module named 'packaging'
  58.  
  59. (coala) akhelesh@Hubble:/media/Vol-B/Projects/coala-bears$ pip freeze
  60. aenum==2.0.10
  61. ansicolor==0.2.6
  62. apertium-lint==0.29
  63. apipkg==1.5
  64. appdirs==1.4.3
  65. args==0.1.0
  66. astroid==2.1.0
  67. atomicwrites==1.2.1
  68. attrs==18.2.0
  69. autoflake==0.7
  70. autopep8==1.4.3
  71. Babel==2.6.0
  72. backcall==0.1.0
  73. bandit==1.5.1
  74. bashate==0.5.1
  75. bitstring==3.1.5
  76. brotlipy==0.7.0
  77. cached-property==1.4.3
  78. certifi==2018.11.29
  79. cffi==1.11.5
  80. chardet==3.0.4
  81. cli-helpers==1.0.2
  82. Click==7.0
  83. clint==0.5.1
  84. cmakelint==1.3.4.1
  85. coala==0.12.0.dev99999999999999
  86. -e git+https://github.com/Akhelesh/coala-bears.git@7c5e4c83469ba00ca2494c4c86adb2f53bf96816#egg=coala_bears
  87. -e git+https://gitlab.com/coala/coala-utils.git@f92226c326f044400908308b76a4e0fbb38447a2#egg=coala_utils
  88. codecov==2.0.15
  89. colorama==0.3.9
  90. colorlog==2.10.0
  91. coverage==4.4.1
  92. coverage-config-reload-plugin==0.2.0
  93. coverage-env-plugin==0.1
  94. cppclean==0.12
  95. cpplint==1.3.0
  96. crayons==0.1.2
  97. decorator==4.3.0
  98. defusedxml==0.5.0
  99. dennis==0.9
  100. -e git+https://gitlab.com/coala/package_manager.git@ecc7520fd045936aff13c074a2a01565dde7471e#egg=dependency_management
  101. docopt==0.6.2
  102. docutils==0.14
  103. docutils-ast-writer==0.1.2
  104. dominate==2.3.5
  105. dparse==0.4.1
  106. eradicate==0.1.6
  107. execnet==1.5.0
  108. future==0.17.1
  109. git-url-parse==1.1.0
  110. gitdb2==2.0.5
  111. GitPython==2.1.11
  112. gprof2dot==2017.9.19
  113. guess-language-spirit==0.5.3
  114. html-linter==0.4.0
  115. HTTPolice==0.5.2
  116. idna==2.8
  117. ipdb==0.11
  118. ipython==7.2.0
  119. ipython-genutils==0.2.0
  120. isort==4.3.4
  121. jedi==0.13.2
  122. Jinja2==2.10
  123. jsonschema==3.0.0a3
  124. jupyter-core==4.4.0
  125. language-check==1.1
  126. lazy-object-proxy==1.3.1
  127. libclang-py3==3.4.0
  128. lml==0.0.7
  129. mando==0.3.3
  130. MarkupSafe==1.1.0
  131. mccabe==0.6.1
  132. memento-client==0.6.1
  133. moban==0.3.5
  134. more-itertools==4.3.0
  135. munkres3==1.0.5.5
  136. mypy==0.590
  137. nbformat==4.4.0
  138. nltk==3.4
  139. packaging==16.8
  140. parso==0.3.1
  141. pathspec==0.5.9
  142. pbr==5.1.1
  143. pexpect==4.6.0
  144. pickleshare==0.7.5
  145. pip-api==0.0.4
  146. pkginfo==1.4.2
  147. pluggy==0.7.1
  148. polib==1.1.0
  149. prompt-toolkit==2.0.7
  150. proselint==0.7.0
  151. ptyprocess==0.6.0
  152. py==1.7.0
  153. pycodestyle==2.4.0
  154. pycparser==2.19
  155. pydocstyle==2.1.1
  156. pyflakes==2.0.0
  157. Pygments==2.3.0
  158. pylint==2.2.2
  159. pyparsing==2.3.0
  160. PyPrint==0.2.6
  161. pyroma==2.2
  162. pyrsistent==0.14.7
  163. pytest==3.6.4
  164. pytest-cov==2.6.0
  165. pytest-env==0.6.2
  166. pytest-forked==0.2
  167. pytest-instafail==0.3.0
  168. pytest-mock==1.10.0
  169. pytest-profiling==1.3.0
  170. pytest-pythonpath==0.7.3
  171. pytest-reorder==0.1.1
  172. pytest-reqs==0.2.0
  173. pytest-timeout==1.3.3
  174. pytest-travis-fold==1.3.0
  175. pytest-xdist==1.25.0
  176. pytz==2018.7
  177. PyYAML==3.13
  178. radon==1.4.0
  179. requests==2.21.0
  180. requests-mock==1.5.2
  181. requests-toolbelt==0.8.0
  182. restructuredtext-lint==1.0.1
  183. rstcheck==3.3.1
  184. ruamel.yaml==0.15.81
  185. safety==1.8.4
  186. sarge==0.1.5.post0
  187. scspell3k==2.1
  188. singledispatch==3.4.0.3
  189. six==1.12.0
  190. smmap2==2.0.5
  191. snowballstemmer==1.2.1
  192. sqlparse==0.2.4
  193. stevedore==1.30.0
  194. tabulate==0.8.2
  195. template-remover==0.1.9
  196. termcolor==1.1.0
  197. terminaltables==3.1.0
  198. testfixtures==5.3.1
  199. traitlets==4.3.2
  200. twine==1.7.4
  201. typed-ast==1.1.0
  202. unidiff==0.5.5
  203. urllib3==1.24.1
  204. vim-vint==0.3.18
  205. vulture==0.25
  206. wcwidth==0.1.7
  207. wrapt==1.10.11
  208. yamllint==1.12.1
  209. yapf==0.21.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement