New issue 701: py.test.exe - failed to create process
https://bitbucket.org/pytest-dev/pytest/issue/701/pytestexe-failed-to-create-process

psantoro:

I've been using pytest 2.6.4 successfully with python 3.4.2 64bit for a while 
now on Windows 7 and Linux.  My Windows 7 python 3.4.2 installation directory 
was "c:\bin\python34".  I recently upgraded (i.e. remove, followed by install) 
to Python 3.4.3 64bit, but installed it into "c:\program files\python34".  I 
believe this is a more secure location and I've read that Python 3.5 will 
default to using the standard Windows software installation directories.

When I reinstalled pytest 2.6.4 via "pip install pytest" for python 3.4.3, the 
install appeared to complete successfully.  However, when I try to execute 
either of the py.test exes in the python scripts directory, I get a "failed to 
create process" error.  The py.test script files appear to work fine.  I then 
uninstalled pytest via pip.  I then used pip to install the 
pytest-2.6.4-py2.py3-none-any.whl from 
http://www.lfd.uci.edu/~gohlke/pythonlibs/.  The included exes in the whl 
appear to work fine.

I also tried these tests using a console window opened via "Run as 
Administrator", but this did not change the outcome.  I was also able to 
duplicate the above on my home notebook.

I haven't had any new issues with other python packages and scripts (including 
many that I've written myself) since upgrading to python 3.4.3.  Perhaps 
there's something in the pytest setup logic that doesn't like spaces in 
directory names?


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to