I was able to complete Chapter 1, but pytest is giving me a problem:
C:\data\m220>pytest -m text_and_subfield_search Traceback (most recent call last): File "c:\python37\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) .... File "c:\python37\lib\site-packages\_pytest\capture.py", line 681, in _py36_windowsconsoleio_workaround sys.__stdin__ = sys.stdin = _reopen_stdio(sys.stdin, 'rb') File "c:\python37\lib\site-packages\_pytest\capture.py", line 675, in _reopen_stdio open(os.dup(f.fileno()), mode, buffering), OSError: [WinError 87] The parameter is incorrect
Obviously there is a problem with my python environment. I have PyCharm, Python 3.7., Anaconda 3
I tried all suggestions in previous similar thread (change version of the pytest, mainly), but nothing has changed.
Any other bright ideas, short of “reinstall everything”?