我第一次尝试从GitHub安装某些东西,但在这里和谷歌搜索后找不到简单的解决方案。通过Jupyter笔记本从GitHub安装模块
我使用Jupyter笔记本电脑,并试图安装该模块:
https://github.com/Expt-David/NumSchrodingerEq
我试着写这里面的笔记本:
!pip install git+git://github.com/Expt-David/NumSchrodingerEq.git
,但我发现了以下错误:
Collecting git+git://github.com/Expt-David/NumSchrodingerEq.git
Cloning git://github.com/Expt-David/NumSchrodingerEq.git to c:\users\greatg~1\appdata\local\temp\pip-1w_dpw43-build
Error [WinError 2] The system cannot find the file specified while executing command git clone -q git://github.com/Expt-David/NumSchrodingerEq.git C:\Users\GREATG~1\AppData\Local\Temp\pip-1w_dpw43-build
Cannot find command 'git'
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
ED IT
似乎再次和手动安装混帐删除路径和编辑自己工作过这个问题,但现在我越来越:
Collecting git+https://github.com/Expt-David/NumSchrodingerEq.git
Cloning https://github.com/Expt-David/NumSchrodingerEq.git to c:\users\greatg~1\appdata\local\temp\pip-zpuki8tu-build
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "d:\anaconda3\lib\tokenize.py", line 454, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\GREATG~1\\AppData\\Local\\Temp\\pip-zpuki8tu-build\\setup.py'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\GREATG~1\AppData\Local\Temp\pip-zpuki8tu-build\
而且我已经安装和更新setuptools的。
我在做什么错?
谢谢!
你的系统上没有安装git。安装git。错误是指定它:'无法找到命令'git'' – idjaw
在您的系统上安装命中,如果已经将其添加到路径 –
我安装了git桌面(用于Windows),但仍然出现该错误。我应该将它导入笔记本吗? – ValientProcess