20.15.0 - 'PythonInfo' object has no attribute 'version_nodot' (Jenkins / tox / py35)
See original GitHub issueSuddenly getting the below with the latest virtualenv 20.15.0 This is on a work jenkins build so I am unable to provide any more details / logs than below. Hopefully its enough.
unittest-py35 uses C:\Python35\python.exe
unittest-py35 start: getenv C:\jenkins\workspace\omation_report_generators_master@2\.tox\unittest-py35
unittest-py35 cannot reuse: no previous config C:\jenkins\workspace\omation_report_generators_master@2\.tox\unittest-py35\.tox-config1
unittest-py35 create: C:\jenkins\workspace\omation_report_generators_master@2\.tox\unittest-py35
[49544] C:\jenkins\workspace\omation_report_generators_master@2\.tox$ 'C:\jenkins\workspace\omation_report_generators_master@2\venv\Scripts\python.exe' -m virtualenv --no-download --python 'C:\Python35\python.exe' unittest-py35
AttributeError: 'PythonInfo' object has no attribute 'version_nodot'
ERROR: invocation failed (exit code 1)
ERROR: InvocationError for command 'C:\jenkins\workspace\omation_report_generators_master@2\venv\Scripts\python.exe' -m virtualenv --no-download --python 'C:\Python35\python.exe' unittest-py35 (exited with code 1)
unittest-py35 finish: getenv C:\jenkins\workspace\omation_report_generators_master@2\.tox\unittest-py35 after 9.27 seconds
___________________________________ summary ___________________________________
ERROR: unittest-py35: InvocationError for command 'C:\jenkins\workspace\omation_report_generators_master@2\venv\Scripts\python.exe' -m virtualenv --no-download --python 'C:\Python35\python.exe' unittest-py35 (exited with code 1)
cleanup C:\jenkins\workspace\omation_report_generators_master@2\.tox\.tmp\package\1\report_generators-1.0.42+4c3f2cb-py2.py3-none-any.whl
The py27 and py37 steps still work fine. So appears to be just py35 Maybe TOX needs to be updated to support?
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top Results From Across the Web
AttributeError: 'version_info' object has no attribute '__version__'
I had already installed Sci-kit Learn, Numpy, Pandas and Sklearn but I'm getting this error when I run my script in Pycharm. How...
Read more >'version_info' object has no attribute '__version__' when trying ...
I have been referred to this platform from Stack Overflow for this question. I am trying to follow the How to Build Object...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Downgrade isn’t a good solution, please instead do the
python -m virtualenv api -vvv --reset-app-data
to solve it.It seems like this issue is Windows specific, I have not seen it on the Linux nodes.
Are there any plans for automatic cache migration or deletion? It is a pain to run the command on 50+ Windows build nodes 😅.