繁体   English   中英

从GitHub安装python package时报错

[英]Error when installing python package from GitHub

我想从 GitHub 安装一个 package,我正在按照https://worldbank.github.io/connectivity_mapping/facebook_nbs/web_interface.html的指南进行操作。 我复制并粘贴了代码,但我不断收到此错误:

git clone https://github.com/joaopalotti/pySocialWatcher 
File "<ipython-input-1-cee23b0d65fc>", line 1
    git clone https://github.com/joaopalotti/pySocialWatcher
        ^
SyntaxError: invalid syntax

有谁知道问题是什么? 我在 jupyter notebook 中执行此操作,我是 Python 的新手。我是否需要在此之前运行任何代码行才能使其正常工作?

为了在您的系统中安装 PySocialWatcher,我们可以使用以下命令:

这意味着命令行,其中gitpython安装在您的$PATH中。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM