Ich habe Python 2.7 als root und ich muss das Paket "Statistiken" in Python 3.6 installieren, und es ist nicht in den Umgebungen von Anaconda Navigator, wie kann man "Statistiken" mit Conda installieren oder für eine sekundäre python-Umgebung pipAnaconda, wie in verschiedenen Python-Versionen zu installieren
Antwort
erstellen Sie eine neue python 3-Umgebung durch Ausführen von:
conda create --name python3 python=3
Dann, wann immer Sie brauchen python3 Lauf zu verwenden:
activate python3
Verwenden Sie dann die Befehlszeile als normal. Also, wenn Sie etwas in Ihre Python 3-Umgebung installieren möchten, stellen Sie sicher, dass Sie zuerst activate python3
.
Beachten Sie, dass Python 3 has it's own statistics module, die Sie nützlich finden können, und dieses Modul has been ported to python 2, wenn Sie bevorzugen würden.
'conda erstellen --name python3 python = 3.6 anaconda' - wenn Sie eine ganze Anaconda in python3 installieren möchten (' numpy', etc.) –
- 1. Installieren von Kivy in Anaconda
- 2. Anaconda installieren Fehler in Ubuntu
- 3. Anaconda Pymc Installieren
- 4. Anaconda installieren pyipopt: libipopt.so.1
- 5. Wie könnten wir opencv auf Anaconda installieren?
- 6. Anaconda-Paket installieren Timeout-Fehler
- 7. Installieren von Paketen mit Anaconda
- 8. Wie lade ich Anaconda-Pakete herunter, ohne sie zu "installieren"?
- 9. Installieren von Pygame-Modul in Anaconda Mac
- 10. Anaconda Python installieren Sie imutils in Windows10
- 11. Installieren von NumPy über Anaconda in Windows
- 12. Fehler in Spyder nach Anaconda Installieren
- 13. Installieren Sie SKFLOW, um mit Anaconda zu arbeiten
- 14. Wie Anaconda durch Paketsteuerung in sublime Text 3 installieren?
- 15. Installieren von Vpython und QuTiP mit Anaconda
- 16. Wie installiert man zwei Python-Paketversionen in verschiedenen Anaconda-Umgebungen?
- 17. Installieren Sie Keras auf Anaconda OSX
- 18. Wie vermeiden Anaconda, Pip zu entführen
- 19. Mac mit Standard Python trotz Anaconda installieren
- 20. Ich kann ggplot nicht mit Anaconda installieren
- 21. kann nicht psycopg2 auf OSX Anaconda installieren
- 22. Wie installiere ich pyperclip zu Anaconda?
- 23. Wie kann ich die neueste Anaconda mit wget installieren
- 24. Wie kann ich ipython5 im anaconda navigator installieren?
- 25. Python-Paket von GitHub in Anaconda auf Linux installieren Ubuntu
- 26. So installieren Sie Anaconda in virtueller Umgebung von Conda.
- 27. pip installieren für Windows läuft in Anaconda Fehler
- 28. Ich kann in Anaconda von Windows nicht installieren Kivy
- 29. Ausführen von Ipython-Notebook in verschiedenen Anaconda-Umgebung (im Skript)
- 30. Wie pygame, cv2, anaconda, pip usw. zu irgendeiner Version von Python in ubuntu installieren 14.04
Siehe die Dokumentation zum Erstellen einer separaten Umgebung [hier] (https://conda.io/docs/using/envs.html#create-a-separate-environment) – bunji
Und auch hier: https: // conda. io/docs/py2or3.html –