question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

20.15.0 - 'PythonInfo' object has no attribute 'version_nodot' (Jenkins / tox / py35)

See original GitHub issue

Suddenly 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:open
  • Created a year ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
gaborbernatcommented, Jul 18, 2022

Downgrade isn’t a good solution, please instead do the python -m virtualenv api -vvv --reset-app-data to solve it.

1reaction
bparzellacommented, Jul 8, 2022

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 😅.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found