Python Basics Tutorial How to Use Pip Freeze to Create Requirements File

preview_player
Показать описание
Learn how to use pip freeze to create a requirements file of current module version for python programming

twitter: @python_basics

#pythonprogramming #pythonbasics #pythonforever
Рекомендации по теме
Комментарии
Автор

Subscribed. Took me ages to find this.

Thanks man.

benjaminclymer
Автор

so do i use "pip install -r requirements.txt" before or after i do the pip freeze?? and do i have to do them both? or why not?

alexandracasados
Автор

In Pycharm, do I have to always download the same libraries before doing different projects, or one a library is installed I can again use it without downloading it again?

shirsendudhar
Автор

May I ask some questions? What if we only have a python file from other people's code but there is no requirements.txt, how do I install all packages required for specific python file all at once?

dmitricherleto
Автор

It's giving me access is denied.. What should I do now?

riyashrivastavaanuntzdxkp
Автор

when I do pip freeze > requriments.txt it also gave some of the unused package name which I didn't used in my program and also when I tried to deploy my program in Heroku cloud, even heroku was not able to install all the requriment which was there in requriments.txt file. Please help me on creating proper requriments.txt

I used pip freeze > requriments.txt in pycharm

unsharma
Автор

and heroku isn't able to install it. how do I fix this?

ellenfang
Автор

cant use in the command prompt. I get an error pip not installed! what to do next?

gokulkrishnan
Автор

I am getting a warning could not generate requirement for distribution
-cikit-learn 0.22, though, my code worked without any error

Some_random_guy_