This is a question about the module in use when converting Jupiter laptop ipynb file to py.
It can be converted to py. The problem is that the modules used (for example, modules such as pandas and numpy) There is a problem because it is not exported together. Is there any way?
python jupyter
Naturally, libraries must be extracted separately.
However, due to the nature of Python, expansion modules are used a lot, so there is no guarantee that copying and moving them will work. (Maybe it's possible if it's the same cpu and operating system)
One way is to get the list of modules that you have installed through the freeze option if you have installed the module with pip.
If you got the list, you can install it as it is.
Get List
pip freeze > requirements.txt
Install Module with List
pip install -r requirements.txt
© 2024 OneMinuteCode. All rights reserved.