关于javascript:vue-dpcatclient-从安装到放弃

5次阅读

共计 686 个字符,预计需要花费 2 分钟才能阅读完成。

装置 CAT 客户端

npm i @dp-cat/client

装置失败 – 报错:没有装置 Python

Error: Could not find any Python installation to use

解决 –> 官网下载 Python 2.7.18 windows x86-64 msi installer 一路 next。

重新安装 CAT 客户端

npm i @dp-cat/client

装置失败 – 报错:Python 没有增加到环境变量

解决 –> 配置环境变量

重新安装 CAT 客户端

npm i @dp-cat/client

装置失败 – 报错:没有装置 Vistual Studio

解决 –> 装置 Vistual Studio 并且装置 C ++ 桌面开发 –> 重启电脑

重新安装 CAT 客户端

npm i @dp-cat/client

装置失败 – 报错:ascii 解码不通过

UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xbd in position 2694: ordinal not in range(128)

解决 –> 批改 Pythod 的默认编码为 utf8


重新安装 CAT 客户端

npm i @dp-cat/client

装置失败 – 报错:utf8 起始字节有效

UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xbd in position 2694: invalid start byte

尝试装置 windows_build_tools

  1. 装置最新版本始终处于 waiting 状态
  2. 装置 4 版本,也卡住

  3. 再次尝试 重新安装 CAT 客户端
    提醒须要 vs 2015, 官网下载的 vs 是 2019

然而我装置不上 2015。。。放弃了

正文完
 0