Hi Chien-Cheng!

It’s very cool to hear you are excited to try out the trainable segmentation example! Indeed you need the developer version *or* the release candidate, which we are working on now. Probably the easiest thing for you to do is to `python -m pip install --pre scikit-image` while in the conda environment that you are trying to use. (skimage-dev, based on your screenshot)

By the way I notice that you are trying to run conda from within IPython — which maybe works thanks to some IPython magic, but you probably instead want to run it from the command line directly (before starting IPython).

I hope this helps!

Juan.

On 11 Dec 2020, at 9:01 pm, Hung, C. (Chien-Cheng) <c.hung@uu.nl> wrote:

Dear scikit team,
 
My name is Chien-Cheng and I am trying to use scikit-image to do some image segmentation.
Currently, I am trying to run the example of the training method and I got a few questions.
The latest skimage version I have in the Anaconda is 0.17.2.
But I found the training method seems only applicable for the developer version0.19.0.dev0 since some of the attribute in the script is missing in the version of 0.17.2 (for example, there is an error called AttributeError: module 'skimage.feature' has no attribute 'multiscale_basic_features' after running the example script with 0.17.2). Also, I cannot find the example of the training method in the version of 0.17.2 so I figure the training methods require the developer version.
I have tried installing the contributor/developer version in the conda environment by following the instruction (https://scikit-image.org/docs/dev/install.html#id6) but when I was running the third commentconda install `for i in requirements/{default,build,test}.txt; do echo -n " --file $i "; done`. The console shows me the error below:
<image002.jpg>
 
I really don’t know what the problem might be so I would like to turn to your help.
There are two questions I have so far:
  1. Do I need to install the developer version to use the training methods?
  2. If so, did I install the developer version with the correct procedure? If yes, how to solve the issue I have above?
 
Looking forward to your reply, thanks!
 
Best regards,
Chien-Cheng
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
_______________________________________________
scikit-image mailing list -- scikit-image@python.org
To unsubscribe send an email to scikit-image-leave@python.org
https://mail.python.org/mailman3/lists/scikit-image.python.org/
Member address: jni@fastmail.com