Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tox fails with invocation failed - can't find __main__ module in virtualenv.py #14

Closed
pytoxbot opened this issue Sep 17, 2016 · 1 comment

Comments

@pytoxbot
Copy link

  • Bitbucket: https://bitbucket.org/hpk42/tox/issue/14

  • Originally reported by: @ssbarnea

  • Originally created at: 2011-10-07T13:34:20.310

    [tox testenv:py25] ___________________________________________________
    [TOX] ***creating virtualenv py25
    [TOX] C:\Automation Scripts\Scripts\Sample\Sorin\tendo.tox$ c:\python25\python.exe ............\Python25\lib\site-packages\tox-1.1-py2.5.egg\tox\virtualenv.py --distribute --no-site-packages py25 >py25\log\0.log
    [TOX] ERROR: invocation failed, logfile: C:\Automation Scripts\Scripts\Sample\Sorin\tendo.tox\py25\log\0.log
    [TOX] ERROR: C:\Automation Scripts\Scripts\Sample\Sorin\tendo.tox$ c:\python25\python.exe ............\Python25\lib\site-packages\tox-1.1-py2.5.egg\tox\virtualenv.py --distribute --no-site-packages py25 >py25\log\0.log
    c:\python25\python.exe: can't open file '............\Python25\lib\site-packages\tox-1.1-py2.5.egg\tox\virtualenv.py': [Errno 2] No such file or directory

    [TOX] ERROR: InvocationError: c:\python25\python.exe ............\Python25\lib\site-packages\tox-1.1-py2.5.egg\tox\virtualenv.py --distribute --no-site-packages py25 (see C:\Automation Scripts\Scripts\Sample\Sorin\tendo.tox\py25\log\0.log)

0.log content:

C:\Automation Scripts\Scripts\Sample\Sorin\tendo\.tox$ c:\python25\python.exe ..\..\..\..\..\..\Python25\lib\site-packages\tox-1.1-py2.5.egg\tox\virtualenv.py --distribute --no-site-packages py25 >py25\log\0.log
c:\python25\python.exe: can't open file '..\..\..\..\..\..\Python25\lib\site-packages\tox-1.1-py2.5.egg\tox\virtualenv.py': [Errno 2] No such file or directory
@pytoxbot
Copy link
Author

Original comment by @hpk42

i expect this is fixed with recent tox develop versions, install with "pip install -i http://pypi.testrun.org -U tox"

@tox-dev tox-dev locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant