Visual Studio 2019 开发 Python 及

news/2024/7/19 8:59:04 标签: python, c/c++, 爬虫

python-in-visual-studio-on-windows">在 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/

 

        

转载于:https://www.cnblogs.com/hopesun/p/11340170.html


http://www.niftyadmin.cn/n/1802583.html

相关文章

时间模块(time)

#!/usr/bin/env python # codingutf-8# 导入时间模块,Python自带,不用额外安装 import time https://docs.python.org/2/library/time.html用到的时间元组 class time.struct_time 属性包括: tm_year:4位数的年份 tm_mon&#xff…

IEnumerator和IEnumerable的关系

IEnumerator和IEnumerable的关系: http://www.cnblogs.com/zhangran/archive/2012/08/20/2648357.html转载于:https://www.cnblogs.com/xcj26/archive/2012/08/21/2648905.html

Azure Backup (3) 使用Azure备份服务,备份Azure虚拟机

《Windows Azure Platform 系列文章目录》 本将介绍,如何使用Azure备份服务,备份Azure虚拟机。 我们先预先创建2台Windows VM (命名为LeiVM001和LeiVM002),和1台Linux VM (命名为LeiCentOS65) 这些虚拟机都位于China East中国东部数据中心 如…

Python2和Python3中新式类、经典类(旧式类)的区别

https://www.jianshu.com/p/6f9d99f7ad54 里面最后一张图应该输出 This is from C转载于:https://www.cnblogs.com/kevincaptain/p/11095133.html

HDU 4300 Clairewd’s message

这题比赛时,题意看了N久才看懂,囧。。。 算法又错了两次: 错误算法: 1. 用二分找密文长度。。 2.用只求了一次next函数找最长前缀匹配后缀,忽略了其可能有交集,在这题中是不允许的。。 正确算法&#xff1a…

无法嵌入互操作类型“ApplicationClass”。请改用适用的接口 - Microsoft.Office.Interop.Word.ApplicationClass...

当引用Microsoft.Office.Interop.Word做word文件转pdf或给word文档加水印时,会提示下面错误: 解决办法是右键该引用,修改属性“嵌入互操作类型”为false即可。 BTW,引用Microsoft.Office.Interop.Excel、Access时可能会出现同样的…

uniq - 删除排序文件中的重复行

总览 (SYNOPSIS) ../src/uniq [OPTION]... [INPUT [OUTPUT]] 描述 (DESCRIPTION) 从 INPUT (或 标准输入) 数据 中 忽略 (但是 保留 一行) 连续的 相似行, 结果 送入 OUTPUT (或 标准输出). -c, --count在 行首 显示 出现 的 数目-d, --repeated仅显示 重复行-D, --all-repeate…

Go 系列教程 —— 21. Go 协程

欢迎来到 Golang 系列教程的第 21 篇。 在前面的教程里,我们探讨了并发,以及并发与并行的区别。本教程则会介绍在 Go 语言里,如何使用 Go 协程(Goroutine)来实现并发。 Go 协程是什么? Go 协程是与其他函数…