Spirent TestCenter: STC installation in Linux fails


Doc ID    SOL14361
Version:    1.0
Status:    Published
Published date:    07/29/2020
 

Objective/Summary

STC installation fails in linux

Environment/Versions

STC 5.09
STC 5.11
Ubuntu 16.04 LTS

Errors shown:

ERROR installing from requirements file /usr/local/spirent/Spirent_TestCenter_5.11/Spirent_TestCenter_Application_Linux/STAKvirtualenvs/__requirements__/spirent.magellan_requirements.txt:   Failed building wheel for PyYAML
Command "/usr/local/spirent/Spirent_TestCenter_5.11/Spirent_TestCenter_Application_Linux/STAKvirtualenvs/spirent.magellan/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/selfextract.Lz8j0K/pip-build-2zmLEE/PyYAML/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/selfextract.Lz8j0K/pip-Ir2sFr-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/spirent/Spirent_TestCenter_5.11/Spirent_TestCenter_Application_Linux/STAKvirtualenvs/spirent.magellan/include/site/python2.7/PyYAML" failed with error code 1 in /tmp/selfextract.Lz8j0K/pip-build-2zmLEE/PyYAML/



Traceback (most recent call last):
  File "/home/spirent/jenkins-rel/workspace/release_bll_linux_x64_ci/build/il/bld_bll-el3-64_x86_64/Release/bin/STAKCommands/spirent/results/UpdateChromePath.py", line 7, in <module>
ImportError: No module named yaml
Traceback (most recent call last):
  File "/home/spirent/jenkins-rel/workspace/release_bll_linux_x64_ci/build/il/bld_bll-el3-64_x86_64/Release/bin/STAKCommands/spirent/results/InstallProfilesAndViews.py", line 5, in <module>
ImportError: No module named requests
Traceback (most recent call last):
  File "/home/spirent/jenkins-rel/workspace/release_bll_linux_x64_ci/build/il/bld_bll-el3-64_x86_64/Release/bin/STAKCommands/spirent/results/CreateUserModelDatabase.py", line 4, in <module>
ImportError: No module named requests

Procedure

Some packages affects the STC installation, it's recommended to install the STC application before other packages

Notes

You should first update de dependencies before installing STC

Find Answers

Specified Languages
English
中文

Please Sign In

Username
Password

Did you forget your password?
Click here for assistance

New user? Start here.