ModuleNotFoundError: No module named 'imgaug'
作者:互联网
conda install git
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ conda install git Solving environment: done ## Package Plan ## environment location: /home/bim/anaconda3/envs/mask_rcnn_tf2 added / updated specs: - git The following packages will be downloaded: package | build ---------------------------|----------------- libssh2-1.8.0 | 0 240 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free expat-2.1.0 | 0 365 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free git-2.11.1 | 0 9.5 MB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free curl-7.54.1 | 0 572 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free krb5-1.13.2 | 0 3.5 MB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free ------------------------------------------------------------ Total: 14.2 MB The following NEW packages will be INSTALLED: curl: 7.54.1-0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free expat: 2.1.0-0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free git: 2.11.1-0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free krb5: 1.13.2-0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free libssh2: 1.8.0-0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free Proceed ([y]/n)? y Downloading and Extracting Packages libssh2-1.8.0 | 240 KB | ######################################################################################################################################### | 100% expat-2.1.0 | 365 KB | ######################################################################################################################################### | 100% git-2.11.1 | 9.5 MB | ######################################################################################################################################### | 100% curl-7.54.1 | 572 KB | ######################################################################################################################################### | 100% krb5-1.13.2 | 3.5 MB | ######################################################################################################################################### | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$
pip install git+https://github.com/aleju/imgaug.git
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ pip install git+https://github.com/aleju/imgaug.git Collecting git+https://github.com/aleju/imgaug.git Cloning https://github.com/aleju/imgaug.git to /tmp/pip-req-build-h364jcoz Running command git clone -q https://github.com/aleju/imgaug.git /tmp/pip-req-build-h364jcoz Resolved https://github.com/aleju/imgaug.git to commit 0101108d4fed06bc5056c4a03e2bcb0216dac326 Requirement already satisfied: six in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from imgaug==0.4.0) (1.16.0) Requirement already satisfied: numpy>=1.15 in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from imgaug==0.4.0) (1.18.5) Requirement already satisfied: scipy in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from imgaug==0.4.0) (1.4.1) Collecting Pillow Using cached Pillow-9.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB) Collecting matplotlib Using cached matplotlib-3.5.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.2 MB) Collecting scikit-image>=0.14.2 Using cached scikit_image-0.19.2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (13.5 MB) Collecting opencv-python-headless Using cached opencv_python_headless-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (47.8 MB) Collecting Shapely Using cached Shapely-1.8.2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.0 MB) Collecting imageio Using cached imageio-2.19.2-py3-none-any.whl (3.4 MB) Collecting networkx>=2.2 Using cached networkx-2.6.3-py3-none-any.whl (1.9 MB) Collecting tifffile>=2019.7.26 Using cached tifffile-2021.11.2-py3-none-any.whl (178 kB) Collecting PyWavelets>=1.1.1 Using cached PyWavelets-1.3.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.4 MB) Collecting packaging>=20.0 Using cached packaging-21.3-py3-none-any.whl (40 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB) Collecting kiwisolver>=1.0.1 Using cached kiwisolver-1.4.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB) Collecting python-dateutil>=2.7 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting fonttools>=4.22.0 Using cached fonttools-4.33.3-py3-none-any.whl (930 kB) Collecting cycler>=0.10 Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB) Requirement already satisfied: typing-extensions in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib->imgaug==0.4.0) (4.2.0) Building wheels for collected packages: imgaug Building wheel for imgaug (setup.py) ... done Created wheel for imgaug: filename=imgaug-0.4.0-py3-none-any.whl size=961010 sha256=2a1ca57319c40407e87d0fd6c512fb5c6928ea700e731ae105bda1fa2013a433 Stored in directory: /tmp/pip-ephem-wheel-cache-76y_7vr9/wheels/0c/78/b5/9303fae9d5e03df1f319adfe4e6534180b5c3232de11bc9a2f Successfully built imgaug Installing collected packages: pyparsing, Pillow, tifffile, PyWavelets, python-dateutil, packaging, networkx, kiwisolver, imageio, fonttools, cycler, Shapely, scikit-image, opencv-python-headless, matplotlib, imgaug Successfully installed Pillow-9.1.0 PyWavelets-1.3.0 Shapely-1.8.2 cycler-0.11.0 fonttools-4.33.3 imageio-2.19.2 imgaug-0.4.0 kiwisolver-1.4.2 matplotlib-3.5.2 networkx-2.6.3 opencv-python-headless-4.5.5.64 packaging-21.3 pyparsing-3.0.9 python-dateutil-2.8.2 scikit-image-0.19.2 tifffile-2021.11.2 (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ (mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$
##################
标签:named,bim,mask,rcnn,ModuleNotFoundError,imgaug,pythons,tf2 来源: https://www.cnblogs.com/herd/p/16282666.html