...
Xand a écrit :
>
> Dans pyhtonwin, vérifie les chemins donnés par 'browse python path',
> juste pour voir si python a tout bien installé où il faut.
>
> +++
Je ne crois pas avoir pythonwin. Dans c:\python20 j'ai python.exe ( 21k)
et pythonw.exe (21k aussi) tenter de lancer pythonw.exe ne fait rien.
Mais j'ai trouvé un truc bizarre en effectuant un des tests proposés par
JM dans un vieux post à S.Bourzeix:
Test direct depuis une fenêtre terminal Python quelque soit le
répertoire de démarrage:
C:\W98>python
Python 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> import sys
>>> test=sys.path
>>> print test
['', 'c:\\python20', 'c:\\w98', 'c:\\python20\\dlls',
'c:\\python20\\lib', 'c:\\
python20\\lib\\plat-win', 'c:\\python20\\lib\\lib-tk']
>>>
Test depuis Blender: Déjà après démarrage j'ai un message bizarre lié à
Python dans le terminal ( Toutes versions de Blender ):
'import site' failed; use -v for traceback
Ensuite avec le script:
import sys
test=sys.path
print test
alt+p
Je récupère:
Run Python script "Text" ...
['C:\\PYTHON20\\', '', '\323\223\236\260)\250', '',
'C:\\GRAPH-3D\\BLENDER']
Quelqu'un comprend???!!!
@+
MM.
|