Комментарии:
In my older virtualenv video, I got a ton of requests to show how to use virtual environments on Windows. I hope this helps!
ОтветитьThank you, that was really informative! Clears up questions.
Ответитьwhen i passed the requirements.txt file its showing as error could not open requirements file(no such file or directory)
Ответитьyou are awesome i don't have words to describe how helpful this video was thanks alooot man
ОтветитьGreat!
ОтветитьAMAZING video. Thanks a lot.
ОтветитьGreat video, thanks
ОтветитьAmazing tutorial - No one explains it like you do Corey!
ОтветитьPlease sir, remake video in Hindi
ОтветитьEven after 4 years, it is still a valid a video 😍
ОтветитьThis video is a simplified as a sip on a cup of coffee thank you so much Corey
Ответитьgood explanation
ОтветитьThank you so much! I’ve searched and read and tried everything on the net on how to set up venv but this is the only one that worked.
ОтветитьThanks a lot!
Ответитьhow would one upgrade the phyton in a virt environment? thanks?
for instance my system wide python says it is 3.11.3 but my venv says it is 3.7.
wld be grateful for any help or signposting
Thanks for tips sir.
I have created a virtual env and trying to install pandas in that but it's picking up my global pandas package and not including it in the virtual env.
Could you please help me with it.
pip list --local
Package Version
---------- -------
pip 23.0.1
setuptools 60.2.0
wheel 0.37.1
pip install pandas
Requirement already satisfied: pandas in c:\users\<username>\appdata\local\programs\python\python310\lib\site-packages (1.5.2)
Requirement already satisfied: pytz>=2020.1 in c:\users\<username>\appdata\local\programs\python\python310\lib\site-packages (from p
andas) (2022.7)
Requirement already satisfied: numpy>=1.21.0 in c:\users\<username>\appdata\local\programs\python\python310\lib\site-packages (from
pandas) (1.24.0)
Requirement already satisfied: python-dateutil>=2.8.1 in c:\users\<username>\appdata\local\programs\python\python310\lib\site-packag
es (from pandas) (2.8.2)
Requirement already satisfied: six>=1.5 in c:\users\<username>\appdata\local\programs\python\python310\lib\site-packages (from pytho
n-dateutil>=2.8.1->pandas) (1.16.0)
when I try to run (cd Desktop) it shows:The system cannot find the path specified. it works with documents and downloads but not desktop, anyone has an idea how to deal with this?
ОтветитьHow can he call pip from his desktop? I cannot. This is like the 13th video I've looked at trying to figure out why no matter what I do I can't do simple commands from my command prompt. I know my python is installed in program folder but it seems to do me no good. This is so frustrating lol.
Ответитьhow can i change the python version for the virtual environment?
ОтветитьHi... How do i run the python scripts in venv
ОтветитьThis is the best venv tutorial that I've ever seen. Its bookmarked in my browser for over 1.5 years now. I get back to it whenever I miss something. Thanks man (y)
ОтветитьI know this is 3 years old now. If you right click on the desktop and choose 'open in terminal you will see a power shell terminal. To activate python you need to type project_env\Scripts\Activate.ps1 and to use 'where' you need to type where.exe python
ОтветитьYou are so fast, I don't even need to set x2 speed. 👍
ОтветитьI initially learned all of this in another environment and I have no clue how to get back there. At least this one has minesweeper
ОтветитьAmazing tutorial!
Ответитьfirst step already wrong, there is no pip installed
ОтветитьThank you Corely for your outstanding tutorials.
I am wondering if we could create virtual enviroment in drive where python is not located. In my case, python is installed in C drive and my data science projects are in D drive. I want to create a virtual enviroment in each of my projects. Is that possible please?
Very clear thank you!
Ответитьthe best video I have ever seen
Ответитьthis isnt your first time here...
Ответитьclutch
ОтветитьI just wanna say tank you!
ОтветитьHi, I have python-3.10 installed in my PC, but I want use RASA so I should use 3.7 for that So,
Can we create an environment with 3.7 version of python , when that version of python is not even installed in my main system ??
if someone getting error like "the module VIRTUALENV_NAME can't be loaded" , try the following commands:
1. Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
2. VIRTUALENV_NAME\bin\Activate.ps1
PS: python version is 3.10
superb video that provided me with everything I needed - no more, no less. thanks so much!
Ответитьwhen i run the line python -m venv project_env it doesn't create the directory, can you help me?
ОтветитьVery well explained. So grateful for these videos. 🙏
ОтветитьYou're right, is is simple and doesn't have the bells and whistles of pipenv. The one thing I really prefer in pipenv is your pipfile is update automatically. Here, you would have to remember to add something to your requirements.txt after you install it.
ОтветитьThank you so much, this video is perfect !!
ОтветитьJust a head's up before you drive yourself crazy, but the pip stuff here seems outdated. The pip list stuff does not work at all (you'll just get the global list of packages, not the ones in your environment), and you also may find your pip installs do not work to install directly to the environment. I drove myself crazy thinking I was missing something here, but I think it just doesn't work anymore. (I'm not bashing the creator...I just think some of this is now N/A).
Ответитьthank you for the video, really helpful :)
ОтветитьHi there, first of all, it's an excellent video also can you please enable subtitles? Thank you so much!
Ответитьive been coding in python for 2+ years now and i just came across this video and feuture and im a tottal idiot for not knowing this for the 2+ years ive been randomly downloading packages and bloating my system. ;(
ОтветитьI know it's like throwing a bottle in the ocean but when I create my env using venv, it doesn't create a Scripts file into it but only lib, bin and include. It seems that the activate file is in bin, but when I run project_env\Scripts\activate.bat, the prompt returns: 'activate.bat' is not recognized as an internal or external command, an executable file or a command file.
What should I do to activate my environment?
Gooooooood 👌🏻
ОтветитьThis guy is the GOAT, simple and easy tutorials! This helps alot!
Ответить