lamiastella icon

termcolor deeplabcut anaconda 3.7

lamiastella | PRO | 07/20/20 04:37:15 PM UTC | 0 ⭐ | 529 👁️ | Never ⏰ | []
text |

8.37 KB

|

None

|

0 👍

/

0 👎

(base) mona@mona:~$ ipython
Python 3.7.6 (default, Jan  8 2020, 19:59:22) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.16.1 -- An enhanced Interactive Python. Type '?' for help.
 In [1]: import deeplabcut as dlc                                                                                                                    
/home/mona/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/mona/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/mona/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/mona/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/mona/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/mona/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-7dc21562c90f> in <module>
----> 1 import deeplabcut as dlc
 ~/anaconda3/lib/python3.7/site-packages/deeplabcut/__init__.py in <module>
     29         mpl.use('Agg')
     30 
---> 31     from deeplabcut import generate_training_dataset
     32     from deeplabcut import refine_training_dataset
     33     from deeplabcut.generate_training_dataset import label_frames, dropannotationfileentriesduetodeletedimages, comparevideolistsanddatafolders, dropimagesduetolackofannotation
 ~/anaconda3/lib/python3.7/site-packages/deeplabcut/generate_training_dataset/__init__.py in <module>
     17 else:
     18     from deeplabcut.generate_training_dataset.auxfun_drag_label import *
---> 19     from deeplabcut.generate_training_dataset.labeling_toolbox import *
     20     from deeplabcut.generate_training_dataset.multiple_individuals_labeling_toolbox import *
     21     from deeplabcut.generate_training_dataset.frame_extraction_toolbox import *
 ~/anaconda3/lib/python3.7/site-packages/deeplabcut/generate_training_dataset/labeling_toolbox.py in <module>
     25 import argparse
     26 from deeplabcut.generate_training_dataset import auxfun_drag_label
---> 27 from deeplabcut.utils import auxiliaryfunctions
     28 from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
     29 from matplotlib.backends.backend_wxagg import NavigationToolbar2WxAgg as NavigationToolbar
 ~/anaconda3/lib/python3.7/site-packages/deeplabcut/utils/__init__.py in <module>
----> 1 from deeplabcut.utils.make_labeled_video import *
      2 from deeplabcut.utils.auxiliaryfunctions import *
      3 from deeplabcut.utils.video_processor import *
      4 from deeplabcut.utils.plotting import *
      5 
 ~/anaconda3/lib/python3.7/site-packages/deeplabcut/utils/make_labeled_video.py in <module>
     36 
     37 from deeplabcut.utils import auxiliaryfunctions
---> 38 from deeplabcut.pose_estimation_tensorflow.config import load_config
     39 from skimage.util import img_as_ubyte
     40 from skimage.draw import circle_perimeter, circle, line,line_aa
 ~/anaconda3/lib/python3.7/site-packages/deeplabcut/pose_estimation_tensorflow/__init__.py in <module>
     11 from deeplabcut.pose_estimation_tensorflow.dataset import *
     12 from deeplabcut.pose_estimation_tensorflow.models import *
---> 13 from deeplabcut.pose_estimation_tensorflow.nnet import *
     14 from deeplabcut.pose_estimation_tensorflow.util import *
     15 
 ~/anaconda3/lib/python3.7/site-packages/deeplabcut/pose_estimation_tensorflow/nnet/__init__.py in <module>
     12 
     13 """
---> 14 from deeplabcut.pose_estimation_tensorflow.nnet.losses import *
     15 from deeplabcut.pose_estimation_tensorflow.nnet.net_factory import *
     16 from deeplabcut.pose_estimation_tensorflow.nnet.pose_net import *
 ~/anaconda3/lib/python3.7/site-packages/deeplabcut/pose_estimation_tensorflow/nnet/losses.py in <module>
      3 https://github.com/eldar/pose-tensorflow
      4 '''
----> 5 import tensorflow as tf
      6 vers = (tf.__version__).split('.')
      7 if int(vers[0])==1 and int(vers[1])>12:
 ~/anaconda3/lib/python3.7/site-packages/tensorflow/__init__.py in <module>
     26 
     27 # pylint: disable=g-bad-import-order
---> 28 from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
     29 from tensorflow.python.tools import module_util as _module_util
     30 
 ~/anaconda3/lib/python3.7/site-packages/tensorflow/python/__init__.py in <module>
     71 
     72 # Ops
---> 73 from tensorflow.python.ops.standard_ops import *
     74 
     75 # Namespaces
 ~/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/standard_ops.py in <module>
     23 import sys as _sys
     24 
---> 25 from tensorflow.python import autograph
     26 
     27 # pylint: disable=g-bad-import-order
 ~/anaconda3/lib/python3.7/site-packages/tensorflow/python/autograph/__init__.py in <module>
     35 from tensorflow.python.autograph import operators
     36 from tensorflow.python.autograph import utils
---> 37 from tensorflow.python.autograph.core.converter import ConversionOptions
     38 from tensorflow.python.autograph.core.converter import Feature
     39 from tensorflow.python.autograph.impl.api import AutoGraphError
 ~/anaconda3/lib/python3.7/site-packages/tensorflow/python/autograph/core/converter.py in <module>
     69 from tensorflow.python.autograph.pyct import anno
     70 from tensorflow.python.autograph.pyct import ast_util
---> 71 from tensorflow.python.autograph.pyct import cfg
     72 from tensorflow.python.autograph.pyct import compiler
     73 from tensorflow.python.autograph.pyct import parser
 ~/anaconda3/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/cfg.py in <module>
     39 # pylint:enable=g-bad-import-order
     40 
---> 41 from tensorflow.python.autograph.pyct import compiler
     42 
     43 
 ~/anaconda3/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/compiler.py in <module>
     33 import gast
     34 
---> 35 from tensorflow.python.autograph.pyct import origin_info
     36 
     37 
 ~/anaconda3/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/origin_info.py in <module>
     29 from tensorflow.python.autograph.pyct import ast_util
     30 from tensorflow.python.autograph.pyct import parser
---> 31 from tensorflow.python.autograph.pyct import pretty_printer
     32 from tensorflow.python.autograph.utils import ag_logging as logging
     33 from tensorflow.python.util import tf_inspect
 ~/anaconda3/lib/python3.7/site-packages/tensorflow/python/autograph/pyct/pretty_printer.py in <module>
     22 import gast
     23 import six
---> 24 import termcolor
     25 
     26 
 ModuleNotFoundError: No module named 'termcolor'
 In [2]: quit()                                                                                                                                      
(base) mona@mona:~$ python
Python 3.7.6 (default, Jan  8 2020, 19:59:22) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

Comments