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

Facing issue while installing plugin #5

Open
avin-tokade opened this issue Jan 22, 2020 · 1 comment
Open

Facing issue while installing plugin #5

avin-tokade opened this issue Jan 22, 2020 · 1 comment

Comments

@avin-tokade
Copy link

avin-tokade commented Jan 22, 2020

Getting below errors while installing this plugin. Need help.

[root@ICINGA nagios-unity-master]# python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to nagios_unity.egg-info/requires.txt
writing nagios_unity.egg-info/PKG-INFO
writing top-level names to nagios_unity.egg-info/top_level.txt
writing dependency_links to nagios_unity.egg-info/dependency_links.txt
writing entry points to nagios_unity.egg-info/entry_points.txt
reading manifest file 'nagios_unity.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'nagios_unity.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying nagiosunity/cli/init.py -> build/lib/nagiosunity/cli
error: nagiosunity/cli/init.py: Operation not permitted

System details

[root@ICINGA ~]# python -V
Python 2.7.5
[root@ICINGA ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)

@Murray-LIANG
Copy link
Collaborator

I tried the installation python setup.py install locally on a centos 7 container. And it succeeded.

Which version of setuptools are you using? Could try to update setuptools and try again.
Mine is:

[root@960d6f3dacf2 nagios-unity]# pip show setuptools
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. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Name: setuptools
Version: 44.0.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: [email protected]
License: UNKNOWN
Location: /usr/lib/python2.7/site-packages
Requires: 
Required-by: 

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