Open NeonN3mesis opened 1 year ago
this occurs when either ./run.sh --install-plugin-deps
is not ran or an issue with your version of pip and python having a mismatch
That's what I ran. So you're saying I need to update pip?
Edit:
Updated pip, re-ran the install plugins commands and still
Traceback (most recent call last):
File "
I fixed it by manually installing the alpaca package. Must be a an issue with imports
I am also in the same situation, and even after using this command "./run. sh -- install plugin deps", the same error is reported
My fix was to run the command "pip install alpaca-py" I believe that was the package. They're all in the requirements.txt file. If one is missing, install it in the folder manually via the CLI
On Sat, May 6, 2023, 4:56 AM Professor-Chen @.***> wrote:
I am also in the same situation, and even after using this command "./run. sh -- install plugin deps", the same error is reported
— Reply to this email directly, view it on GitHub https://github.com/danikhan632/Auto-GPT-AlpacaTrader-Plugin/issues/2#issuecomment-1537094065, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6YS72RZXDWQKLDFAVSAPPLXEYG2RANCNFSM6AAAAAAXUXPSFM . You are receiving this because you authored the thread.Message ID: @.***>
我的解决方法是运行命令“pip install alpaca-py”我相信那是 包。它们都在 requirements.txt 文件中。如果缺少一个, 通过 CLI 手动将其安装在文件夹中 ... On Sat, May 6, 2023, 4:56 AM Professor-Chen @.> wrote: I am also in the same situation, and even after using this command "./run. sh -- install plugin deps", the same error is reported — Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6YS72RZXDWQKLDFAVSAPPLXEYG2RANCNFSM6AAAAAAXUXPSFM . You are receiving this because you authored the thread.Message ID: @.>
Thank you very much. Based on your method, I have successfully run it now
However, during the runtime, there are errors such as "Command place_trade returned: Error: {" code ": 40110000," message ":" request is not authorized "}". Do you know how to solve it?
Thanks for the info. Manually entering into powershell pip install alpaca-py seems to have done the trick. At least AutoGPT is running again. Happy trading
Tried reinstalling this plugin several times and getting this error upon launch
Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\Nips\Desktop\AutoGPT\Auto-GPT\autogpt__main.py", line 5, in
autogpt.cli.main()
File "C:\Users\Nips\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nips\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\Nips\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1635, in invoke
rv = super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nips\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nips\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return callback(*args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nips\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nips\Desktop\AutoGPT\Auto-GPT\autogpt\cli.py", line 90, in main
run_auto_gpt(
File "C:\Users\Nips\Desktop\AutoGPT\Auto-GPT\autogpt\main.py", line 118, in run_auto_gpt
cfg.set_plugins(scan_plugins(cfg, cfg.debug_mode))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nips\Desktop\AutoGPT\Auto-GPT\autogpt\plugins.py", line 219, in scan_plugins
zipped_module = zipped_package.load_module(str(module.parent))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 301, in load_module
File "plugins\Auto-GPT-AlpacaTrader-Plugin.zip\Auto-GPT-AlpacaTrader-Plugin\src\auto_gpt_alpacatrader_plugin__init__.py", line 8, in
File "plugins\Auto-GPT-AlpacaTrader-Plugin.zip\Auto-GPT-AlpacaTrader-Plugin\src\auto_gpt_alpacatrader_plugin\trader.py", line 2, in
ModuleNotFoundError: No module named 'alpaca'