joelgrus / data-science-from-scratch

code for Data Science From Scratch book

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'scratch'

m4ur0jr opened this issue · comments

I am not finding the module from scratch.probability import inverse_normal_cdf. I am using Spyder version 4.0 and reproducing the line of code as per the original code in the Data Science book from Zero. How can I move forward?

Hi you could try something like this..

import os
path = "D:\data_science_from_scratch" # here use specific path to your file
os.chdir(path)
from scratch.probability import inverse_normal_cdf