Giter VIP home page Giter VIP logo

Comments (9)

KeJWS avatar KeJWS commented on July 22, 2024

+1

from autogpt-gui.

MrAnayDongre avatar MrAnayDongre commented on July 22, 2024

Try changing the path in script.js
let args_cmd = ['//'] // ADD PATH of autogpt folder

from autogpt-gui.

Philomath88 avatar Philomath88 commented on July 22, 2024

Thank you for your willingness to help @MrAnayDongre but am not sure where I have to insert this line.

from autogpt-gui.

MrAnayDongre avatar MrAnayDongre commented on July 22, 2024

In the latest update, script/main.py was removed.
Users are getting the same issue for AutoGPT repo as well.
If this doesn't work then we just have to wait for the update.

Try changing path in args_cmd variable which is in script.js @Philomath88 . args_cmd variable initializes an array containing the file/folder path.

from autogpt-gui.

Philomath88 avatar Philomath88 commented on July 22, 2024

How I am getting this issue @MrAnayDongre ...

/Users/maximiliandoelle/miniconda3/bin/python: can't find 'main' module in '/Users/maximiliandoelle/Projects/Auto-GPT'

I have made sure to pull the latest changes from auto-gpt

from autogpt-gui.

MrAnayDongre avatar MrAnayDongre commented on July 22, 2024

You have added AutoGPT folder path it seems.
AutoGPT is the main folder and autogpt is the subfolder which path needs to be provided.

from autogpt-gui.

kuangzhu81 avatar kuangzhu81 commented on July 22, 2024
// REVIEW Run ../scripts/main.py and redirect all the output to a variable live in the GUI
// Set up the command
let cmd = 'python'
let args_cmd = ['-m', 'autogpt']
// let args_cmd = ['scripts/main.py']

from autogpt-gui.

1zw avatar 1zw commented on July 22, 2024

this maybe help
for linux
vim /etc/profile
export PYTHONPATH=your_autogpt_path
for windows
add your_autogpt_path into env_params called "PYTHONPATH"

from autogpt-gui.

Zujaj avatar Zujaj commented on July 22, 2024
// REVIEW Run ../scripts/main.py and redirect all the output to a variable live in the GUI
// Set up the command
let cmd = 'python'
let args_cmd = ['-m', 'autogpt']
// let args_cmd = ['scripts/main.py']

Getting error No module named autogpt, I even added C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts in my windows Path Environment Variable and executed pip install autogpt.

image

Help Wanted!

from autogpt-gui.

Related Issues (17)

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.