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

Azure DevOps Task TaurusInstaller installation is failing with error #8

Closed
bhadana-rajesh opened this issue Nov 19, 2020 · 3 comments
Closed

Comments

@bhadana-rajesh
Copy link

Hi,

Environment :
Azure DevOps,
microsoft hosted ubuntu-18.04,

Its fail to install TaurusInstaller, with error Command errored out with exit status 1: /opt/hostedtoolcache/Python/3.9.0/x64/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9z882prr/fuzzyset/setup.py'"'"'; file='"'"'/tmp/pip-install-9z882prr/fuzzyset/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-cmd10gpt/install-record.txt --single-version-externally-managed --compile --install-headers /opt/hostedtoolcache/Python/3.9.0/x64/include/python3.9/fuzzyset Check the logs for full command output.

Please see attached task logs

  • task: UsePythonVersion@0
    inputs:
    versionSpec: '3.x'
    addToPath: true
    architecture: 'x64'
    - task: JMeterInstaller@0
    inputs:
    jmeterVersion: '5.2.1'
    - task: TaurusInstaller@0
    inputs:
    taurusVersion: '1.14.1'
    pythonCommand: 'python3'

TaurusInstallerLogs.log

@algattik
Copy link
Owner

This is related to a third-party module, the cause of this is unclear:

 Running setup.py install for fuzzyset: started
2020-11-18T09:45:45.6242527Z     fuzzyset/cfuzzyset.c:6309:35: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’; did you mean ‘tp_dict’?

Maybe try with another version of Taurus, e.g. 1.15.1? https://gettaurus.org/docs/Changelog/
Or try pip3 install fuzzysetbefore TaurusInstaller?

@bhadana-rajesh
Copy link
Author

Hi

Thank you @algattik for quick response.

task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
addToPath: true
architecture: 'x64'

I have change versionSpec from '3.x' to '3.8', and it start working again.

Thanks,
Rajesh

algattik added a commit that referenced this issue May 30, 2021
@algattik
Copy link
Owner

Updated documentation to mention that Python 3.9 is not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants