Mask RCNN and Anaconda with Python 3.6 don't seem to work together

73 views
Skip to first unread message

andrea...@gmail.com

unread,
Nov 3, 2019, 5:36:51 AM11/3/19
to Hops
Hi, 

I've installed Anaconda with Python 3.6 and I'm now trying to install Mask RCNN using pip (mask-rcnn-12rics v. 0.2.3), but without much success. I think I need some help with this.

Best Regards,

Andreas

Jim Dowling

unread,
Nov 3, 2019, 5:12:12 PM11/3/19
to andrea...@gmail.com, Hops
You could install its requirements one-by-one and report back which
one is problematic:
https://github.com/matterport/Mask_RCNN/blob/master/requirements.txt
> --
> You received this message because you are subscribed to the Google Groups "Hops" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to hopshadoop+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/hopshadoop/326e0491-6cbf-468f-a4db-e214a95b14e5%40googlegroups.com.



--
________________________________________________
Dr. Jim Dowling
http://www.jimdowling.info
email: dowli...@gmail.com
phone: +46 73 2505883

Jim Dowling

unread,
Nov 3, 2019, 5:13:55 PM11/3/19
to andrea...@gmail.com, Hops
You can always uninstall the problematic library from our base
environment. Then install the version that mask rcnn wants. It may
make one of our pre-installed libraries unstable/break - but hey, that
is the joys of pip. Ideally you want a conda version of mask rcnn -
they typically just work.

andrea...@gmail.com

unread,
Nov 4, 2019, 3:17:03 PM11/4/19
to Hops

hops_error.png

Thats a good idea, thanks. However, when I tried to install a version of a package that is apparently incompatible with the current Anaconda installation, the installation process got stuck in the position that you can see in the image. It seems that the only solution to this is to remove the entire environment and reinstall it, which is quite inconvenient. 


Den söndag 3 november 2019 kl. 23:13:55 UTC+1 skrev Jim Dowling:
You can always uninstall the problematic library from our base
environment. Then install the version that mask rcnn wants. It may
make one of our pre-installed libraries unstable/break - but hey, that
is the joys of pip.  Ideally you want a conda version of mask rcnn -
they typically just work.

On Sun, 3 Nov 2019 at 23:12, Jim Dowling <dowli...@gmail.com> wrote:
>
> You could install its requirements one-by-one and report back which
> one is problematic:
> https://github.com/matterport/Mask_RCNN/blob/master/requirements.txt
>
>
> On Sun, 3 Nov 2019 at 11:36, <andrea...@gmail.com> wrote:
> >
> > Hi,
> >
> > I've installed Anaconda with Python 3.6 and I'm now trying to install Mask RCNN using pip (mask-rcnn-12rics v. 0.2.3), but without much success. I think I need some help with this.
> >
> > Best Regards,
> >
> > Andreas
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Hops" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to hopsh...@googlegroups.com.

th...@logicalclocks.com

unread,
Nov 4, 2019, 5:12:21 PM11/4/19
to Hops
I tried installing the same libraries and logs indicate there might be an issue with pip, probably related to https://github.com/pypa/pip/issues/7217 , we are looking into fixing the base environments. 

Robin

unread,
Nov 5, 2019, 6:46:05 AM11/5/19
to Hops

Hi Andreas,
we solved an issue where pip did not work in the python 3.6 environment. Can you please try installing mask-rcnn-12rics again?

BR,
Robin

On Monday, November 4, 2019 at 9:17:03 PM UTC+1, andrea...@gmail.com wrote:

Robin

unread,
Nov 5, 2019, 6:52:27 AM11/5/19
to Hops
In order to get a working enviroment you need to first delete your existing one, you can do it under "Installed Python Libraries". Then you can create a new one by selecting python 3.6 in the dropdown.

BR,
Robin

andrea...@gmail.com

unread,
Nov 5, 2019, 11:00:27 AM11/5/19
to Hops
It seems like it's almost working now. By "almost" I mean that the installation of mask-rcnn, while not explicitly indicating any failures, stops at "Done 32/33".

th...@logicalclocks.com

unread,
Nov 5, 2019, 12:27:15 PM11/5/19
to Hops
One of the cluster machines is not working but it won't affect your notebooks since it won't run on this machine. So hopefully all works now :)

andrea...@gmail.com

unread,
Nov 7, 2019, 7:15:27 AM11/7/19
to Hops
Now it finally seems to be working :) Great, thank you!
Reply all
Reply to author
Forward
0 new messages