Virtualenv - text file busy

I have indico 2.0 running on a development VM. If I log in as indico and try to invoke the virtualenv I get the error below. If I stop indico-celery.service, the virtualenv starts normally.

Should I be using virtualenv once indico is up and running? If so, how do I fix this?

Regards,

Chris

root@indicodev2:~# su - indico
Last login: Thu May 24 14:53:21 CEST 2018 on pts/0
indico@indicodev2:~$ virtualenv ~/.venv
New python executable in /opt/indico/.venv/bin/python
Traceback (most recent call last):
  File "/usr/bin/virtualenv", line 3, in <module>
    virtualenv.main()
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 712, in main
    symlink=options.symlink)
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 924, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1230, in install_python
    shutil.copyfile(executable, py_executable)
  File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 26] Text file busy: '/opt/indico/.venv/bin/python'

virtualenv ~/.venv creates a new virtualenv, so it’s not what you want here. To activate the virtualenv, use source ~/.venv/bin/activate