Economics of Money and Banking / Perry G Mehrling / Ders 1

Python Jupyter

1- Jupyter de kernel çalışmıyor, dizin görülmüyor ? ne yapmalı ?
 
 Anaconda prompt u aç
 pip install notebook==5.6.0 yaz
..............................................................
 
2-Anaconda da jupyter çalışmıyor?
 
Jupyter'i  Anaconda prompt dan aç
Jupyter notebook yaz 
...................................................
 
3-dizin bulma
import os
os.getcwd()
 ...................................................
 
4 pypi yerine fiziksel dizine yüklediğin scripti/paketi çağırma
önce
import os
os.getcwd()

çalıştığın yeri bul, scripti/paketi oraya at.
aşağıdaki şekilde çağır
pip install C:\\Users\\engin.yilmaz\\abcFinance-0.1.1.tar.gz
gz uzantısını unutma
 ...................................................

5-Phytonda paket nasıl kurulur
https://packaging.python.org/tutorials/installing-packages/#installing-from-a-local-src-tree
...................................................

6-1-I download abcFinance to my directory
2- pip install "abcEconomics" in the Jupyter
3- Kernel must be restarted in the menu.
4- pip install spyder-kernels
5- Kernel must be restarted in the menu.
6- I copy your script (please remeber that physical base path must be
"base_path = os.path.realpath(os.getcwd()+"/abcFinance-master/abcFinance")

Yorumlar