ho usato il seguente comando per inizializzare un profilo:IPython notebook non leggerà il file di configurazione
ipython profile create myserver
Aggiunto thses linee di ~/.ipython/profile_myserver/ipython_notebook_config.py
:
c = get_config()
c.NotebookApp.ip = '*'
c.NotebookApp.port = 8889
provato avviare il notebook con:
ipython notebook --profile=myserver --debug
Non legge affatto il file di configurazione. Questa è l'uscita di registro:
[W 16:26:56.607 NotebookApp] Unrecognized alias: '--profile=myserver', it will probably have no effect.
[D 16:26:56.609 NotebookApp] Config changed:
[D 16:26:56.609 NotebookApp] {'profile': u'myserver', 'NotebookApp': {'log_level': 10}}
...
[I 16:26:56.665 NotebookApp] 0 active kernels
[I 16:26:56.665 NotebookApp] The IPython Notebook is running at: http://localhost:8888/
Poiché ho specificato in modo esplicito la porta 8889 e funziona ancora sul 8888, ignora chiaramente il file di configurazione. Cosa mi manca?
Quale versione stai utilizzando? – Cyphase
IPython 4.0.0. python 2.7.9. @Cyphase – CentAu
Prova 'ipython --profile = myserver notebook --debug'. Se funziona, invierò una risposta. – Cyphase