Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug #2

Closed
Mrinank-Bhowmick opened this issue Oct 11, 2021 · 2 comments
Closed

Bug #2

Mrinank-Bhowmick opened this issue Oct 11, 2021 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers hacktoberfest Hacktoberfest

Comments

@Mrinank-Bhowmick
Copy link
Member

Mrinank-Bhowmick commented Oct 11, 2021

A common error SOLVED
If you are using Python 3.8 , download the previous version

Go to CMD
pip install chatterbot==1.0.4

This will work and everything is installed

You will probably get an error after some time, where it says
File "C:\Python38\lib\site-packages\sqlalchemy\util\compat.py

", line 264, in
time_func = time.clock
AttributeError: module 'time' has no attribute 'clock'

This is because time.clock() function was removed in Py 3.8.

Go to the search bar and then paste the location given right above the last line of error

It will look something like this : C:\Python38\lib\site-packages\sqlalchemy\util\compat.py

Open file with IDLE or whatever editor you have

Then , go to line 264 in that . It would be written
time_func = time.clock
()

Instead of this change, it to
time.perf_counter()

Save the file and now run it. It will work.

#1

Shall I change these things in files?

One more error

ERROR: No matching distribution found for scipy==1.5.2

In requirements.txt it should be scipy==1.6.0 instead.

@adityamangal1
Copy link
Contributor

Hey @EFFLUX110, you can work on this.

@Mrinank-Bhowmick
Copy link
Member Author

Hey @EFFLUX110, you can work on this.

Work Done Sir Ji

Work done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers hacktoberfest Hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants