Re: Python 2 vs. yup?


Subject: Re: Python 2 vs. yup?
From: Bryan Stillwell (bstill@terraplex.com)
Date: Tue Mar 06 2001 - 10:31:57 MST


On Mon, Mar 05, 2001 at 10:06:18PM -0500, Sam Moore wrote:
>Traceback (most recent call last):
> File "/usr/sbin/ yup", line 28, in ?
> import yup
>ImportError: No module named yup
>
>WTF? I thought Python generated .pyc automagically? Do I need to reinstall yup?

It does, but only if the original .py files are there. What you'll want
to do is grab the SRPM for yup
(ftp://ftp.yellowdoglinux.com/pub/mirrors/yellowdog/champion-1.2/updates/SRPMS/yup-0.6.6-2.src.rpm)
and rebuild it using the `rpm --rebuild yup-0.6.6-2.src.rpm` command.
This will create an rpm which is byte compile against python 2.0.

Bryan

-- 
  Terra Soft Solutions, Inc.           | Software Engineer
  http://www.terrasoftsolutions.com/   | bstill@terraplex.com
  GPG fingerprint: 3608 4610 8C08 B8EB 0970  9686 8A93 386C 6116 EFE2



This archive was generated by hypermail 2a24 : Tue Mar 06 2001 - 10:31:58 MST