Re: Failed to import LineModel, ransac
@all You must download the latest development version on github to use the Line, Circle and EllipseModel and ransac. They were added just about 1 month ago. 0.9 is the dev version. 0.8 the stable version. Johannes Schönberger Am 18.07.2013 um 20:42 schrieb "Jean-Patrick Pommier" <jeanpatrick.pommier@gmail.com<mailto:jeanpatrick.pommier@gmail.com>>: The example using LineModel <http://scikit-image.org/docs/dev/auto_examples/plot_ransac.html> mentions skimage 0.9. To use LineModel, should I try to use the stable version ? 2013/7/18 Stéfan van der Walt <stefan@sun.ac.za<mailto:stefan@sun.ac.za>> We should update the online docs to point to the last stable version instead of to dev (as has been suggested by others in the past)--I see it causes some confusion. Stéfan On Thu, Jul 18, 2013 at 12:42 PM, Jean-Patrick Pommier <jeanpatrick.pommier@gmail.com<mailto:jeanpatrick.pommier@gmail.com>> wrote:
I forget to mention that skimage is running on ubuntu 13.04 and was installed with easy_install.
2013/7/18 Tony Yu <tsyu80@gmail.com<mailto:tsyu80@gmail.com>>
On Wed, Jul 17, 2013 at 6:43 PM, Michael Aye <kmichael.aye@gmail.com<mailto:kmichael.aye@gmail.com>> wrote:
I also have 0.9dev via EPD, and also do not have LineModel or ransac inside the measure module.
I didn't think EPD offered dev versions of packages. I can only see 0.8.2. In any case, it depends on how recently the dev version was updated. The RANSAC code was only merged into master about 2 months ago. (Any pulls from master in the last 4 months will be labeled 0.9dev.)
Best, -Tony
On Wednesday, July 17, 2013 10:34:01 AM UTC-7, Jean-Patrick Pommier wrote:
Hi,
When doing from ipython:
print skimage.__version__ from skimage.measure import LineModel
I get:
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-55-c6b2bd2de1ce> in <module>() 1 print skimage.__version__ ----> 2 from skimage.measure import LineModel
ImportError: cannot import name LineModel
0.9dev
Is it a version problem ?
Jean-Patrick
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com<mailto:scikit-image%2Bunsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.
-- You received this message because you are subscribed to a topic in the Google Groups "scikit-image" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/scikit-image/24fxSmErl1c/unsubscribe. To unsubscribe from this group and all of its topics, send an email to scikit-image+unsubscribe@googlegroups.com<mailto:scikit-image%2Bunsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com<mailto:scikit-image%2Bunsubscribe@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out.
-- You received this message because you are subscribed to a topic in the Google Groups "scikit-image" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/scikit-image/24fxSmErl1c/unsubscribe. To unsubscribe from this group and all of its topics, send an email to scikit-image+unsubscribe@googlegroups.com<mailto:scikit-image%2Bunsubscribe@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com<mailto:scikit-image+unsubscribe@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out.
Github issue: https://github.com/scikit-image/scikit-image/issues/658 On Thu, Jul 18, 2013 at 2:10 PM, Johannes Schönberger < jschoenberger@demuc.de> wrote:
@all You must download the latest development version on github to use the Line, Circle and EllipseModel and ransac. They were added just about 1 month ago. 0.9 is the dev version. 0.8 the stable version.
Johannes Schönberger
Am 18.07.2013 um 20:42 schrieb "Jean-Patrick Pommier" < jeanpatrick.pommier@gmail.com>:
The example using LineModel <http://scikit-image.org/docs/dev/auto_examples/plot_ransac.html>mentions skimage 0.9. To use *LineModel*, should I try to use the stable version ?
2013/7/18 Stéfan van der Walt <stefan@sun.ac.za>
We should update the online docs to point to the last stable version instead of to dev (as has been suggested by others in the past)--I see it causes some confusion.
Stéfan
On Thu, Jul 18, 2013 at 12:42 PM, Jean-Patrick Pommier <jeanpatrick.pommier@gmail.com> wrote:
I forget to mention that skimage is running on ubuntu 13.04 and was installed with easy_install.
2013/7/18 Tony Yu <tsyu80@gmail.com>
On Wed, Jul 17, 2013 at 6:43 PM, Michael Aye <kmichael.aye@gmail.com> wrote:
I also have 0.9dev via EPD, and also do not have LineModel or ransac inside the measure module.
I didn't think EPD offered dev versions of packages. I can only see
0.8.2.
In any case, it depends on how recently the dev version was updated. The RANSAC code was only merged into master about 2 months ago. (Any pulls from master in the last 4 months will be labeled 0.9dev.)
Best, -Tony
On Wednesday, July 17, 2013 10:34:01 AM UTC-7, Jean-Patrick Pommier wrote:
Hi,
When doing from ipython:
print skimage.__version__ from skimage.measure import LineModel
I get:
ImportError Traceback (most recent call last) <ipython-input-55-c6b2bd2de1ce> in <module>() 1 print skimage.__version__ ----> 2 from skimage.measure import LineModel
ImportError: cannot import name LineModel
0.9dev
Is it a version problem ?
Jean-Patrick
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
-- You received this message because you are subscribed to a topic in the Google Groups "scikit-image" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/scikit-image/24fxSmErl1c/unsubscribe . To unsubscribe from this group and all of its topics, send an email to scikit-image+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
-- You received this message because you are subscribed to a topic in the Google Groups "scikit-image" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/scikit-image/24fxSmErl1c/unsubscribe. To unsubscribe from this group and all of its topics, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
participants (2)
-
Johannes Schönberger
-
Tony Yu