Skip to content

ModuleNotFoundError: No module named 'scratch' #122

@emmanuel59

Description

@emmanuel59

I've got your book and I'm working through it.

I download the whole repo to folder c:\data-science-from-scratch on Windows.

There is the following code in chapter "statistics" from scratch.linear_algebra import sum_of_squares
In anaconda prompt I execute :

(dsfs) c:\data-science-from-scratch>python scratch\statistics.py
Traceback (most recent call last):
File "scratch\statistics.py", line 98, in
from scratch.linear_algebra import sum_of_squares
ModuleNotFoundError: No module named 'scratch'

Do you have some idea to solve the problem ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions