google / google/corpuscrawler

No module named 'corpuscrawler' error

Open
#86 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
218
Forks
53
PR merge metrics
No merged PRs in 30d

Description

The script doesn't run with Python 3.

Shows error :

![1234](https://user-images.githubusercontent.com/65889104/111897581-ba20fd00-8a46-11eb-8f9f-953e46ea9ac3.PNG)

For solving this I have tried changing this:

![12345](https://user-images.githubusercontent.com/65889104/111897597-cd33cd00-8a46-11eb-8f78-c5be60f0676b.PNG)

to: `checker.parse(robots_txt)` as it is already decoded in Python 3 and it worked for me.

After this I am getting error:

![123456](https://user-images.githubusercontent.com/65889104/111897636-256acf00-8a47-11eb-9f5d-25e58c35a656.PNG)

- By running `main.py` in am getting error:

`ModuleNotFoundError: No module named 'corpuscrawler'`

Can anybody help solving this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.