Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49161
| Date | 2013-06-25 09:55 -0400 |
|---|---|
| From | Dave Angel <davea@davea.name> |
| Subject | Re: Unable to import NHunspell.dll using ctypes in Python |
| References | <23e633db-afbe-4edc-9291-5a9e242e86d0@googlegroups.com> <mailman.3799.1372144029.3114.python-list@python.org> <4c1ad40e-cc53-4414-8822-101d5591f598@googlegroups.com> <51C94AA6.9060704@davea.name> <CAMw+j7+Cv95NOS-h_xosB3CPNd7wnSbkWTUdx33LZ-=4HgHX+w@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3830.1372168539.3114.python-list@python.org> (permalink) |
On 06/25/2013 03:54 AM, Chris “Kwpolska” Warrick wrote: > On Tue, Jun 25, 2013 at 9:45 AM, Dave Angel <davea@davea.name> wrote: >> You're on Linux or similar, and dll's are the way a Windows executable is >> named. > > dll’s are libraries for windows, not executables (/lib not /bin) > >> Try going back to where you downloaded this file, and see if you can get the >> one for your OS. > > That is not necessary. Because it is a sane OS, it is likely that > hunspell is packaged in the repositories of OP’s system, and might be > even installed there. And if the package is installed, hunspell > should reside in /usr/lib/libhunspell.so or a similar place. Sorry, since I was talking about a DLL, I used Microsoft's terminology. Certainly in Unix terms, a DLL is roughly equivalent to a shared library. DLL is one of the dozens of file extensions commonly used for Microsoft executables, or PE files. Microsoft doesn't generally make the distinction between an executable which can be called from the command line and one which can only be used with LoadLibraryEx(). In common use, only the "main" executable of a program will have an entry point, but both common types may be used for library code. http://msdn.microsoft.com/en-us/library/windows/hardware/gg463119.aspx As for finding it in the repository, you're certainly right. I had naiively assumed that the OP would have looked there first, and wouldn't be in this state if it were in the repository (eg. Synaptic). It is in Ubuntu 12.04. -- DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Unable to import NHunspell.dll using ctypes in Python akshay.ksth@gmail.com - 2013-06-24 23:23 -0700
Re: Unable to import NHunspell.dll using ctypes in Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-25 08:07 +0100
Re: Unable to import NHunspell.dll using ctypes in Python akshay.ksth@gmail.com - 2013-06-25 00:32 -0700
Re: Unable to import NHunspell.dll using ctypes in Python Dave Angel <davea@davea.name> - 2013-06-25 03:45 -0400
Re: Unable to import NHunspell.dll using ctypes in Python Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-06-25 09:54 +0200
Re: Unable to import NHunspell.dll using ctypes in Python Dave Angel <davea@davea.name> - 2013-06-25 09:55 -0400
Re: Unable to import NHunspell.dll using ctypes in Python akshay.ksth@gmail.com - 2013-06-25 00:58 -0700
Re: Unable to import NHunspell.dll using ctypes in Python Dave Angel <davea@davea.name> - 2013-06-25 10:05 -0400
Re: Unable to import NHunspell.dll using ctypes in Python akshay.ksth@gmail.com - 2013-06-25 01:04 -0700
Re: Unable to import NHunspell.dll using ctypes in Python Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-06-25 10:32 +0200
Re: Unable to import NHunspell.dll using ctypes in Python akshay.ksth@gmail.com - 2013-06-25 07:52 -0700
csiph-web