keiffster / program-y

Python 3.x based AIML 2.0 Chatbot interpreter, framework, related programs and knowledge files
https://keiffster.github.io/program-y/
Other
348 stars 138 forks source link

Pip dependency issues still exist #259

Closed MikeyBeez closed 4 years ago

MikeyBeez commented 4 years ago

Thank you very much for sharing this very interesting code. I've built the github repository, but I'm having trouble with pip install. Here's what I entered: from within a python 3.7 miniconda environment

conda create --name jbot --no-default-packages python=3.7 conda install webencodings python3 -m pip install programy

I get the following errors:

ERROR: kik 1.5.0 has requirement six==1.10.0, but you'll have six 1.14.0 which is incompatible. ERROR: botframework-connector 4.8.0 has requirement cryptography==2.8.0, but you'll have cryptography 2.9.2 which is incompatible. ERROR: botframework-connector 4.8.0 has requirement PyJWT==1.5.3, but you'll have pyjwt 1.7.1 which is incompatible.

also webencodings seems to be necessary but not in requirements file. Miniconda environment Ubuntu 18.04 programy 4.3

BTW, tried uninstalling the offending modules then rerunning the pip install. That didn't work; so I assume your requirements file is messed up. Maybe it will run anyway. I'll give it a try.

MikeyBeez commented 4 years ago

BTW, it's most simple implementation is running: ❯ python3 Python 3.7.7 (default, Mar 26 2020, 15:48:22) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.

from programy.clients.embed.basic import EmbeddedBasicBot

my_bot = EmbeddedBasicBot() print("Response = %s" % my_bot.ask_question("Hello")) Response = Good morning.

keiffster commented 4 years ago

I’m working through those pip issues

They don’t cause any problems, I’ve tested all clients after install and while the 2 libraries are incompatible in some respects, I have found any issues so in terms of program-y they are compatible

Next release or so will move all clients into their own got repos and own installs which fixes the problem once and for all

Interesting about webencodings, I don’t directly use it so need to look at what is pulling it in, but until then I’ll add it to requirements.txt for now

Regards

Keith 07771 597630

On 30 Apr 2020, at 14:24, Mike Bee notifications@github.com wrote:

 Thank you very much for sharing this very interesting code. I've built the github repository, but I'm having trouble with pip install. Here's what I entered: from within a python 3.7 miniconda environment

conda create --name jbot --no-default-packages python=3.7 conda install webencodings python3 -m pip install programy

I get the following errors:

ERROR: kik 1.5.0 has requirement six==1.10.0, but you'll have six 1.14.0 which is incompatible. ERROR: botframework-connector 4.8.0 has requirement cryptography==2.8.0, but you'll have cryptography 2.9.2 which is incompatible. ERROR: botframework-connector 4.8.0 has requirement PyJWT==1.5.3, but you'll have pyjwt 1.7.1 which is incompatible.

also webencodings seems to be necessary but not in requirements file. Miniconda environment Ubuntu 18.04 programy 4.3

BTW, tried uninstalling the offending modules then rerunning the pip install. That didn't work; so I assume your requirements file is messed up. Maybe it will run anyway. I'll give it a try.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

keiffster commented 4 years ago

Great news, enjoy

Regards

Keith 07771 597630

On 30 Apr 2020, at 14:26, Mike Bee notifications@github.com wrote:

 BTW, it's most simple implementation is running: ❯ python3 Python 3.7.7 (default, Mar 26 2020, 15:48:22) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.

from programy.clients.embed.basic import EmbeddedBasicBot

my_bot = EmbeddedBasicBot() print("Response = %s" % my_bot.ask_question("Hello")) Response = Good morning.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

MikeyBeez commented 4 years ago

I suspect that kik is causing the trouble, and they need to fix it there. I'll check for issues on their repository.

MikeyBeez commented 4 years ago

They aren't open source; so I can't check their issues. That's a problem right there. One can't look at their code.