V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Mojy
V2EX  ›  Python

pip3 install ***时经常出现问题,报错如下: PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问。

  •  
  •   Mojy · 2018-03-18 18:41:06 +08:00 · 7893 次点击
    这是一个创建于 2223 天前的主题,其中的信息可能已经有所发展或是发生改变。
    pip3 install ***时经常出现问题,报错如下:
    PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问。
    : 'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-build-cgikjhgq\\sqlalchemy\\build\\bdist.win32\\wheel'
    有没有大佬遇到过?求解决方案
    7 条回复    2018-03-19 08:49:54 +08:00
    Mojy
        1
    Mojy  
    OP
       2018-03-18 18:41:54 +08:00
    win10 的系统,py2 py3 共存,用的阿里云的镜像
    icedx
        2
    icedx  
       2018-03-18 18:52:14 +08:00
    换 3.64
    和最新的
    pip
    Mojy
        3
    Mojy  
    OP
       2018-03-18 19:36:36 +08:00
    已经解决啦,csdn 上看到的帖子,是编码的问题,改了源码解决的,原帖地址 http://blog.csdn.net/qq_33530388/article/details/68933201
    ysc3839
        4
    ysc3839  
       2018-03-18 20:08:17 +08:00
    @Mojy 根本不是同一个问题好吧?你发的链接里的是 UnicodeDecodeError。
    dangyuluo
        5
    dangyuluo  
       2018-03-18 20:26:36 +08:00
    我也觉得很神奇,你是怎么解决的?
    Mojy
        6
    Mojy  
    OP
       2018-03-18 21:15:31 +08:00
    @ysc3839 往下翻,两种报错,解决方案是一样的
    @dangyuluo 看帖子,把解码方式从 utf-8 改成 cp936 就 ok 啦
    dengshuang
        7
    dengshuang  
       2018-03-19 08:49:54 +08:00
    下载个 git 打开 git bash 进行 pip 就能安装了。对了,是编码的问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3649 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 04:31 · PVG 12:31 · LAX 21:31 · JFK 00:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.