Ah! Well good work on troubleshooting compilation! Typically when this happens the problem is that Python is picking up your "standard" install of scikit image. Are you using Anaconda? If so maybe you should try conda uninstall scikit-image and then, in your skimage source directory:
pip install -U [--no-deps] -e . (Including the dot at the end. The no-deps is optional and good when you're sure you already have the dependencies.) This is now the preferred way to make an editable install of a package. Updating the docs to reflect this might make a great first contribution! =) Juan. On 13 Feb 2017, 3:09 PM +1000, Sarwat Fatima <[email protected]>, wrote: > Yes, it's an import error. However, I cloned scikit-image and build the > source using python setup.py develop. It was successful after installing the > right compilers, but I am still receiving the import error. > > On 13/02/2017 3:19 AM, <[email protected] > (mailto:[email protected])> wrote: > > Send scikit-image mailing list submissions to > > [email protected] (mailto:[email protected]) > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://mail.python.org/mailman/listinfo/scikit-image > > or, via email, send a message with subject or body 'help' to > > [email protected] (mailto:[email protected]) > > > > You can reach the person managing the list at > > [email protected] (mailto:[email protected]) > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of scikit-image digest..." > > > > > > Today's Topics: > > > > 1. Re: Installing scikit-image dev (Stefan van der Walt) > > 2. Re: Installing scikit-image dev (Juan Nunez-Iglesias) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 12 Feb 2017 12:07:55 -0800 > > From: Stefan van der Walt <[email protected] > > (mailto:[email protected])> > > To: [email protected] (mailto:[email protected]) > > Subject: Re: [scikit-image] Installing scikit-image dev > > Message-ID: > > <[email protected] > > (mailto:[email protected])> > > Content-Type: text/plain; charset="utf-8" > > > > Hi, > > > > > > > > Can you please post the error you get when trying to import those > > filters? > > > > > > Thanks > > > > St?fan > > > > > > > > > > > > On Sat, Feb 11, 2017, at 14:22, Sarwat Fatima wrote: > > > > > Hello, > > > > > > > > > > I wanted to try out the example code of > > > filters.threshold_{niblack,sauvola}from the dev docs but it gave an > > > import error for both threshold filters. So I cloned scikit-image > > > repository and tried python setup.py develop from the root directory > > > but it resulted in an error i.e. "Unable to find vcvarsall.bat". > > > > > > > > I am using Anaconda 4.0.0 version, Python 3.5, Windows 8.1. > > > > > > > > > > How can I install 0.13 version of scikit-image? > > > > > > > > > > Thankyou. > > > > > _________________________________________________ > > > > > scikit-image mailing list > > > > > [email protected] (mailto:[email protected]) > > > > > https://mail.python.org/mailman/listinfo/scikit-image > > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > <http://mail.python.org/pipermail/scikit-image/attachments/20170212/eb58b956/attachment-0001.html> > > > > ------------------------------ > > > > Message: 2 > > Date: Mon, 13 Feb 2017 08:17:44 +1000 > > From: Juan Nunez-Iglesias <[email protected] (mailto:[email protected])> > > To: [email protected] (mailto:[email protected]), Stefan van > > der Walt > > <[email protected] (mailto:[email protected])> > > Subject: Re: [scikit-image] Installing scikit-image dev > > Message-ID: <109338f2-2756-42a1-a46d-8a84d6975ebc@Spark> > > Content-Type: text/plain; charset="utf-8" > > > > I'm pretty sure it'll be an import error since those aren't in 0.12... > > > > On 13 Feb 2017, 6:08 AM +1000, Stefan van der Walt <[email protected] > > (mailto:[email protected])>, wrote: > > > Hi, > > > > > > Can you please post the error you get when trying to import those filters? > > > > > > Thanks > > > St?fan > > > > > > > > > On Sat, Feb 11, 2017, at 14:22, Sarwat Fatima wrote: > > > > Hello, > > > > > > > > I wanted to try out the example code of > > > > filters.threshold_{niblack,sauvola}from the dev docs but it gave an > > > > import error for both threshold filters. So I cloned scikit-image > > > > repository and tried python setup.py develop from the root directory > > > > but it resulted in an error i.e. "Unable to find vcvarsall.bat". > > > > > > > > I am using Anaconda 4.0.0 version, Python 3.5, Windows 8.1. > > > > > > > > How can I install 0.13 version of scikit-image? > > > > > > > > Thankyou. > > > > _______________________________________________ > > > > scikit-image mailing list > > > > [email protected] (mailto:[email protected]) > > > > (mailto:[email protected]) > > > > https://mail.python.org/mailman/listinfo/scikit-image > > > > > > _______________________________________________ > > > scikit-image mailing list > > > [email protected] (mailto:[email protected]) > > > https://mail.python.org/mailman/listinfo/scikit-image > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > <http://mail.python.org/pipermail/scikit-image/attachments/20170213/6efc0e31/attachment.html> > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > scikit-image mailing list > > [email protected] (mailto:[email protected]) > > https://mail.python.org/mailman/listinfo/scikit-image > > > > > > ------------------------------ > > > > End of scikit-image Digest, Vol 5, Issue 6 > > ****************************************** > > _______________________________________________ > scikit-image mailing list > [email protected] > https://mail.python.org/mailman/listinfo/scikit-image
_______________________________________________ scikit-image mailing list [email protected] https://mail.python.org/mailman/listinfo/scikit-image
