Traceback (most recent call last):


 "train.py", line 14, in <module>

from modeling.generalized_rcnn import ResNetC4Model, ResNetFPNModel


 "/home/aliqoliz/tensorpack/examples/FasterRCNN/modeling/generalized_rcnn.py", line 4, in <module>

from tensorpack import tfv1 as tf
ImportError: cannot import name 'tfv1' from 'tensorpack' (/home/aliqoliz/.local/lib/python3.7/site-packages/tensorpack/__init__.py)

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/pkg/python/Python-2.7.9/lib/python2.7/site-packages/mpdaf/__init__.py", line 37, in <module>

from . import drs, MUSE, obj, sdetect, tools


 "/usr/pkg/python/Python-2.7.9/lib/python2.7/site-packages/mpdaf/drs/__init__.py", line 34, in <module>

from .rawobj import *


 "/usr/pkg/python/Python-2.7.9/lib/python2.7/site-packages/mpdaf/drs/rawobj.py", line 46, in <module>

from ..obj import Image, WCS


 "/usr/pkg/python/Python-2.7.9/lib/python2.7/site-packages/mpdaf/obj/__init__.py", line 35, in <module>

from .cube import *


 "/usr/pkg/python/Python-2.7.9/lib/python2.7/site-packages/mpdaf/obj/cube.py", line 55, in <module>

from .image import Image


 "/usr/pkg/python/Python-2.7.9/lib/python2.7/site-packages/mpdaf/obj/image.py", line 53, in <module>

from scipy.stats import threshold
ImportError: cannot import name threshold
