Anaconda Beginners Guide for Linux and Windows - Python Working Environments Tutorial
Ғылым және технология
In this video, we will talk about the Anaconda toolkit and how we can use it to make our Python journey a bit more convenient.
🐍 We will talk about working environments and how we can create them on our computer.
🐍 We will also install different versions of Python inside these environments and combine them with a few popular packages.
🐍 We will discuss all the must-know conda commands.
🐍 We will install a conde editor named Jupyter Notebook.
The goal of this tutorial is:
a. to show the convenience of working environments.
b. to answer why I'm using conda in most of my videos 😜
🛑 PLEASE NOTE 🛑
*******************************
I didn't mention it in this tutorial - but you can still install Pygame with Python 3.5 (up to 3.5, newer versions will not work with conda!)
You'll just need to figure out which version of Pygame works with your version of Python!
So is Python 2.7 really a requirement? NO! I shouldn't have phrased it that way... but you might run into issues if you go for a later version! I got lots of questions about it and 2.7 seems to work great for everybody!
So if you got the following error:
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- pygame - python[version='2.7.*3.5.*']
Your python: python=3.9
Just try combining it with an older version of Python and it should do the trick! 😉
⏰Time Stamps ⏰
*******************************
00:00 - Intro to Anaconda Toolkit
00:23 - What is a working environment?
01:52 - Install Anaconda on Linux Ubunbtu 20.4
03:35 - Create conda working environments
04:02 - conda: command not found ERROR FIX
04:52 - conda install Pytorch
05:15 - conda list packages
06:00 - install Pygame
06:56 - conda remove package
07:25 - conda env list
07:47 - conda update package
08:14 - update conda
08:49 - search for install commands
10:18 - Jupyter Notebook
11:35 - Install Anaconda on Windows
14:20 - thanks for watching!
⭐ Anaconda Cheat Sheet ⭐
*******************************
docs.conda.io/projects/conda/...
⭐ Learn more about Jupyter Notebook (old video of mine)⭐
• Coding Interfaces for ...
⭐ My Simple Video Game with Pygame Tutorial ⭐
• Create a Simple Video ...
⭐ My Pytorch Databases Tutorial ⭐
• Machine Learning Datab...
⭐ My Web App with Flask Tutorial ⭐
• Simple Web App with Fl...
Пікірлер: 330
Hello, great video, all your videos are very instructive. I have a question, i have a very basic knowledge of python, I tried pycharm but gives me problems so I only know to use idle and Sublime text,: Can you use theese two with different working environments in Anaconda? Thank you.
@PythonSimplified
2 жыл бұрын
Hi Jose! 😃 You can even use Notepad to create Python files! It doesn't really matter which code editor you use - as it's not affecting anything inside your working environment! 🙂 The only reason why you use code editors is to produce ".py" or ".html" or ".js" files and then you run them from your terminal. So you edit with Sublime and you execute your them with Anaconda - these 2 are not related! The main benefit of IDEs like Pycharm is that you both edit your files there and both execute them from the built-in terminal in Pycharm. But it's quite a hustle to set everything up and get it to work, so if you're just beginning with Python - it's best to start with simple code editors like Sublime and switch to an IDE only at a later stage - when you are more experienced 😉 BTW, in most of my tutorials I use a code editor called Atom to produce the files (very similar to Sublime) and I just run them from the Anaconda terminal by: 1. activating my environment: conda activate my_environment 2. installing whichever modules you're planning to use, for example PyQT5: conda install -c anaconda pyqt 3. navigating to the project folder with: cd c:\users\mariya\path_to_my_program 4. running the Python file inside this folder with: python my_file_name.py You can check out this video for example (it's somewhere around 03:30 minutes): kzread.info/dash/bejne/a52Orqanh8Lcp7g.html Good luck! 😃
@JoseAntonio-jf5lz
2 жыл бұрын
@@PythonSimplified Thank you very very much for the detailed explanation. When I am using Python's IDLE (something similar in Sublime) I press F5 to run the module to check if it works, it opens a new window and execute the module, it is easy, fast and I lazy 😅, So as I understand that F5 key of IDLE is not going to work with Anaconda working environments.
@manu1995007
2 жыл бұрын
@@JoseAntonio-jf5lz Though I dont personally use idle, I am pretty sure any editor can be configured to use any python interpreter installed on the system (in this case the python provided by the Anaconda installation). You just need to go in your interpreter settings, and give it the path of the python executable located inside the anaconda directory/environment. Just make sure all the environment variables are consistent.
@JoseAntonio-jf5lz
2 жыл бұрын
@@manu1995007 Thank you, I 'll try to find the way
I watched like a dozen tutorials like this and you are really doing something amazing. You are starting with why and what things are and what they do and then why do them using analogies that people without programming experience can really connect the symbolic functionality of something to real world situations to understand... again, what something does, how and why. The amount of tutorials for beginners I see that jump straight into just the hello world command without explaining anything to do with logistics, organization, management and just plain... keeping things organized in my mind so that I don't feel overwhelmed is just crazy. So thank you for just... being awesome at what you do.
I never comment unless a person really inspires me. Great work with your approach to sharing what you know. You’re a gifted teacher.
I already subscribed to your channel before finishing the video due to the quality of your presentation. This short video has answered all my questions and clear every doubt I had.
You are the best teacher on the internet! Thanks for simplifying this for us!
I am going to watch every single video on this channel. I do not know why but the way you do you makes it soooooo easy. Thanks again.
Excellent brief tutorial! Exactly what I needed. Thank you.
Thank you so much Mariya for this informative video on Anaconda for Python! Your clear explanations and helpful tips have made it so much easier for me to understand and navigate this powerful tool. Your dedication to sharing your knowledge is truly appreciated. Keep up the great work!
Thank you!!! Very well explained. I actually learned a couple of things. You're the best!
@PythonSimplified
2 жыл бұрын
Thank you so much!! I'm super glad you liked this tutorial! 😁 I've been working with Anaconda from the very beginning of my Python journey so it's about time I film a proper tutorial on it! 😅 hahahaha
I love how you explain what you're doing in your videos! It made me subscribe!
that was the best tutorial I've ever seen on how to install a platform! thank you very much.
I've been programming in another language for 10 year but I couldn't explain it better than you.
This video was great. Thanks soo much for creating this install video. Right on time!🤩
Thank you too. 😉 I really enjoy watching your videos.
Great video as usual. Thanks for the bonus Windows install instructions!
OMG I LOVE U! Just saved my whole life!!
that was very helpful and easy. love the time stamps and was just looking for windows part. thanks.
I found this channel ~10 minutes ago, this girl is a gem.
I Love Pygame, Thanks Sweetie For Giving Such a Hands On Tutorial To Working This Out ~ Love You and The Channel ~
@PythonSimplified
2 жыл бұрын
Thank you so much dear! 😁 I got lots of questions about Pygame installations so I thought I'll hit 2 birds with one stone 😉 BTW, you can still install it with newer version of Python, not just 2.7! you'll just need to know the specific Pygame version that is supported by your specific Python version which is not always an easy task! I find that the safest bet is to go for an older one as it's been heavily tested and it can be easily installed! 😊 Other versions are a bit more hustle, but they're still do-able!
Wow! I love listening to you! Thank you for the great tutorial.
Great video! Learned a lot, thank you so much!
I enjoy watching and learning your video. It's simple and well explained to understand and follow along. Love Linux Ubuntu as well... 🙂
Thanks to your excellent explanation, I was able to install Anaconda and run Jupyter, So ready to sail into the gorgeous world of Python.. 👏🥰🌹
Hi, nice video. Anaconda really is great but I think mamba and the mambaforge distro are also quite nice and deserve a mentioning here as they are also easy cross plattform, very lightweight and with the mamba environment management things are way faster, though you still need conda to activate the different environments.
Great video! Just like that SIMPLIFIED!! I really like it. Thanks.
Many new things I learn from your channel videos thank you mariya ✌️🤜🤛
@PythonSimplified
2 жыл бұрын
Thank you so much! I'm happy to help! 😁😁😁
When beautiful teacher teaches a subject My interest level -> ♾️ 🤩
Thank you! I use Ubuntu and I have been struggling with anaconda. I will try uninstall and install again. Already subscribed. Thank you Maryia.
Your video help me a lot to install my env with Conda and Visual Studio Code. I follow lessons from "Introduction to machine learning with python" book THANKS
That's awesome, I am new to Python and I tried pyenv but was facing so many issues. As a Mac user Conda worked outstanding. Thank you!
I've been using python for a few years, creating virtual env for my projects. But I was going through one of your Numpy tutorial and saw anaconda again and though maybe that might make things a bit easier. From watching this video I believe it will.
you and your tutorials are gold !! :)
You truly do simplify everything! Thank you (y) Please do how to set up VS code next for best layout/template & plugins/extensions to have
The BEST instructor on KZread
Thank you for this tutorial. It helps me to understand the Anaconda deeply. Best of luck 🎉
Thanks for the Linux demo, I needed it. Have a great day.
@PythonSimplified
11 ай бұрын
You're welcome! I'm actually returning to this tutorial evetime I get a fresh install (correctly running Kali) I can never remember the ~/.bashrc stuff 😅😅😅
@kvelez
11 ай бұрын
@@PythonSimplified hahaha, is always good to prepare tools in advance.
Great work. Thank you! Very helpful
Thank you This was very helpful and informative. Well done. Oh, I installed both Linux and windows versions. I found the windows versions slower but very feature rich. Cheers
Thank you. This is the best how to use Anaconda Python in Ubuntu video that I understand.
Thank you, this was very helpful.
As always you have the best content!. Keep going and I hope you fix the problem with the drivers ASAP, if you need any help let us know :).
@PythonSimplified
2 жыл бұрын
Thank you so much dear!! I was indeed about to post a "help me" short video but then I got a response from the original devs offering me some help with the set up! 😃 I'm gathering energies to deal with it as we speak! I had 3 days of troubleshooting where I ended in the same spot as I started... a clean installation of Ubuntu because I messed it up so bad that even the "boot options menu" wouldn't load! 🤣🤣🤣 It just really drives me crazy when I know that something can be done - but it still doesn't work!!! and there's not much info about my errors anywhere so I'm assuming it's because my laptop is very special hahahah Thanks again! 😊
As always this was very helpful!👍😃
@PythonSimplified
2 жыл бұрын
Yeeey! Thank you so much! 😊
Your video has answered all my questions
@PythonSimplified
2 ай бұрын
Yeyy!! Happy to hear! 😃
Mariya is a very good teacher! Excellent clear explanations. Several of your videos have been very useful to me.
@PythonSimplified
6 ай бұрын
Thank you so much, dear! Super happy to help!!! 😃
Thank you Mariya, your content is very helpful.
you can use the ``` conda update conda ``` command for updating conda rather than the command that terminal suggest, but you should move on to the base environment. thanks for your high-quality stuff :)
Thanks for another great tutorial!
@PythonSimplified
2 жыл бұрын
Thank you so much! super glad you liked it! 😁😁
Well done! This is a great video. You are really gifted at explaining concepts. Also, love the sloth shirt! My daughter was a sloth for Halloween 🎃
@PythonSimplified
2 жыл бұрын
Thank you so much Daniel! 😃 Definitley a great costume choice! (I was a "savage moose" this year 😁)
Thank you!! it was great simple video
Reminder set
Unique presentation. I m really enjoying your humorous yet technically accurate videos. Keep going
Wonderful tutorial. Thank you!
Oh I love you I finally figured out what the heck Anaconda was
Thanks Maam Loved your tutorial
What an excellent presentation and lecture.
this was really helpful. thank you
Really nice your explanation 🎉🎉🎉
Nice nice, i love it :) !
Thank you for the knowledge!
i swear i love your teaching and much more your personality. something about the face i think. i definitely will pass my machine learning now
This video is very helpful. Thank you.
you are the best python teacher ever
Oh, I have the same wallpaper that you have on your Windows Great video, thanks 👍
You are an amazing teacher!
So nice to see you again M! Really interesting video as always. and... also, did you watch Knotfest LA? did you like the new song?
Hello , cool video : very interesting and well explained (with extra charm ;)
Awesome! Thank you!
@PythonSimplified
2 жыл бұрын
Thank you so much! 😊
Great tutorial. Thanks!
OMG! I've being jumping from phyton, to VS, to Anaconda and I made mess! From now on I'm gonna stick to Conda. Thanks for this great video. Great tutorial.👏👍❤
This a great video. It helped me
@easydatascience2508
Жыл бұрын
You can try mine too. The channel has both Python and R tutorial playlists, and you can find link to source file in description of the video.
Thanks - I learned a lot.
greate video ! Thank you so much !
thx for getting to the point of how to make a virtual environment
Great video 😃👍 thank you
I like your videos, nice job.
thanks for your complete guide
Amazing tutorial!!!
the furniture illustration waz quite smart 😉
@PythonSimplified
2 жыл бұрын
Thank you so much! glad you liked it! 😃
F5/Enter + “Boom!”: The telltale sign of a genuine programmer.
great video ,very helpful..
Thank you for this information.
@PythonSimplified
2 жыл бұрын
Thank you tomarq! I'm happy to help!😊
Thanks for this video, sensei Mariya
Ma'am, you make good simple easy to understand content, Thanks ! *If possible please make a video on how to convert .py file to Linux .Deb executable*
Awesome!
great and clear explanation
2 thumbs up! Thanks!
Hi ! Great video I learned a lot of new things, could you deactivate the bell on the terminal, the sound is particularly sharp and loud with headphones :-)
Hi Maria, First of all, Thanks a lot 💗. Your Playlists made my career. Can you please make video on Regular expression?
That's great 👍! Thanks Mariya
@PythonSimplified
2 жыл бұрын
Thank you Lucas! Glad you liked it! 😃
Anaconda seems like the a solution to run projects in older python versions.
@PythonSimplified
2 жыл бұрын
Yup! it allows you to keep up with the new versions without compromising the projects you've built with the older ones 😃
Thanku so much👀✨
Thanks for the video! What's the benefit of using Anaconda compared to the built in Python venv or the virtualenv module?
@PythonSimplified
2 жыл бұрын
This is a great question, Phsopher! 😀 1. Conda is both a package manager (like pip) and an environment manager (like venv) so it already has a great benefit there! 😊 2. You don't have to worry about installing basic packages like Pandas and Numpy, as they are automatically installed by Anaconda. 3. Also, in my opinion - conda has simpler commands than venv and I find that it's really well maintained as opposed to PyPI which sometimes provides outdated installation commands. Other than that - there's not much difference! We can install Jupyter Notebook regardless of Anaconda with "pip install jupyter" and there's always an alternative for everything! I find it to be very convenient as I like being extra-organized, but it all comes down to personal preferences! 😉
Thanks very much I have learned a lot from this! Would you help me IRAF installation procedure also please?
Fine work as usual.
@PythonSimplified
2 жыл бұрын
Thank you so much! 😁
Now im learning anaconda Thanks mariya ❤️
Had a good laugh between 2:52 to 3:01! Awesome tutorial!
Very help thanks
Hi, WIll this instructions and examples in this series work OK in Win7? Thanks a lot! Blessings!
Thank you !
Thanks for the video.. Hi everyone, i want to correct something in this video. If your conda command not found after anaconda installation, simply change to root user by type sudo -s , then type source ~/.bashrc . the reason is source ~/.bashrc not working unless you are superuser/root