cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
826
Views
2
Helpful
1
Replies

acitoolkit install fails in both Windows 10 and kali linux

telestrial2020
Level 1
Level 1

Can't seem to get off the ground with the acitoolkit install.  Using python3.11 Windows10 and Kali linux.  I'm completely lost on how to resolve this.

kali linux

/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'tests_requires'
warnings.warn(msg)
running install
/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/command/easy_install.py:146: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Traceback (most recent call last):
File "/home/prac-aci/acitoolkit/setup.py", line 13, in <module>
setup(
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/__init__.py", line 108, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/dist.py", line 1213, in run_command
super().run_command(command)
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/command/install.py", line 74, in run
self.do_egg_install()
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/command/install.py", line 117, in do_egg_install
cmd.ensure_finalized() # finalize before bdist_egg munges install cmd
^^^^^^^^^^^^^^^^^^^^^^
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/setuptools/command/easy_install.py", line 335, in finalize_options
self.local_index = Environment(self.shadow_path + sys.path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1044, in __init__
self.scan(search_path)
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1077, in scan
self.add(dist)
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1096, in add
dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2631, in hashcmp
self.parsed_version,
^^^^^^^^^^^^^^^^^^^
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2679, in parsed_version
self._parsed_version = parse_version(self.version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/prac-aci/aci-learning-labs-code-samples/aci-works/lib/python3.11/site-packages/pkg_resources/_vendor/packaging/version.py", line 266, in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '4.2-3h'
(package: acicobra)

WINDOW 10

(aci-works) H:\ACI\acitoolkit>python setup.py install
H:\ACI\aci-learning-labs-code-samples\aci-works\Lib\site-packages\setuptools\_distutils\dist.py:264: UserWarning: Unknown distribution option: 'tests_requires'
warnings.warn(msg)
running install
H:\ACI\aci-learning-labs-code-samples\aci-works\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
H:\ACI\aci-learning-labs-code-samples\aci-works\Lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
H:\ACI\aci-learning-labs-code-samples\aci-works\Lib\site-packages\pkg_resources\__init__.py:123: PkgResourcesDeprecationWarning: 4.2-3h is an invalid version and will not be supported in a future release
warnings.warn(
running bdist_egg
running egg_info
writing acitoolkit.egg-info\PKG-INFO
writing dependency_links to acitoolkit.egg-info\dependency_links.txt
writing requirements to acitoolkit.egg-info\requires.txt
writing top-level names to acitoolkit.egg-info\top_level.txt
reading manifest file 'acitoolkit.egg-info\SOURCES.txt'
adding license file 'LICENSE'
adding license file 'NOTICE'
writing manifest file 'acitoolkit.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\acibaseobject.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\aciConcreteLib.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\acicounters.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\acifakeapic.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\aciFaults.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\aciHealthScore.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\aciphysobject.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\aciSearch.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\acisession.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\aciTable.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\acitoolkit.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\acitoolkitlib.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\__about__.py -> build\bdist.win-amd64\egg\acitoolkit
copying build\lib\acitoolkit\__init__.py -> build\bdist.win-amd64\egg\acitoolkit
byte-compiling build\bdist.win-amd64\egg\acitoolkit\acibaseobject.py to acibaseobject.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\aciConcreteLib.py to aciConcreteLib.cpython-311.pyc
build\bdist.win-amd64\egg\acitoolkit\aciConcreteLib.py:1105: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.attr['name'] is '':
byte-compiling build\bdist.win-amd64\egg\acitoolkit\acicounters.py to acicounters.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\acifakeapic.py to acifakeapic.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\aciFaults.py to aciFaults.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\aciHealthScore.py to aciHealthScore.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\aciphysobject.py to aciphysobject.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\aciSearch.py to aciSearch.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\acisession.py to acisession.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\aciTable.py to aciTable.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\acitoolkit.py to acitoolkit.cpython-311.pyc
build\bdist.win-amd64\egg\acitoolkit\acitoolkit.py:5213: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if life_cycle is not '':
byte-compiling build\bdist.win-amd64\egg\acitoolkit\acitoolkitlib.py to acitoolkitlib.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\__about__.py to __about__.cpython-311.pyc
byte-compiling build\bdist.win-amd64\egg\acitoolkit\__init__.py to __init__.cpython-311.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying acitoolkit.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying acitoolkit.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying acitoolkit.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying acitoolkit.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying acitoolkit.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist\acitoolkit-0.4-py3.11.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing acitoolkit-0.4-py3.11.egg
Removing h:\aci\aci-learning-labs-code-samples\aci-works\lib\site-packages\acitoolkit-0.4-py3.11.egg
error: [WinError 32] The process cannot access the file because it is being used by another process: 'h:\\aci\\aci-learning-labs-code-samples\\aci-works\\lib\\site-packages\\acitoolkit-0.4-py3.11.egg'

(aci-works) H:\ACI\acitoolkit>

 

1 Accepted Solution

Accepted Solutions

telestrial2020
Level 1
Level 1

SOLVED!

For kali linux this was the solution.

pip install --upgrade setuptools

 

 

View solution in original post

1 Reply 1

telestrial2020
Level 1
Level 1

SOLVED!

For kali linux this was the solution.

pip install --upgrade setuptools