When trying to update the virtual Analyst installation after installed the roll-up 17.4.3.0, after extracting the \WIN_17_4_3_0\filestore\Virtual_Analyst\casmBot.zip to the target server folder C:\casm-bot and running the installer.bat, the following error appear:
Running setup.py install for fire ... error
error: subprocess-exited-with-error
* Running setup.py install for fire did not run successfully
| exit code: 1
+-> [44 lines of output]
C:\casm-bot\botenv\lib\site-packages\setuptools\_distutils\dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
running install
C:\casm-bot\botenv\lib\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
Traceback (most recent call last):
File "<string>", line 2 in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\<userid>\AppData\Local\Temp\pip-install-<######>\fire_<######>\setup.py", line 46, in <module>
setup(
File "C:\casm-bot\botenv\lib\site-packages\setuptools\__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "C:\casm-bot\botenv\lib\site-packages\setuptools\_distutils\core.py", line 183, in setup
return run_commands(dist)
File "C:\casm-bot\botenv\lib\site-packages\setuptools\_distutils\core.py", line 199, in run_commands
...
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
x Encountered error while trying to install package.
+-> fire
note: This is an issue with the pacage mentioned above, not pip.
hint: See above for output from the failure.
[notice] A new release of pip is available: 23.0.1 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Error installing dependencies from requirements.txt
C:\casm-bot>
Service Desk 17.4 RU3
The problem is with the frequent changes that have been done specific to python nested dependencies.
These are the steps that needs to be performed to make it work.
The updated casm-bot zip is available in 17.4 RU4