Git Product home page Git Product logo

Comments (7)

keiffster avatar keiffster commented on July 19, 2024 1

Check the documentation, I've updated the Installation and Running pages of the wiki to provide a bit more information on how to run the bot.

Best way is to navigate to one of the bot folders Alice2 or Y-Bot and run one of the shell scripts which do everything for you

from program-y.

keiffster avatar keiffster commented on July 19, 2024 1

Going to need a bit more info to help

  1. Which bot are you running
  2. Which script are you running to run the bot
  3. What operating system are you running

First glance it looks like the PYTHON path is not set,

from program-y.

acondori avatar acondori commented on July 19, 2024

I just was wondering the same, I pulled the repo but ,,,How a load this repo as executable python library?

When I try to test some file I received:

Traceback (most recent call last):
File "./programy/clients/console.py", line 3, in
from programy.clients.clients import BotClient
ImportError: No module named 'programy'

Thanks a lot!

from program-y.

keiffster avatar keiffster commented on July 19, 2024

In on the backlog, but program-y needs a certain amount of configuration and data files, so right now is not practical as just an installable python library

Check out the wiki, specifically Installation, Configuration and Running sections in the side bar to see how to download from github, install python dependencies, configure a bot and then run it

from program-y.

seghcder avatar seghcder commented on July 19, 2024

I am not big on Linux but got it working just following what Keith wrote in the install and config notes, and making sure paths were correct. For Windows you need to write a CMD file to set the path before running the command line. Below is an example y-bot.cmd file:

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

Note I use SUBST to map Y: to where I cloned Program-Y in a C drive folder, just to make it easier to work with. You could also use %CD% to avoid hard coding a directory path.

from program-y.

acondori avatar acondori commented on July 19, 2024

Thanks a lot! I was lose but now I can see more clear! cheers!

from program-y.

keiffster avatar keiffster commented on July 19, 2024

Pip3 on the roadmap, as no outstanding issue, close for now

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.