初めてGitHubから何かをインストールしようとしましたが、ここやGoogleで検索してから簡単な解決策を見つけることができませんでした。GitHubからJupyterノートブック経由でモジュールをインストール
私は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
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のがインストールされ、更新しました:IT
は、パスを削除し、自分自身がその問題のために働いて編集し、再び、手動でのgitをインストールしたが、今私は取得していようです。
私は間違っていますか?
ありがとうございます!
あなたのシステムにgitがインストールされていません。 gitをインストールします。エラーは次のように指定しています: 'コマンド 'git'を見つけることができません – idjaw
システムにヒットをインストールしていれば、それをパスに追加してください。 –
git desktop(Windows用)をインストールしましたが、私は何とかノートにそれをインポートする必要がありますか? – ValientProcess