windows10上pip install channels

之前一直在MBP上做开发,在windows偶尔改一次代码,最近在windows上Pipi nstall了一次Django Channels,其中到twisted那步出现数坑

1、

  1. Microsoft Visual C++ 14.0 is required

这个问题的解决方法到 http://landinghub.visualstudio.com/visual-cpp-build-tools 页面下载安装  Visual C++ 2015 Build Tools

 

2、

  1. Cannot open include file: ‘basetsd.h‘: No such file or directory

到这个页面 下载安装 https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk

3、

  1. LINK : fatal error LNK1158: cannot run ‘rc.exe‘

到C盘去找个文件,应该是在windows kits的某个目录里面,把系统版本对应的包含此文件的目录设置到系统path里面去

时间: 2024-08-08 01:27:17

windows10上pip install channels的相关文章

windows上pip install 报编码错误

报错:UnicodeDecodeError: 'ascii' codec can't decode byte 0xb1 in position 34: ordinal not in range(128) 解决方式: 在python安装目录下Python26\Lib\site-packages新建一个文件,文件名为:sitecustomize.py 文件内容为: import sys sys.setdefaultencoding('utf-8') python会自动加载这个文件,进而更改编码. 进

mac上pip install时提示/System/Library/... 无权限

使用pip install安装包时,提示无权限,即使切换到root账号,仍然提示无权限 加上--user参数解决,如: pip install --user  ipython 原文地址:https://www.cnblogs.com/jinghan/p/8573119.html

Win10上Python3通过pip install Twisted安装时出现UnicodeDecodeError

pip install Twisted 报错: C:\Windows\system32>pip install Twisted Collecting Twisted Using cached Twisted-17.9.0.tar.bz2 Requirement already satisfied: zope.interface>=4.0.2 in c:\users\xxx\appdata\local\programs\python\python36\lib\site-packages (fro

windows10 pip install MySQL-python mysqlclient

https://dev.mysql.com/downloads/connector/python/ 到上述地址下载对应系统的驱动程序安装即可. 安装mysqlclient方法如下: https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python pip install mysqlclient?1.3.13?cp36?cp36m?win_amd64.whl 原文地址:https://www.cnblogs.com/OnlyDreams/p/9473

Windows10上安装Keras 和 TensorFlow-GPU

安装环境: Windows 10 64bit GPU: GeForce gt 720 Python: 3.5.3 CUDA: 8 首先下载Anaconda3的Win10 64bit版,安装Python3.5版本.因为目前TensorFlow对Windows只支持Python3.5.可以直接下载Anaconda的安装包安装即可,一般不会有问题.(清华镜像https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/) TensorFlow 有两个版本:

pip install Error - ReadTimeoutError: HTTPSConnectionPool

pip install Error OSX 终端更新pip出错 sudo pip install --upgrade pip : 1.ReadTimeoutError: HTTPSConnectionPool(host='pypi.Python.org', port=443): Read 解决办法: 加大超时时间,如 pip --default-timeout=100 install -U pip 2.如果依上处理还没解决问题,或者报错 ProtocolError: ("Connection b

mac 或linux上 pip 不支持ssl的问题

报错: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 新版的pip 默认要求使用https源了, pip 的源可以使用国内的源,下载速度会很快. 参考这个 http://mirrors.aliyun.com/help/pypi pip.conf中要有trusted-host,就可以不用https了.同时也可以解决你的问题. 在~/.

使用pip install 或者easy_install安装Python的各种包出现cc failed with exit status 1

*:first-child { margin-top: 0 !important; } body > *:last-child { margin-bottom: 0 !important; } a { color: #4183C4; } a.absent { color: #cc0000; } a.anchor { display: block; padding-left: 30px; margin-left: -30px; cursor: pointer; position: absolute

pip install -- Failed building wheel for XXX

pip install -- Failed building wheel for XXX python pip 一言:真正的爱不是尽力,是尽心. 在使用 pip install 安装命令时,结果安装失败,出现了 Failed building wheel for Twisted 的错误,结果发现这类问题是通用的 解决 在网页 www.lfd.uci.edu/~gohlke/pythonlibs 上找到相应的 XXX,这个网页是一些 window 上的 Python Extension Packa