Git Product home page Git Product logo

Comments (9)

keiffster avatar keiffster commented on July 19, 2024

No need to run setup.py. I added it in preparation for submission to pypy repo but it's not tested yet.
Just follow the instructions in the wiki, download, pip install requirements and then go to the bots folder, choose a bot and run the script in its folder and that will startup one for you

from program-y.

keiffster avatar keiffster commented on July 19, 2024

Have you got a bot running yet ?

from program-y.

ephraimd avatar ephraimd commented on July 19, 2024

i tried but got this

C:\Users\foo\Codes\AI\engines\aiml\program-y-mast
../src/programy/clients/console.py --config ./config.ya
ng ./logging.yaml
Traceback (most recent call last):
  File "../../src/programy/clients/console.py", line 19
    from programy.clients.client import BotClient
ModuleNotFoundError: No module named 'programy.clients'

sorry fo the late reply, got busy during the weekend

from program-y.

ephraimd avatar ephraimd commented on July 19, 2024

keiffster @keiffster please kindly reply the thread. Pretty please?

from program-y.

seghcder avatar seghcder commented on July 19, 2024

Suggest to put the following in a CMD or batch file. You need to set environment vars like in the example linux shell scripts (.sh)

SET PYTHONPATH=y:\program-y\src;y:\program-y\libs\MetOffer-1.3.2;Y:\program-y\bots\y-bot

py y:\program-y\src\programy\clients\console.py --bot_root y:\program-y\bots\y-bot --config y:\program-y\bots\y-bot\config.yaml --cformat yaml --logging y:\program-y\bots\y-bot\logging.yaml

If you want to try using Y: like the above (to help shorten directories), use SUBST Y: <some_path_on_c_drive> ... see SUBST /? for help

Adjust your paths to suit. It works for me at least :-)

from program-y.

ephraimd avatar ephraimd commented on July 19, 2024

Thanks @ideasean , i think i'll just stick with program-ab for now.
The setup process for program-y seems to work perfectly on linux but tangled on windows; i need a very cross platform solution and one thats very easy to re-code for enterprise use.
I'll just keep refactoring program-ab while checking back here to see how things evolve. Thanks too @keiffster

from program-y.

seghcder avatar seghcder commented on July 19, 2024

No problems @Olagsfark . I would say stick with it though.

We are currently running a live Pilot with a major enterprise automotive client using Program-Y as the basis. Its been running several weeks now on a Windows server. Its interfaced already with 7 different IT systems (3x ticketing, 2x monitoring, 2x CMDB), and using a Skype for Business client. Its been really stable so far.

The main issues have been with our own AIML and python interface code. I've not had to escalate to Keith on any showstopper issues to date, and Keith has been really responsive on any topics we've raised.

Anyway, its up to you. Just thought I'd share our experience :-)

from program-y.

keiffster avatar keiffster commented on July 19, 2024

from program-y.

keiffster avatar keiffster commented on July 19, 2024

setup.py has been removed from the code base as it was added when I was working on support pypy, but never got round to finishing it.

It will be re-added when I get support for pypy added

Support for Window .cmd scripts will be addeds shortly, until then Sean has excellent example of what a cmd script looks like

Closing issue and setup.py is no longer an issue

from program-y.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.