Skip to content

NSoT Installation failure #377

@spatel221

Description

@spatel221

Hello - hope someone can help me. I followed the nsot installation guide for a CentOS machine, after first reading it through on nsot.readthedocs.io/en/latest/intsallation.html, found on the website. I was successfull up until the actual install of nsot and I came across the below errors. I am on CentOS-7:


[centos@nsot-test-centos-server ~]$ sudo pip install nsot
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting nsot
Downloading nsot-1.4.6.tar.gz (941 kB)
|████████████████████████████████| 941 kB 1.2 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l82_sW/nsot/setup.py'"'"'; file='"'"'/tmp/pip-install-l82_sW/nsot/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-rO4CuV
cwd: /tmp/pip-install-l82_sW/nsot/
Complete output (1 lines):
error in nsot setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.


Separately, I also tried install for python3 whereby I substituted pip with pip3 where necessary. That installation was successful on the latest version of NSoT and I was able to run nsot-server init and it cerated the config file, however, when trying to start nsot, it was throwing an exception, trying to look for a module that it could not find:

nsot-python3-centos7-start-failt


I am hoping this is something trivial and I am missing some steps somewhere or a mis-config of some sort
Regards,
Sandip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions