Traceback (most recent call last):
File "main.py", line 3, in <module>
import telnyx
ModuleNotFoundError: No module named 'telnyx'
Hey @BillyerGardnere welcome to the forums!
Have you installed the package through the shell or the Replit Package Manager?
Nope how can i install can you guide me?
This page in the docs should help https://docs.replit.com/programming-ide/installing-packages
I have readed but can’t understand really
Liike I have to make changes in package-lock.json file?
@BillyerGardnere try using pip install telnyx
in the shell (CTRL + SHIFT + S
or CMD + SHIFT + S
).
Or poetry add telnyx
. pip
is the Python package manager and works on Replit. poetry
is the Replit Python package manager, and as such should theoretically provide some advantages. I think that if you want to make a template, poetry
is better as it adds the package to the Repl config files.
It’s poetry add telnyx
.
I knew I did something wrong. I’ll fix it. How could I forget?