Visual Studio 2019 開發 Python 及

在 Windows 上的 Visual Studio 2019 中使用 Python:

https://docs.microsoft.com/zh-cn/visualstudio/python/overview-of-python-tools-for-visual-studio?view=vs-2019python

 anaconda :  https://www.anaconda.com/git

==================================== github

Python  使用 官方的源安裝,常常失敗,更新源:ide

一、 清華大學  https://pypi.tuna.tsinghua.edu.cn/simple工具

二、阿里   https://mirrors.aliyun.com/pypi/simple/visual-studio

三、豆瓣  https://pypi.douban.com/simpleurl

 

命令方式:pip install -i https://pypi.douban.com/simple  Libnamespa


特別注意 以 「管理員身份運行」  VS2019,不然安裝老出錯,本人試過屢次的經驗。 
.net

====================================ip

一、Visual Studio 2019 安裝 Python 有兩個選擇:1)Python 及 2)數據科學,選擇後會安裝 Python 在下列目錄:

      C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\   (64位版本!)

二、經過  工具(T)\Python (P)\Python 環境 (E)  能夠進入 環境配置界面,有「默認環境」,使用 「在PowerShell中打開」 命令,

      進入 PS  命令環境(路徑是 Python 安裝目錄),能夠直接安裝包:

       pyqt5   https://pypi.org/project/PyQt5/#files       來源:官網:https://www.riverbankcomputing.com/news  

       pyqt5-tools    https://pypi.org/project/pyqt5-tools/#history      來源Github :https://github.com/altendky/pyqt5-tools

       命令:pip install -i https://pypi.douban.com/simple  pyqt5

                  pip install -i https://pypi.douban.com/simple   pyqt5-tools    

      

      注意: 因爲沒有 將 Python 安裝目錄 放入系統 Path,不能直接 使用 Cmd 命令窗口執行。

==============================

   Eric  IDE   :http://eric-ide.python-projects.org/

相關文章
相關標籤/搜索