Traceback (most recent call last):


 "/home/galaxy/bcbio-dev/anaconda/bin/bcbio_nextgen.py", line 221, in <module>

install.upgrade_bcbio(kwargs["args"])


 "/home/galaxy/bcbio-dev/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 73, in upgrade_bcbio

_update_bcbiovm()


 "/home/galaxy/bcbio-dev/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 248, in _update_bcbiovm

conda_bin, env_name = _add_environment("bcbiovm", "python=2")


 "/home/galaxy/bcbio-dev/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 264, in _add_environment

"--name {addenv} {deps}".format(**locals()), shell=True)


 "/home/galaxy/bcbio-dev/anaconda/lib/python2.7/subprocess.py", line 186, in check_call

raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/home/galaxy/bcbio-dev/anaconda/bin/conda create --no-default-packages -y --name bcbiovm python=2' returned non-zero exit status 1

Traceback (most recent call last):


 "PPOCRLabel.py", line 34, in <module>

from paddleocr import PaddleOCR


 "/opt/anaconda3/envs/py3.6/lib/python3.6/site-packages/paddleocr/__init__.py", line 16, in <module>

from .paddleocr import PaddleOCR


 "/opt/anaconda3/envs/py3.6/lib/python3.6/site-packages/paddleocr/paddleocr.py", line 28, in <module>

from tools.infer import predict_system


 "../tools/infer/predict_system.py", line 21, in <module>

import tools.infer.utility as utility


 "../tools/infer/utility.py", line 17, in <module>

from ppocr.utils.utility import initial_logger


 "../ppocr/utils/utility.py", line 19, in <module>

import paddle


 "/opt/anaconda3/envs/py3.6/lib/python3.6/site-packages/paddle/__init__.py", line 275, in <module>

import paddle.vision


 "/opt/anaconda3/envs/py3.6/lib/python3.6/site-packages/paddle/vision/__init__.py", line 18, in <module>

from . import transforms


 "/opt/anaconda3/envs/py3.6/lib/python3.6/site-packages/paddle/vision/transforms/__init__.py", line 15, in <module>

from . import transforms


 "/opt/anaconda3/envs/py3.6/lib/python3.6/site-packages/paddle/vision/transforms/transforms.py", line 29, in <module>

from . import functional as F


 "/opt/anaconda3/envs/py3.6/lib/python3.6/site-packages/paddle/vision/transforms/functional.py", line 84, in <module>

def resize(img, size, interpolation=cv2.INTER_LINEAR):
AttributeError: module 'cv2' has no attribute 'INTER_LINEAR'
