-
Notifications
You must be signed in to change notification settings - Fork 37
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
Error while starting #2
Comments
Note fixed it by editing Kernel.py |
Can you tell me how you fixed it? |
edit Kernal.py to remove the time.clock() bit |
It's still giving some weird errors, could you please share your kernel.py file instead as it's corrected so I could replace mine. |
I have no clue i got issues to |
ImportError: attempted relative import with no known parent package |
I am also having this errors like aiml parsing!...... |
I am finally found the solution for this issue.That is requirements.txt file contains |
The error occurs because in Python 3.8 and later, the time.clock() function was removed. It was replaced with time.perf_counter() or time.process_time() depending on what you need. To fix this, you can replace all occurrences of time.clock() in the Kernel.py file (or in any other file) with time.perf_counter(). Here's how to fix it: Open the file at Kernel.py. |
After i run jarvis.py i get this
Parsing aiml files
Traceback (most recent call last):
File "C:\Users%user%\Downloads\AI\jarvis.py", line 37, in
k.bootstrap(learnFiles="std-startup.aiml", commands="load aiml b")
File "C:\Users%user%\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\aiml\Kernel.py", line 131, in bootstrap
start = time.clock()
AttributeError: module 'time' has no attribute 'clock'
The text was updated successfully, but these errors were encountered: