python error after successful upgarde to 2.0.1

Hello.
I got this error at the end of the upgarde. Should we worry about this?

[04.20.2020_14-02-25] #########################################################################

[04.20.2020_14-02-25] Upgrade Completed.

[04.20.2020_14-02-25] #########################################################################

Running virtualenv with interpreter /usr/bin/python3
Already using interpreter /usr/bin/python3
Using base prefix ‘/usr’
New python executable in /usr/local/CyberCP/bin/python3
Traceback (most recent call last):
File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 2628, in
main()
File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 870, in main
symlink=options.symlink,
File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 1156, in create_environment
install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages=site_packages, clear=clear, symlink=symlink)
File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 1526, in install_python
shutil.copyfile(executable, py_executable)
File “/usr/lib/python3.6/shutil.py”, line 121, in copyfile
with open(dst, ‘wb’) as fdst:
OSError: [Errno 26] Text file busy: ‘/usr/local/CyberCP/bin/python3’

command failed, exiting…

Hi,

You must have a process using the virtualenv already so the copy of the python executable is ‘in use’ (technically it’s mmap()'ed into memory whilst it’s executing).

The solution is to kill that process.
To check if service is running use this command
ps -ef | grep python

Use “ps a” to get the PID of your process then kill that process using "kill -9 " command where is the process id.

Then start with the upgrade process again and you shall not face this issue again :slight_smile: