0
How to import libraries in sololearn?
When I'm trying to import library, sololearn writes an error, like "no such file in directory". Please help me to fix it.
7 ответов
+ 4
You can import them by installing them first using pip. Here are a couple of examples
https://code.sololearn.com/c80BReGK9i1L
https://code.sololearn.com/cP3AHSy74JWV
+ 1
Yes you can import python libraries in Sololearn but only the python v3.8.6 in-built libraries.
eg :-
import this
0
You can't import something that isn't built in the language itself or isn't installed before . Use tags for language name .
0
1. Python
2. It has some basic libraries in itself, but sololearn can't find them
0
3. I'm playing "Bad Pigges"
0
You can't import libraries that aren't built-in because your code gets ran in a sandboxed environment and they haven't yet added an option to install libraries.
Run your code on a computer or download an app called Pydroid 3.
0
Okay, how to build in libraries?