New issue 155: ERROR: InvocationError: could not find executable 'virtualenv' https://bitbucket.org/hpk42/tox/issue/155/error-invocationerror-could-not-find
Chris Withers: So, this is using Python 3.3.0 on Windows 7. I see this: <tools path>\Scripts\python.exe -c "import pip; pip.main();" install --upgrade tox ...gives: Requirement already up-to-date: tox in <tools path>\lib\site-packages Requirement already up-to-date: virtualenv>=1.11.2 in <tools path>\lib\site-packages (from tox) Requirement already up-to-date: py>=1.4.17 in <tools path>\lib\site-packages (from tox) Looking at versions: Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import tox >>> tox.__version__ '1.7.0' >>> import py >>> py.__version__ '1.4.20' >>> import virtualenv >>> virtualenv.__version__ '1.11.4' When I attempt to do: <tool path>\Scripts\python.exe -c "import tox; tox.cmdline();" - c tox.ini -v using tox.ini: <workspace>\tox.ini using tox-1.7.0 from <tools path>\lib\site-packages\tox\__init__.py py26 create: <workspace>\.tox\py26 ERROR: InvocationError: could not find executable 'virtualenv' Stepping through _venv.VirtualEnv.getcommandpath suggests that py.path.local.sysfind is being called with: (Pdb) self.envconfig.envbindir local('<workspace>\\.tox\\py26\\Scripts') ...rather than the local('<tools>\\Scripts') I would expect. This is the call to create .tox\py26, so its scripts will not exist yet. The tox.ini in question is here: https://github.com/Simplistix/mush/blob/master/tox.ini _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit