Pychecker and /var/tmp/python2-2.2-root/usr/lib/python2.2/.....

Neal Norwitz neal at
Mon Jun 24 21:46:40 EDT 2002

On Mon, 24 Jun 2002 17:27:30 -0400, Sandeep Gupta wrote:

> I'm using pychecker on my application, which uses and
>  Both those files have "No method" warnings that are
> displayed as:
> /var/tmp/python2-2.2-root/usr/lib/python2.2/ and
> /var/tmp/python2-2.2-root/usr/lib/python2.2/
> Does anyone know why /var/tmp/python2-2.2-root gets prepended to the
> file name?
> How can I remove the warnings for these files?

I had this same problem.  From what I remember, Redhat compiles
the .py -> .pyc/.pyo files in the /var/tmp/.... directory.

I didn't find a great way to fix it in pychecker, but to
fix your problem, you should just have to do:

	cd /usr/lib/python2.2
	python .


More information about the Python-list mailing list