![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python问题
code_xuan
这个作者很懒,什么都没留下…
展开
-
pycharm安装scrapy步骤
在pycharm的terminal中直接运行pip install scrapy九成九都会报错;安装步骤如下:安装pywin32pip install win32安装setuptools``pip install setuptools```尝试安装Twisted,若安装失败则去python扩展网站下载;windows64位下载版本为:Twisted‑20.3.0‑cp39‑cp39‑win_amd64.whl安装:pip install pip install E:\downlo原创 2020-11-28 15:01:44 · 1602 阅读 · 2 评论 -
ModuleNotFoundError: No module named ‘pip‘问题解决
python -m ensurepippython -m pip install --upgrade pip两行命令即可解决,亲测可用。原创 2020-11-02 21:47:30 · 112 阅读 · 0 评论 -
拉链函数zip()python两元素数量相同元素转列表套元组且元素对应,进而转dict
python交互式环境:a = ['content-type','content-length','connection']b = ['text/html',14,'keep-alive']zip(a,b) #output:<zip object at 0x000002F4AF7A1FC0>list(zip(a,b)) #output:[('content-type', 'text/html'), ('content-length', 14), ('connection', 'kee原创 2020-10-14 19:35:17 · 178 阅读 · 0 评论 -
Centos7安装jupyter notebook
###安装python3#####查看当前python版本[root@VM-0-12-centos ~]# python -VPython 2.7.5安装python3以及检查python3的版本yum install python3python3 -V安装jupyter notebookpip3 install jupyter生成配置文件jupyter notebook --generate-configWriting default config to: /root/.jup原创 2020-09-29 11:28:59 · 381 阅读 · 0 评论 -
windows安装python,测试pip list命令报错
报错信息如下:D:\cmderλ pip listTraceback (most recent call last): File "d:\python\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "d:\python\lib\runpy.py", line 86, in _run_code exec(code, run_global原创 2020-08-31 21:45:48 · 1408 阅读 · 0 评论