I was trying to run my code but there was a problem with “requests”
something like this
Traceback (most recent call last):
File "main.py", line 6, in <module>
import requests, json, random
ModuleNotFoundError: No module named 'requests'
so How can I use that requests feature from python?
help me please…!
poetry add requests (this will be more compatible with forking I think).
poetry is the Replit package manager but
pip works as well.
Or just open a
Packager tab in the editor and install
requests, the way replit intended.
upm add requests (this will also be more compatible with replit I think).
upm is THE Replit package manager but poetry works as well.
(This actually isn’t very useful and I always use
poetry or the
Packager tab uses
upm which, in python, uses
poetry which uses
The Packager tab is known to be buggy, and is unreliable.
Yeah, I submitted a bug report about it recently because of configuration issues.
Staff has said before that it’s poetry though
UPM, Universal Package Manager, is the language-agnostic manager of package managers (provides abstraction), built by replit. For python, poetry is the dependency manager, the package manager used by UPM for python.
Most repls use UPM, any repl with a
.upm folder and a working
Hi @Nur-MohammadMo3 !
You can mark the post that helped you most as a Solution if it solved your problem.