Ipython 3.0 (Jupyter) consente di scegliere quale kernel (python 2.7, python 3.4, ecc.) Utilizzare durante la creazione di un nuovo notebook ipython. Come posso installare più kernel di notebook ipython in Continuum Anaconda?Come installare più kernel ipython 3.0 (python 2.7, python 3.4, ecc.) Con anaconda sotto linux?
risposta
Ti consigliamo di creare ambienti conda separati per Python 2 e 3 (vedi informazioni altrove su come farlo), con IPython installato in entrambi. Poi, in ogni ambiente, eseguire:
ipython kernelspec install-self
questo modo si registra che il kernel in modo IPython può vedere dal di fuori dell'ambiente.
Se si desidera più kernelspec per ambienti diversi, consultare i file in ~/.ipython/kernels
per vedere come descriverli.
Grazie! Ha funzionato perfettamente! per chiunque sia interessato [qui] (http://ipython.org/ipython-doc/dev/development/kernels.html) puoi trovare come scrivere un file spec del kernel. – ehyG
Funziona anche sotto Windows. Lo amo. – foebu
[questa domanda] (http://stackoverflow.com/questions/29648412/anaconda-python-3-and-2-in-ipython-jupyter-notebook) e la sua risposta fornisce istruzioni passo passo per creare gli ambienti e le impostazioni su jupyter in anaconda. – drevicko
install-sé si sta deprecato: https://github.com/jupyter/jupyter/issues/23
install-self
[DEPRECATED] Install the IPython kernel spec directory for this Python.
Prova
python -m ipykernel install --user --display-name "Python (current_env)"
source activate myenv
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
invece.
Riferimento: http://ipython.readthedocs.org/en/stable/install/kernel_install.html
- 1. anaconda installa python 3.4 su windows
- 2. Python 3.4 e 2.7: Impossibile installare il pacchetto numpy per python 3.4
- 3. Come installare Theano su Anaconda Python 2.7 x64 su Windows?
- 4. (Come) Posso eseguire parallelamente i taccuini Python 2.7 e 3.4 in jupyter (ipython)?
- 5. Come installare aggdraw con Python 2.7
- 6. Anaconda: Python 3 e 2 in IPython/Jupyter Notebook
- 7. Come installare in Python 3.4 - .whl files
- 8. Come installare xmlrpclib in python 3.4?
- 9. Come installare PyGame su Python 3.4?
- 10. ipython con versione 2.6 anziché 2.7
- 11. Impossibile installare py2exe con Python 2.7
- 12. Come installare mypy-lang su python 2.7?
- 13. Anaconda ipython qtconsole launcher
- 14. Come installare mechanize per Python 2.7?
- 15. Come posso installare PyQT4 per Python 2.7?
- 16. Come integrare SimpleGUI con la shell Python 2.7 e 3.0
- 17. Come installare un pacchetto Python da IPython?
- 18. $ PYTHONSTARTUP con python 2.7 e python 3.2
- 19. Python 2.7 su Ubuntu
- 20. Come avviare due istanze di Spyder con Python 2.7 e Python 3.4?
- 21. L'importazione di panda è molto lenta (Anaconda Python 2.7)
- 22. Sviluppo build di panda con importerror: estensione C: 'hashtable' non costruito su python 3.4 (anaconda)
- 23. Come installare pymssql su windows con python 2.7?
- 24. Come installare bella zuppa 4 con python 2.7 su windows
- 25. Come installare PyPy in anaconda
- 26. installare Python-2.7 su Ubuntu 10.4
- 27. Basemap con Python 3.5 Anaconda su Windows
- 28. Su Linux SUSE o RedHat, come carico Python 2.7
- 29. numpy python 3.4.1 installazione: Python 3.4 non trovato nel registro
- 30. Come posso controllare quale distribuzione Python installare su un pacchetto di pip quando ho Python 2, Python 3 e Anaconda sul mio computer?
Cosa c'è di sbagliato nel chiedere qui? – asmeurer