[Solved β ] Problems with the Python SDK: No module named 'pysher'
I created a Python virtual environment using
venv
and did a simple initialization as follows:
But I get the following error:
10 Replies
other-emeraldβ’6mo ago
What
python
and composio-core
versions are you using??extended-salmonOPβ’6mo ago
@thatsmeadarsh
Python
3.11.8
Composio Core 0.5.15
other-emeraldβ’6mo ago
I think something else is wrong, if you don't mind can we have a short google meet regarding this issue??
Let me know when you are free (mentioning your timezone) π
extended-salmonOPβ’6mo ago
@thatsmeadarsh Sure! I can do it whenever in the next 10 hours. It's 10:41 am in my timezone (CEST, UTC+2).
@Soham
I think I'm using the correct Python interpreter (the venv one).
vicious-goldβ’6mo ago
@xaxbxc_ Is this full error stack? I think the one you uploaded might be missing some lines.
extended-salmonOPβ’6mo ago
@kaavee I edited the first message.
vicious-goldβ’6mo ago
Super weird, the module is in our deps, should have been installed.
Could you run
pip install pysher==1.0.8
and try once?extended-salmonOPβ’6mo ago
@kaavee I know. I already tried this. It says that requirement is already satisfied. I'm going nuts trying to solve it. I also checked this by running
pip list
and I can see Pysher 1.0.8
being installed in my venv. However, I get this error saying that the module named pysher
cannot be found.vicious-goldβ’6mo ago
Want to get on a quick call?
https://meet.google.com/kga-cezc-zjc
extended-salmonOPβ’6mo ago
Yes!
For anyone reading this, the error was solved with the help of @kaavee. The issue was that
pip show pysher
was showing like Pysher is installed inside the venv, but actually it wasn't by looking at the folder site-packages
where the package should be located.
The solution is running the following command and installing Pysher this way: pip install git+https://github.com/nlsdfnbch/Pysher.git