-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue - cannot import name 'Action' from 'composio' #1115
Comments
@Madhuvod Thanks for reporting this, I'll check and update you. |
yes, thanks! pls lmk as soon as possible - working on a project and wanting to use Composio tools for it |
Hey, can you run the following commands and send us their output?
|
(base) madhushantan@Madhus-MacBook-Air ai_agent_tutorials % which composio |
@tushar-composio can you solve this please |
Please do the following:
|
@Madhuvod I'm Just following up. Did it work after running the above commands? |
it's not working |
@SakshiiKorat can you paste the output of the following commands?
|
(venv) PS D:\task\composio> where python (venv) PS D:\task\composio> pip show composio (venv) PS D:\task\composio> pip show composio-core (venv) PS D:\task\composio> composio --version
|
(venv) PS D:\task\composio> Get-Command pip CommandType Name Version Source Application pip.exe 0.0.0.0 D:\task\composio\venv\scripts\pip.exe |
*No composio Command-Line Interface (CLI):*
- You attempted to run commands like composio --version, but no such
executable exists because the installed packages (composio_core and
composio_langchain) are Python libraries, not standalone CLI tools.
- Unsupported which Command in Windows PowerShell:
- When running your script (ragtool.py), errors occurred because
composio_langchain tried to import symbols (Action, App) from a module
named composio, which either doesn’t exist or has been
refactored/removed.
- The issues likely stem from changes in the library’s API or a
mismatch between library versions (composio_core and composio_langchain)
where expected components (like Action or App) are no longer provided as
before.
…On Wed, 8 Jan 2025 at 11:54, Tushar Sadhwani ***@***.***> wrote:
@SakshiiKorat <https://github.com/SakshiiKorat> can you paste the output
of the following commands?
which composio
which pip
pip show composio
pip show composio-core
composio --version
—
Reply to this email directly, view it on GitHub
<#1115 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNS37ZI7P4VWJ62US3EF3GD2JTAAHAVCNFSM6AAAAABUNMM3P2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZWHA2DGNRQGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@plxity @tusharsadhwani it is indeed working for me. but I have a doubt tho. for me to use a particular composio tool - lets say google docs's - Create new document action, do I need to do anything else apart from these two step:
and I get final output as:
for the 2nd step:
Apart from this and using the composio api key in our code, anything else needs to be done? |
composio add googledocs
when i am running this command it is showing that
"the term 'composio' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was"
We have already installed composio version and also there is composio_core
version and composio_langchain is there then why it is showing the error
that composio is not there?
.
…On Wed, 8 Jan 2025 at 23:08, Madhu Shantan ***@***.***> wrote:
@plxity <https://github.com/plxity> @tusharsadhwani
<https://github.com/tusharsadhwani> it is indeed working for me. but I
have a doubt tho. for me to use a particular composio tool - lets say
google docs's - Create new document action, do I need to do anything else
apart from these two step:
composio add googledocs
select OAUTH2 → SELECT GOOGLE ACCOUNT
and I get final output as:
⚠ Waiting for googledocs authentication...
✔ googledocs added successfully with ID:
227fdfe1-2fe9-4f42-a6d3-2f3777374b89
for the 2nd step:
TO https://app.composio.dev/app/googledocs AND click create integration
and click Try connecting default’s googldocs button and done.
Apart from this and using the composio api key in our code, anything else
needs to be done?
—
Reply to this email directly, view it on GitHub
<#1115 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNS37ZL3QTE7PMHCOWTF26L2JVPC5AVCNFSM6AAAAABUNMM3P2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZYGI2DQOJUGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I constantly get this error: I want to use the google docs tool or notion tool where my phidata agent writes its response by creating a new doc and writing in it. but I have been constantly facing this error. my python version is 3.12.7, any solutions pls? also the composio docs to use notion tool is very confusing, any simple workflow examples can help. thanks. the error:
The text was updated successfully, but these errors were encountered: