问题描述
你好,我对Python完全陌生,我想安装 $
我已经将文件安装到与我所有其他软件包相同的目录中(包括 b $ b),以便从LinkedIn API提取数据。 PIP
)。我不知道这是怎么做到的。
每当我输入:
pip安装python-linkedin
它返回
SyntaxError:无效语法
每当我输入:
pip安装git + https://github.com/ozgur/python-linkedin.git
或
它返回pip clone git + https://github.com/ozgur/python-linkedin.git
SyntaxError:无效语法
请帮助,我只需要知道如何开始,谢谢。
你在窗口(看起来像)
打开命令提示符并键入
[python_folder的路径] \scripts\pip.exe install [软件包名称]
例如,如果你的python安装在C:\中并且你使用的是2.7。
C:\Python27\Scripts\\ \\ pip.exe安装Python-LinkedIn
(或者 pip [versionumber])。 exe
)
Hi I am completely new to Python, and I would like to install Python-LinkedInin order to extract data from the LinkedIn API.
I have installed the files into the same directory as all my other packages (including pip
). I'm not sure if this is how to do it.
Whenever I type:
pip install python-linkedin
it returns
SyntaxError: invalid syntax
Whenever I type:
pip install git+https://github.com/ozgur/python-linkedin.git
or
pip clone git+https://github.com/ozgur/python-linkedin.git
it returns
SyntaxError: invalid syntax
Help please, I just need to know how to get started, thank you.
given that you are in windows (which it would seem like)
open command prompt and type
[path to your python_folder]\scripts\pip.exe install [package name]
for example if your python is installed in C:\ and you are using 2.7.
C:\Python27\Scripts\pip.exe install Python-LinkedIn
(or pip[versionumber].exe
)
这篇关于如何在python中安装软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!