sugaroidbot / sugaroid Goto Github PK
View Code? Open in Web Editor NEWThe not-that intelligent, but cute Artificially Intelligent bot, created when I was bored.
Home Page: https://g.sugaroid.srev.in/
License: MIT License
The not-that intelligent, but cute Artificially Intelligent bot, created when I was bored.
Home Page: https://g.sugaroid.srev.in/
License: MIT License
( ဖ‿ဖ) @> don't
Traceback (most recent call last):
File "/usr/lib64/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib64/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/xx/src/sugaroid/sugaroid/__main__.py", line 28, in <module>
main()
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 788, in main
sg.loop_cli()
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 732, in loop_cli
self.display_cli(self.prompt_cli())
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 699, in prompt_cli
response = self.parse(input(
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 672, in parse
response = self.neuron.parse(args)
File "/home/xx/src/sugaroid/sugaroid/brain/brain.py", line 83, in parse
response = self.gen_best_match(preprocessed)
File "/home/xx/src/sugaroid/sugaroid/brain/brain.py", line 95, in gen_best_match
return self.bot.get_response(parsed)
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 473, in get_response
response = self.generate_response(
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 248, in generate_response
output = adapter.process(
File "/home/xx/src/sugaroid/sugaroid/brain/canmay.py", line 277, in process
self.chatbot.lp.lemma(verb)[0], noun)
File "/home/xx/src/sugaroid/sugaroid/brain/utils.py", line 47, in lemma
return [x.lemma_ for x in self.nlp(arg)]
File "/home/xx/.local/lib/python3.8/site-packages/spacy/language.py", line 437, in __call__
if len(text) > self.max_length:
TypeError: object of type 'NoneType' has no len()
The same error is given as an output for 'do not'
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: because you said you will never be able to understand
sugaroid: An unhandled exception occurred: Traceback (most recent call last):
File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 242, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 74, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 99, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 355, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 142, in generate_response
output = adapter.process(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/because.py", line 40, in process
elif i[1] == "VB" and (not i[0] == "be"):
TypeError: 'spacy.tokens.token.Token' object is not subscriptable
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: ''
sugaroid: An unhandled exception occurred: Traceback (most recent call last):
File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 255, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 76, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 101, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 361, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 146, in generate_response
if adapter.can_process(input_statement):
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/have.py", line 20, in can_process
return statement.words[0] == "have" and not statement.words[-1].endswith("?")
IndexError: list index out of range
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: you like coffee?
sugaroid: Thanks for your comments. You inspire me
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: I am fine, hope you feel the same
sugaroid: @sugaroidbot how are you going to talk
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: no need to understand anything
sugaroid: Ok, I will have the i could understand you good if you use more word
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: are you a bot?
sugaroid: Call Mr Google. 'Hey Google? Do you know what is the answer of 'Are I a bot ?'. :/
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: sayonara
sugaroid: An unhandled exception occurred: Traceback (most recent call last):
File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 255, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 76, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 101, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 361, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 146, in generate_response
if adapter.can_process(input_statement):
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/have.py", line 20, in can_process
return statement.words[0] == "have" and not statement.words[-1].endswith("?")
IndexError: list index out of range
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: i can't tell you
sugaroid: An unhandled exception occurred: Traceback (most recent call last):
File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 242, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 76, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 101, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 355, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 142, in generate_response
output = adapter.process(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/canmay.py", line 129, in process
elif self.chatbot.lp.words(verb)[0] in [
AttributeError: 'LanguageProcessor' object has no attribute 'words'
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: Thanks
sugaroid: Ok. That's just great
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: How many eyes do you have?
sugaroid: :)
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: why do people support secularism
sugaroid: I am still newborn, it might take me atleast 3 years to learn that
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: How is life?
sugaroid: lifetime (physical quantity)
τ
[time]
second
scalar
mean lifetime
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: do you want to have a video chat
sugaroid: I guess I am chat. Thanks!
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: Do you have a brain?
sugaroid: I will need more time to learn if that actually makes sense with respect to myself.
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: do you like mathematics
sugaroid: I stumbled upon your question. I need official help! SOS
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: have a chocolate
sugaroid: if (what you say) = (what I say) then 'Have a chocolate'
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: can you smile?
sugaroid: An unhandled exception occurred: Traceback (most recent call last):
File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 242, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 76, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 101, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 355, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 142, in generate_response
output = adapter.process(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/canmay.py", line 254, in process
if self.chatbot.lp.words(verb)[0] == "do":
AttributeError: 'LanguageProcessor' object has no attribute 'words'
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: can you walk
sugaroid: An unhandled exception occurred: Traceback (most recent call last):
File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 242, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 76, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 101, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 355, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 142, in generate_response
output = adapter.process(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/canmay.py", line 254, in process
if self.chatbot.lp.words(verb)[0] == "do":
AttributeError: 'LanguageProcessor' object has no attribute 'words'
( ဖ‿ဖ) @> where is chicago
Traceback (most recent call last):
File "/usr/lib64/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib64/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/xx/src/sugaroid/sugaroid/__main__.py", line 28, in <module>
main()
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 788, in main
sg.loop_cli()
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 732, in loop_cli
self.display_cli(self.prompt_cli())
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 699, in prompt_cli
response = self.parse(input(
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 672, in parse
response = self.neuron.parse(args)
File "/home/xx/src/sugaroid/sugaroid/brain/brain.py", line 83, in parse
response = self.gen_best_match(preprocessed)
File "/home/xx/src/sugaroid/sugaroid/brain/brain.py", line 95, in gen_best_match
return self.bot.get_response(parsed)
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 473, in get_response
response = self.generate_response(
File "/home/xx/src/sugaroid/sugaroid/sugaroid.py", line 248, in generate_response
output = adapter.process(
File "/home/xx/src/sugaroid/sugaroid/brain/why.py", line 96, in process
return WikiAdapter(self.chatbot).process(statement)
File "/home/xx/src/sugaroid/sugaroid/brain/wiki.py", line 73, in process
for i in self.text:
AttributeError: 'WikiAdapter' object has no attribute 'text'
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: akinator
sugaroid: An unhandled exception occurred: Traceback (most recent call last):
File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 254, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 76, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 101, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 361, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 148, in generate_response
output = adapter.process(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/aki.py", line 173, in process
self.chatbot.globals["akinator"]["class"] = SugaroidAkinator(self.chatbot)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/aki.py", line 68, in init
self.game_instance = self.aki.start_game("en")
File "/app/.heroku/python/lib/python3.8/site-packages/akinator/akinator.py", line 153, in start_game
region_info = self._auto_get_region(get_lang_and_theme(language)["lang"], get_lang_and_theme(language)["theme"])
File "/app/.heroku/python/lib/python3.8/site-packages/akinator/akinator.py", line 114, in _auto_get_region
return {"uri": uri, "server": next((i for i in parsed if i["subject_id"] == "1"), None)["urlWs"]}
TypeError: 'NoneType' object is not subscriptable
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: fall down
sugaroid: Could you use better grammar? Thenks
In theadapters.md
, CurrencyAdapter
and FunAdapter
share the same description:
`CurrencyAdapter : Gives a random response, because Sugaroid tries not to say I don't know `
`FunAdapter: Gives a random response, because Sugaroid tries not to say I don't know `
I'm not sure if the given description is proper in the case of CurrencyAdapter
.
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: do you like yourself?
sugaroid: I do not know the answer of this question. Maybe you should ask @srevinsaju
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: i didnt want to do a currency conversion
sugaroid: Hello Currency. Welcome to Sugaroid
>>> Can you be your own uncle
Traceback (most recent call last):
File "/xxxxx/xx/.local/bin//sugaroid", line 8, in <module>
sys.exit(main())
File "/xxxxx/xx/.local/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 760, in main
sg.loop_cli()
File "/xxxxx/xx/.local/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 711, in loop_cli
self.display_cli(self.prompt_cli())
File "/xxxxx/xx/.local/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 686, in prompt_cli
response = self.parse(input('( ဖ‿ဖ) @> '))
File "/xxxxx/xx/.local/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 673, in parse
response = self.neuron.parse(args)
File "/xxxxx/xx/.local/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 83, in parse
response = self.gen_best_match(preprocessed)
File "/xxxxx/xx/.local/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 95, in gen_best_match
return self.bot.get_response(parsed)
File "/xxxxx/xx/.local/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 461, in get_response
response = self.generate_response(
File "/home/xx/.local/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 236, in generate_response
output = adapter.process(
File "/home/xx/.local/lib/python3.8/site-packages/sugaroid/brain/iam.py", line 151, in process
cos = cosine_similarity([str(i.lower_)], ['sugaroid'])
File "/home/xx/.local/lib/python3.8/site-packages/sugaroid/brain/postprocessor.py", line 164, in cosine_similarity
cosine = c / float((sum(l1) * sum(l2)) ** 0.5)
ZeroDivisionError: float division by zero
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: hangman
sugaroid: [ ﹏ ﹏ ﹏ ﹏ ﹏ ﹏ ﹏ ] Life: :yellow_heart::yellow_heart::yellow_heart::yellow_heart::yellow_heart::yellow_heart::yellow_heart:
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: hiiii
sugaroid: As I am a new born, it's hard for me to understand unless you say it in a more detailed way
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: do you like yourself
sugaroid: Try asking that to a smarter assistant. Maybe Auntie Siri should know it better
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: k
sugaroid: You guess it right! 'hulk'
Hurray! You won the game!.
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: what is sugaroid?
sugaroid: An unhandled exception occurred: Traceback (most recent call last):
File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 242, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 74, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 99, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 355, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 142, in generate_response
output = adapter.process(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/wiki.py", line 64, in process
elif "up" in self.text.lower():
AttributeError: 'list' object has no attribute 'lower'
Installing sugaroid gives the following error while running pip3 install .
;
>>> pip3 install .
Defaulting to user installation because normal site-packages is not writeable
Processing /xxxxx/xxxxxx/xxx/sugaroid
Collecting googletrans
Using cached googletrans-3.0.0.tar.gz (17 kB)
Collecting google
Using cached google-3.0.0-py2.py3-none-any.whl (45 kB)
Collecting Django
Using cached Django-3.1.2-py3-none-any.whl (7.8 MB)
Collecting pyjokes
Using cached pyjokes-0.6.0-py2.py3-none-any.whl (26 kB)
Collecting scikit-learn
Using cached scikit-learn-0.23.2.tar.gz (7.2 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-nua7df7h/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.28.5' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"' and platform_python_implementation == '"'"'CPython'"'"'' 'numpy==1.14.0; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"' and platform_python_implementation != '"'"'CPython'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'scipy>=0.19.1'
cwd: None
Complete output (207 lines):
Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX" and platform_python_implementation == "CPython"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX" and platform_python_implementation != "CPython"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.8" and platform_system == "AIX"' don't match your environment
Collecting setuptools
Using cached setuptools-50.3.0-py3-none-any.whl (785 kB)
Collecting wheel
Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting Cython>=0.28.5
Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
Collecting numpy==1.17.3
Using cached numpy-1.17.3.zip (6.4 MB)
Collecting scipy>=0.19.1
Using cached scipy-1.5.2.tar.gz (25.4 MB)
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp21fy0cqr
cwd: /tmp/pip-install-bk9br_4_/scipy
Complete output (171 lines):
setup.py:460: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /tmp/pip-modern-metadata-kf66zecz'), proceeding with generating Cython sources and expanding templates
warnings.warn("Unrecognized setuptools command ('{}'), proceeding with "
Running from SciPy source directory.
lapack_opt_info:
lapack_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
NOT AVAILABLE
openblas_lapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
NOT AVAILABLE
openblas_clapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas,lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
NOT AVAILABLE
flame_info:
customize UnixCCompiler
libraries flame not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib64
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/local/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib64
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib/
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/lib/
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib64
customize UnixCCompiler
libraries satlas,satlas not found in /usr/local/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries satlas,satlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib64
customize UnixCCompiler
libraries satlas,satlas not found in /usr/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries satlas,satlas not found in /usr/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib/
customize UnixCCompiler
libraries satlas,satlas not found in /usr/lib/
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib64
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib64
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib/
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib64
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/local/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib64
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib/
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/lib/
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
lapack_info:
customize UnixCCompiler
libraries lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
NOT AVAILABLE
/tmp/pip-build-env-lx4os088/overlay/lib64/python3.9/site-packages/numpy/distutils/system_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
if getattr(self, '_calc_info_{}'.format(lapack))():
lapack_src_info:
NOT AVAILABLE
/tmp/pip-build-env-lx4os088/overlay/lib64/python3.9/site-packages/numpy/distutils/system_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
if getattr(self, '_calc_info_{}'.format(lapack))():
NOT AVAILABLE
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 133, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/tmp/pip-build-env-lx4os088/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 161, in prepare_metadata_for_build_wheel
self.run_setup()
File "/tmp/pip-build-env-lx4os088/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 253, in run_setup
super(_BuildMetaLegacyBackend,
File "/tmp/pip-build-env-lx4os088/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 583, in <module>
setup_package()
File "setup.py", line 579, in setup_package
setup(**metadata)
File "/tmp/pip-build-env-lx4os088/overlay/lib64/python3.9/site-packages/numpy/distutils/core.py", line 137, in setup
config = configuration()
File "setup.py", line 477, in configuration
raise NotFoundError(msg)
numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp21fy0cqr Check the logs for full command output.
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-nua7df7h/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.28.5' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"' and platform_python_implementation == '"'"'CPython'"'"'' 'numpy==1.14.0; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"' and platform_python_implementation != '"'"'CPython'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'scipy>=0.19.1' Check the logs for full command output.
I'm not sure why this is happening, I hope that I'll get some help!
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: hangman input o taking it as i and fills the gap
sugaroid: Oops, seems like you missed a letter.
[ ﹏ I ﹏ ﹏ ﹏ ﹏ ﹏ ﹏ ] Life: 💙💙💙
+---+
| |
0 |
/|\ |
|
|
=========
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: a
sugaroid: Okay, you got that one right!.
[ ﹏ ﹏ A ﹏ ﹏ ﹏ ] Life: 💜💜💜💜💜💜💜
+---+
| |
|
|
|
|
=========
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: don't be depressed sugaroid
sugaroid: Do not be depressed sugaroid either.
Uncaught ReferenceError: addToHomescreen is not defined
at stylish-portfolio.js:67
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: why electric circuits should be closed ?
sugaroid: I am still newborn, it might take me atleast 3 years to learn that
Can's recognize questions in future tense
For example "what will you do on thursday?" or "what will you today?".
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: I asked you a simple question
sugaroid: Are you sure you are question? I thought you were qstn
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: do you like to like?
sugaroid: Yes. I guess I like to like
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: marvel hangman
sugaroid: An unhandled exception occurred: Traceback (most recent call last):
File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 254, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 76, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 101, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 361, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 148, in generate_response
output = adapter.process(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/hangman/init.py", line 214, in process
self.chatbot.globals["hangman"]["class"] = Hangman(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/hangman/init.py", line 103, in init
self.word = random_response(get_hangman_words("marvel", chatbot.session))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/hangman/constants.py", line 14, in get_hangman_words
data = collector.get_dataset(f"hangman/{category}").splitlines()
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/datasets/collector.py", line 70, in get_dataset
raise RuntimeError(f"{r.status_code}, {r.reason}: {txt_api_endpoint}")
RuntimeError: 404, Not Found: https://raw.githubusercontent.com/sugaroidbot/datasets/main/datasets/hangman/marvel.txt
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: how old are you?
sugaroid: I feel great! Thanks for your concern 😃
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: wonder land is far how so I cant reach you as I run around are happy in the field
sugaroid: Seems like you forgot the important part of your currency conversion statement. The number!
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: what is weathering with you?
sugaroid: answer some question do some mathematical sum and talk like this i can also play a game of akinator
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: halo
sugaroid: As I am a new born, it's hard for me to understand unless you say it in a more detailed way
The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: what is your name?
sugaroid: /report
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.