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-2019

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

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

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

1、 清華大學  https://pypi.tuna.tsinghua.edu.cn/simple

2、阿里   https://mirrors.aliyun.com/pypi/simple/

3、豆瓣  https://pypi.douban.com/simple

 

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


特別注意 以 “管理員身份運行”  VS2019,否則安裝老出錯,本人試過多次的經驗。 

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

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

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

2、通過  工具(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/

 

        


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM