我有EPD。我想使用ipython shell。我認爲它在你的發行版中被稱爲'pylab'。我希望能夠在shell加載時追加到系統路徑($ pythonpath)。不幸的是,我似乎無法找到ipy_user_conf.py文件,在互聯網上的許多用戶報告是我需要包括一條線來做到這一點。請幫忙!!!無法找到Enthought的ipy_user_conf.py python
1
A
回答
3
我猜你正在運行IPython> = 0.11。 (請注意,顯示IPython的版本啓動IPython的外殼時。)IPython中(前0.11)使用ipy_user_conf.py
的
舊版本,但IPython中的配置系統在0.11被翻修。有關詳情,請參閱this overview。如果你想運行在啓動時一些代碼,您可以在IPython的啓動目錄中添加一個python文件,它應該在這裏:
~/.ipython/profile_default/startup/
在該目錄中的任何Python的代碼在啓動時運行,所以你可以創建一個新的.py
來修改你的python路徑。如果啓動目錄不存在,您可能需要運行:
ipython profile create
它創建的目錄(加上一些其他的東西)。
相關問題
- 1. 無法登錄到Enthought/Canopy
- 2. Enthought Canopy:cytpes.util.find_library找不到libc
- 3. Enthought python無法識別系統模塊
- 4. enthought mahotas.imread找不到freeimage
- 5. Enthought Canopy無法啓動
- 6. enthought python distribution wx
- 7. Python-Magic;無法找到libmagic
- 8. Python pip無法找到pyodbc
- 9. Python無法找到模塊
- 10. Selenium Python無法找到_element_by_link_text
- 11. Python/PyQuery:無法找到vcvarsall.bat?
- 12. Enthought:找不到用於'模塊'+版本號的Python文檔
- 13. Enthought Canopy missing python-config
- 14. Enthought Canopy Python和OpenCV
- 15. Python無法找到我的軟件包:
- 16. 基於Enthought TraitsUI的Python IDE
- 17. 開源Enthought Python的替代
- 18. Python的性狀UI(Enthought)
- 19. Python Enthought Canopy:多處理無法正常工作
- 20. 安裝Enthought Canopy後無法啓動IDLE
- 21. PIL無法找到
- 22. Python Selenium無法找到元素
- 23. Python Selenium消息:無法找到元素
- 24. 我無法在mac上找到python
- 25. 無法找到所有輪廓 - Opencv,python
- 26. Selenium無法找到元素(Python)WebScraping
- 27. 無法使用Python 2.7找到VCVarsall.bat
- 28. Python無法在anaconda中找到包h2o
- 29. Selenium PhantomJs Python無法找到元素
- 30. Python Mechanize無法找到login.live.com表單