Comments (7)
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.
Going to need a bit more info to help
- Which bot are you running
- Which script are you running to run the bot
- What operating system are you running
First glance it looks like the PYTHON path is not set,
from program-y.
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.
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.
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.
Thanks a lot! I was lose but now I can see more clear! cheers!
from program-y.
Pip3 on the roadmap, as no outstanding issue, close for now
from program-y.
Related Issues (20)
- Programy on PythonAnywhere HOT 1
- Program-Y is alive.... again HOT 2
- <system> tag in aiml doesn't work HOT 1
- scheduling extension doesn't print message
- Error when trying to save data from 'learnf' elements to MongoDB HOT 2
- Wikipedia doesn't seam to work HOT 1
- <learn> and <star> don't work together HOT 1
- How to get a variable value outside of aiml files inside python code?
- Setting SentenceSplitter on an embedded bot HOT 4
- Whenever I install program y, cryptography fails to install and the whole installation stops.
- Bug in pattern parser where the star index of the words will change
- WARNING:root:[Console] [bot] [brain] [testuser] - System command node disabled in config
- ModuleNotFoundError: No module named 'sqlalchemy'
- Pattern matching not work in a right way
- image not displaying in telegram
- GUI for my bot (Not a feature request I was just unsure where to ask) HOT 1
- Change Default Response
- AttributeError: module 'collections' has no attribute 'MutableSet' HOT 3
- module apscheduler not found
- Thoughts about ChatGPT service for ProgramY
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from program-y.