J'ai récemment entendu parler de profils en python et j'ai rapidement découvert le profil sh. Je suis allé l'invoquer pour l'essayer et ai eu l'erreur suivante sur mon Mac en cours d'exécution Snow Leopard et le système Python2.6. Quelqu'un d'autre voit cela avant? Je pensais à essayer de réinstaller l'oeuf IPython pour voir si elle l'a corrigé, mais je pensais que je demanderais si d'autres utilisateurs avaient vu quelque chose de similaire (sur un ordinateur Apple le plus probable).Problème avec le profil sh dans IPython sur Mac
mwoods 5 22:11:48 ~$ ipython -p sh
[IPythonApp] Config file not found, skipping: <ipython_config_sh.py>
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/ipython-0.11.bzr.r1205-py2.6.egg/IPython/core/application.py", line 223, in load_file_config
self.file_config = loader.load_config()
File "/Library/Python/2.6/site-packages/ipython-0.11.bzr.r1205-py2.6.egg/IPython/config/loader.py", line 227, in load_config
self._find_file()
File "/Library/Python/2.6/site-packages/ipython-0.11.bzr.r1205-py2.6.egg/IPython/config/loader.py", line 234, in _find_file
self.full_filename = filefind(self.filename, self.path)
File "/Library/Python/2.6/site-packages/ipython-0.11.bzr.r1205-py2.6.egg/IPython/utils/genutils.py", line 569, in filefind
(filename, path_dirs))
IOError: File does not exist in any of the search paths: 'ipython_config_sh.py', ('/Users/mwoods', u'/Users/mwoods/.ipython')
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
Type "copyright", "credits" or "license" for more information.
IPython 0.11.bzr.r1205 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]:
Je me souviens avoir entendu dire que la version de Python fonctionnant sous Mac est un peu bizarre. Vous pourriez vouloir examiner certaines des différences et voir si elles peuvent affecter ce que vous essayez de faire. –
@Shane Merci, fera l'affaire. – physicsmichael