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 StudioSharedPython37_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/

        

原文地址:https://www.cnblogs.com/hopesun/p/11340170.html