On 11/02/2012 10:46 PM, yaoyansi wrote:
Hi all,
I installed python-2.6.5.msi on my WinXP long time ago,
Today I installed PIL-1.1.7.win32-py2.6.exe as non-admin.
Then I make a simple test:
python
import Image
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
ImportError: No module named Image
Then I logon as the admin,and run the following command
python
import Image
It is fine, there is no any complain any more.
But there must be something wrong when I install PIL as non-admin, how to deal
with this problem?
The only thing I can think of is that the PIL directory can only be read
by the admin user. Try 'python -v -c "import Image"' as both users,
compare the outputs, then try to determine why the path that worked for
the admin user doesn't for the regular user.
Mark
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32