# No module named 'aicssegmentation'

**URL:** <https://forum.allencell.org/t/no-module-named-aicssegmentation/274>\
**Category:** Segmenter\
**Created:** [December 21, 2020, 1:15pm UTC](https://forum.allencell.org/t/no-module-named-aicssegmentation/274 "2020-12-21T13:15:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![FutureCScientist](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@FutureCScientist](https://forum.allencell.org/u/FutureCScientist)\
**Post date:** [December 21, 2020, 1:15pm UTC](https://forum.allencell.org/t/no-module-named-aicssegmentation/274/1 "2020-12-21T13:15:08Z")

</div>

Hi Mr/Ms

I am new into using the Allen Cell Structure, I had problems during the installation of “pip install -e .[all]”.  
I tried to dig in what could be the problem, also tried to find a solution.

I ran the command pip install pandas and it was successful.  
I also ran up to a suggestion of running this command “git pull” thinking maybe the problem was with windows setup, but the output was “Already up to date”.  
The error comes when running scikit-image. I would appreciate your help.

---

<div class="post-metadata">

**Author:** ![FutureCScientist](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@FutureCScientist](https://forum.allencell.org/u/FutureCScientist)\
**Post date:** [December 21, 2020, 2:59pm UTC](https://forum.allencell.org/t/no-module-named-aicssegmentation/274/2 "2020-12-21T14:59:01Z")

</div>

Sorry I meant “pip install scikit-image”, was the successful.

---

<div class="post-metadata">

**Author:** ![jianxu\_chen](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jianxu\_chen](https://forum.allencell.org/u/jianxu_chen)\
**Post date:** [December 21, 2020, 11:02pm UTC](https://forum.allencell.org/t/no-module-named-aicssegmentation/274/3 "2020-12-21T23:02:03Z")

</div>

Can you post the error message so that i could better understand the problem?

Jianxu

---

<div class="post-metadata">

**Author:** ![FutureCScientist](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@FutureCScientist](https://forum.allencell.org/u/FutureCScientist)\
**Post date:** [December 22, 2020, 8:14pm UTC](https://forum.allencell.org/t/no-module-named-aicssegmentation/274/4 "2020-12-22T20:14:16Z")

</div>

I have managed to fix the error which cost me a lot of time, I thought python 3.8 would work after rereading I saw that the tools only work for python 3.6, so I had to create a new environment on my anaconda and set it to 3.6.

I don’t know if you could help with this new error I am getting, the images I am using in my datasets they have got 5 CHANNELS (0,1,2,3,4,5) and I want to reduce to 4 CHANNELS, do you know a way of converting the number of CHANNELS in an image, because these images with 5 CHANNELS are giving me error when I try to run the code.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![jianxu\_chen](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jianxu\_chen](https://forum.allencell.org/u/jianxu_chen)\
**Post date:** [December 22, 2020, 8:46pm UTC](https://forum.allencell.org/t/no-module-named-aicssegmentation/274/5 "2020-12-22T20:46:19Z")

</div>

hello, @FutureCScientist, I would be more than happy to help. Again, if possible, please copy and paste the error message you see, or even screenshot, so that I can understand what is wrong.

About multi-channel images, we are using aicsimageio to manage image reading and writing, you can find more details here:

> **[AllenCellModeling/aicsimageio](https://github.com/AllenCellModeling/aicsimageio)**
>
> Delayed Parallel Image Reading for Microscopy Images in Python

Thanks,  
Jianxu

---

<div class="post-metadata">

**Author:** ![FutureCScientist](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@FutureCScientist](https://forum.allencell.org/u/FutureCScientist)\
**Post date:** [December 22, 2020, 9:19pm UTC](https://forum.allencell.org/t/no-module-named-aicssegmentation/274/6 "2020-12-22T21:19:22Z")

</div>

(1, 1, 1, 1944, 2592, 3).

These are numbers OF CHANNELS in a picture,  
Then below is the error I am getting, I think it might be because of the number of channels in a picture.

 ![Pic2](https://canada1.discourse-cdn.com/flex027/uploads/allencell/original/1X/bd79ebf5464a941049f958408b04152e6cc321df.png) .  
I will be looking into the aicsimageio.

Thank you.

---

<div class="post-metadata">

**Author:** ![FutureCScientist](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@FutureCScientist](https://forum.allencell.org/u/FutureCScientist)\
**Post date:** [December 22, 2020, 9:27pm UTC](https://forum.allencell.org/t/no-module-named-aicssegmentation/274/7 "2020-12-22T21:27:48Z")

</div>

The extension of images i’m using is jpg.

---

<div class="post-metadata">

**Author:** ![jianxu\_chen](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jianxu\_chen](https://forum.allencell.org/u/jianxu_chen)\
**Post date:** [December 22, 2020, 9:55pm UTC](https://forum.allencell.org/t/no-module-named-aicssegmentation/274/8 "2020-12-22T21:55:20Z")

</div>

If i understand correctly, your image is 2D RGB image. Currently, the demo was made with 3D image segmentation as the primary target. We don’t have demo for 2D data yet. However, a lot of functions are compatible with 2D data. We may include bette documentation and demo for 2D data in the future.

Thanks,  
Jianxu
