CodingEntrepreneurs advance usage of decorators, version control like git with local ssh keys, upload and usage of self created libraries from github.. ect 😅
As a noob I started with virtualenv but then switched to PyCharm Community edition for learning Python, as there were so many different methods of creating virtualenvs that it got a bit confusing as to which I should use.
Tried this but getting error. When I deactivated the virtualenv and then tried the activate it again using pipenv shell, its says that the virtualenv is already activated
One thing I should mention. Simply creating a virtual environment using pipenv, it creates it in a folder ending in some hash value which is not known first hand. To be deterministic set PIPENV_VENV_IN_PROJECT=1 in your environment variables before creating the environment. When you create the environment, it will now create your environment in folder named .venv/ . Now you can always be sure where the environment is. Adios.
Updated the blog post www.codingforentrepreneurs.com/blog/pipenv-virtual-environments-for-python/#bonus-items. I just tested and validated this method. It works well! Thank you.
What am I doing incorrectly when it comes to nano? I am never able to save and exit any of the changes I try to make. I just keep bouncing back between the ^X and Y/N page. It's extremely frustrating.
Golly gee wiz. A 3 year old video featuring a hot python topic having less than 500 views. Do ya think maybe the fact that Windows controls over 90% of the personal computer OS might have something to do with it?
After installing Django and running command 'pipenv shell' the virtual envieroment is not running on (try_django) rather its running on Virtualenv location: /home/ankur/.local/share/virtualenvs/ankur-0RdmWIa8. Is it a problem? HELP !!!
how do I tell my standard py-interpreter in my IDLE that it should look in my virtualenv (created by pipenv) to look for and use the installed packages ( and not using ones I have installed globally )? I guess it must work like the build systems in Sublime, but how do I do it in my standard IDLE included in my Python?? thanx
Finally, you using Pipenv - its so much cleaner
Definitely is. Old habits die hard 👀
anaconda auto completion is not working...are you able to get it to work?
BTW, all official advanced features: github.com/pypa/pipenv/blob/master/docs/advanced.rst
Thank you
I was looking for a tutorial and...Hey, what do you know! I found this real gem :D
Thank you very much for this video! It helps a lot with understanding pipenv!
Great job 👏
So how do you manage multiple projects/environments? How do you switch venvs? Thanks :)
Great stuff!! More python please!😁
Suggestions?
CodingEntrepreneurs advance usage of decorators, version control like git with local ssh keys, upload and usage of self created libraries from github.. ect 😅
Like custom decorators?
Also, check this out: ruclips.net/video/YIdXBq2_RN8/видео.html
CodingEntrepreneurs yes that's right! For example to measure performance and story result in a dictionary. We can also try to log it.
As a noob I started with virtualenv but then switched to PyCharm Community edition for learning Python, as there were so many different methods of creating virtualenvs that it got a bit confusing as to which I should use.
Chee Wan Try pipenv a few times. Its worth learning.
Tried this but getting error. When I deactivated the virtualenv and then tried the activate it again using pipenv shell, its says that the virtualenv is already activated
Chee Wan After deactivating, type exit. Then you can reactivate again.
ahh ok, it wasn't obvious from the video
Thanks PJ!
THANK YOU!!! I thought i was going crazy when I didn't see a name for subshell glad too see that PS for some reason doesn't create a subshell
So do you create a new venv directory for each project or create them all under the venv virtual folder?
New project = new directory and new pipenv virtual environment
thanks!
One thing I should mention. Simply creating a virtual environment using pipenv, it creates it in a folder ending in some hash value which is not known first hand. To be deterministic set PIPENV_VENV_IN_PROJECT=1 in your environment variables before creating the environment. When you create the environment, it will now create your environment in folder named .venv/ . Now you can always be sure where the environment is. Adios.
Thank you! Much appreciated.
Updated the blog post www.codingforentrepreneurs.com/blog/pipenv-virtual-environments-for-python/#bonus-items. I just tested and validated this method. It works well! Thank you.
Great tutorial thanks for taking the time to explain this.
Great tutorial thanks! 😃
this is a good starter, but do you have any knowledge with pipenv and teamcity? can't seem to find any good content on it -
What am I doing incorrectly when it comes to nano? I am never able to save and exit any of the changes I try to make. I just keep bouncing back between the ^X and Y/N page. It's extremely frustrating.
When would I use conda as oppose to pipenv?
Golly gee wiz. A 3 year old video featuring a hot python topic having less than 500 views. Do ya think maybe the fact that Windows controls over 90% of the personal computer OS might have something to do with it?
After installing Django and running command 'pipenv shell' the virtual envieroment is not running on (try_django) rather its running on Virtualenv location: /home/ankur/.local/share/virtualenvs/ankur-0RdmWIa8. Is it a problem? HELP !!!
What is the difference between virtualenv and pipenv ?
Justin, do you know how to use docker & docker-compose for create a dev environment?
Yes. Pipenv is much easier for 95% of beginners. Docker can be a game charger for projects too!
CodingEntrepreneurs - got it, if you have time, maybe you can do a tutorial about docker for dev env whit django, i'll thank you so much
zsh: command not found: pipenv (i am getting this error, i have installed pipenv) can someone help?
how do I tell my standard py-interpreter in my IDLE that it should look in my virtualenv (created by pipenv) to look for and use the installed packages ( and not using ones I have installed globally )? I guess it must work like the build systems in Sublime, but how do I do it in my standard IDLE included in my Python?? thanx
anaconda auto completion is not working...are you able to get it to work?
Can I use this method on Ubuntu 20.04 to create pipenv?
Thanks!
where did you open that window
Why i have to install django again and again
on my pc i can get pipenv to install 3.7 it always install 3.8.5 does anyone run in tho this issue.
FIXED: ok i got it to install 3.7
I got an error executing "sudo pip install pipenv". It threw an exception (Operation not permitted)
Do you have admin privileges?
CodingEntrepreneurs Yes
Just to let you know, I was able to install pipenv successfully using "brew install pipenv"
I see that shell in windows, even powershell now, still sucks comparing to linux ( or even mac )
It's a big improvement over command prompt! I'll take that at least :)
deactivate doesn't do anything.
مرحبا
The link kirr.co/m0ejzr is not working
Try kirr.co/m0ejzr
Sorry. It must be something related to my work's network. On my phone's connection it works.
Joincfe.com/blog/ all pots are there just an FYI.
haha error?