Comments (6)
@jiangqideng 你用的应该是python2.x吧?目前只支持python 3.x,你看下是不是这个问题。
from zhihuapi-py.
@syaning 嗯,是的,换到python3,前面正常了,但后面还得去安装Visual C++,懒得折腾了...
from zhihuapi-py.
@jiangqideng 为什么会需要 Visual C++ 。。。
from zhihuapi-py.
@syaning 如下:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.co
m/visual-cpp-build-tools
----------------------------------------
Command "c:\users\jiang\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\j
iang\\AppData\\Local\\Temp\\pip-build-gn5yobyr\\lxml\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\jiang\AppData\Local\Temp\pip-ccbwdwcq-recor
d\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\jiang\AppData\Local\Temp\p
ip-build-gn5yobyr\lxml\
from zhihuapi-py.
@jiangqideng 我知道了,应该是因为依赖了pyquery这个包,而pyquery依赖了lxml,而lxml在windows下安装好像容易出问题。
你可以试下 http://www.lfd.uci.edu/~gohlke/pythonlibs/ 这里build好的 lxml 包。
from zhihuapi-py.
@syaning 可以了,感谢!
from zhihuapi-py.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zhihuapi-py.