You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation of pytest not working on Ubuntu 14.04 with python 3.6.2. I tried installing pytest with both my OS's vanilla python install and a pyenv virtual install. I used the command pip install -U pytest. I receive the following error when I try to import pytest or run pytest --version.
Traceback (most recent call last):
File "/home/bfortuner/.pyenv/versions/3.6.2/bin/pytest", line 7, in <module>
from pytest import main
File "/home/bfortuner/.pyenv/versions/3.6.2/lib/python3.6/site-packages/pytest.py", line 10, in <module>
from _pytest.fixtures import fixture, yield_fixture
File "/home/bfortuner/.pyenv/versions/3.6.2/lib/python3.6/site-packages/_pytest/fixtures.py", line 12, in <module>
from py._code.code import FormattedExcinfo
File "/home/bfortuner/.pyenv/versions/3.6.2/lib/python3.6/site-packages/py/_code/code.py", line 7, in <module>
reprlib = py.builtin._tryimport('repr', 'reprlib')
AttributeError: module 'py' has no attribute 'builtin'
GitMate.io thinks possibly related issues are #448 (pytest-xdist: AttributeError: 'module' object has no attribute 'all'), #1161 (AttributeError: 'module' object has no attribute 'epoll'), #1447 (AttributeError: 'OutputWriter' object has no attribute 'isatty'), #555 (AttributeError: '_io.FileIO' object has no attribute 'errors'), and #1944 (AttributeError: 'Module' object has no attribute '_obj').
Installation of pytest not working on Ubuntu 14.04 with python 3.6.2. I tried installing pytest with both my OS's vanilla python install and a pyenv virtual install. I used the command
pip install -U pytest
. I receive the following error when I try toimport pytest
or runpytest --version
.Output of
pip freeze
:The text was updated successfully, but these errors were encountered: