Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/280.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在python 3.6.9上安装logpy包_Python_Pip_Python 3.6 - Fatal编程技术网

无法在python 3.6.9上安装logpy包

无法在python 3.6.9上安装logpy包,python,pip,python-3.6,Python,Pip,Python 3.6,我一直试图通过运行 pip3 install 'http://github.com/MHordecki/LogPy' 但我得到的只是: 无法解压缩文件/tmp/pip-duusgw97-unpack/LogPy(从/tmp/pip-meb6tcd7-build下载,内容类型:text/html;charset=utf-8);无法检测存档格式 无法确定/tmp/pip-meb6tcd7-build的存档格式 我也尝试过: pip3 install logpy 而我一直在得到 收集日志 使用缓

我一直试图通过运行

pip3 install 'http://github.com/MHordecki/LogPy'
但我得到的只是:

无法解压缩文件/tmp/pip-duusgw97-unpack/LogPy(从/tmp/pip-meb6tcd7-build下载,内容类型:text/html;charset=utf-8);无法检测存档格式 无法确定/tmp/pip-meb6tcd7-build的存档格式

我也尝试过:

pip3 install logpy 
而我一直在得到

收集日志 使用缓存 从命令python setup.py egg_info完成输出: 回溯(最近一次呼叫最后一次): 文件“”,第1行,在 文件“/tmp/pip build-_jzw89c0/logpy/setup.py”,第6行,在 long_description=open('README.rst').read(), FileNotFoundError:[Errno 2]没有这样的文件或目录:“README.rst”

命令“python setup.py egg_info”在/tmp/pip build-_jzw89c0/logpy中失败,错误代码为1/

最后发布日期:2012年11月19日。PyPI没有可下载的软件包或源代码。您确定仍要安装它吗

那么,要从Github安装,您需要
git
。命令是

pip3 install 'git+https://github.com/MHordecki/LogPy.git'

在运行给定的命令之后。我得到这个错误::--错误[Errno 2]没有这样的文件或目录:“git”:“git”在执行命令git clone-q/tmp/pip-tl_hrzkw-build时找不到命令“git”,您需要
git
从Github安装。您还可以从GIthub下载ZIP存档文件,解压缩后运行
python setup.py安装
谢谢。我没有意识到这一点。非常感谢。它在安装git后工作