zoukankan      html  css  js  c++  java
  • Windows安装Flask Traceback (most recent call last):

    Exception:
      File "c:usersappdatalocalprogramspythonpython36-32libsite-packagespipcompat\__init__.py", line 73, in console_to_str
        return s.decode(sys.__stdout__.encoding)
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb4 in position 48: invalid start byte
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "c:usersappdatalocalprogramspythonpython36-32libsite-packagespipasecommand.py", line 215, in main
        status = self.run(options, args)
      File "c:usersappdatalocalprogramspythonpython36-32libsite-packagespipcommandsinstall.py", line 342, in run
        prefix=options.prefix_path,
      File "c:usersappdatalocalprogramspythonpython36-32libsite-packagespip
    eq
    eq_set.py", line 784, in install
        **kwargs
      File "c:usersappdatalocalprogramspythonpython36-32libsite-packagespip
    eq
    eq_install.py", line 878, in install
        spinner=spinner,
      File "c:usersappdatalocalprogramspythonpython36-32libsite-packagespiputils\__init__.py", line 676, in call_subprocess
        line = console_to_str(proc.stdout.readline())
      File "c:usersappdatalocalprogramspythonpython36-32libsite-packagespipcompat\__init__.py", line 75, in console_to_str
        return s.decode('utf_8')
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb4 in position 48: invalid start byte
    

      

    解决方案:

    以管理员的身份运行 CMD,

    然后 在终端运行: pip install Flask

  • 相关阅读:
    [leetcode]Valid Number
    [leetcode]Edit Distance
    [leetcode]Decode Ways
    [leetcode]Maximum Depth of Binary Tree
    [topcoder]BadNeighbors
    [topcoder]ZigZag
    [leetcode]Subsets II
    [leetcode]Merge Sorted Array
    [leetcode]Binary Tree Maximum Path Sum
    hdu 2964 Prime Bases(简单数学题)
  • 原文地址:https://www.cnblogs.com/spring87/p/7259880.html
Copyright © 2011-2022 走看看