Re: ImportError: No module named spambayes.resources (line 12 of setup_all.py)

Skip Montanaro <[email protected]> Wed, 24 Aug 2022 18:40:35 -0500
Newsgroups gmane.mail.spam.spambayes.devel
Message-ID <CANc-5UxSWhYTUrd_nNqWZtO9nQTt7B=DfZvPYsm=kpQgBj0Z-A@mail.gmail.com>
--===============8944069574355404539==
Content-Type: multipart/alternative; boundary="000000000000b756c305e705361b"

--000000000000b756c305e705361b
Content-Type: text/plain; charset="UTF-8"

>
> You should be able to find the version of spambayes that setup_all.py
> is trying to use. Does it in fact have a directory called resources?
>

At the top-level spambayes directory, there is a
spambayes/windows/setup_all.py. That suggests to me that something about
the way the Windows package is built equates the spambayes/windows
directory with spambayes.
That's about all I know. I have never done anything with Windows
development.

Skip

--000000000000b756c305e705361b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex">You should be able to find the version of spambayes that=
 setup_all.py<br>
is trying to use. Does it in fact have a directory called resources?<br></b=
lockquote><div><br></div><div class=3D"gmail_default" style=3D"font-family:=
arial,sans-serif">At the top-level spambayes directory, there is a spambaye=
s/windows/setup_all.py. That suggests to me that something about the way th=
e Windows package is built equates the spambayes/windows directory with spa=
mbayes.</div><div class=3D"gmail_default" style=3D"font-family:arial,sans-s=
erif"></div><div class=3D"gmail_default" style=3D"font-family:arial,sans-se=
rif">That&#39;s about all I know. I have never done anything with Windows d=
evelopment.</div><div class=3D"gmail_default" style=3D"font-family:arial,sa=
ns-serif"><br></div><div class=3D"gmail_default" style=3D"font-family:arial=
,sans-serif">Skip</div></div></div>

--000000000000b756c305e705361b--

--===============8944069574355404539==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
spambayes-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/spambayes-dev

--===============8944069574355404539==--