So I've finally gotten into Python programming a few months back. Still in the Beginner/Novice category. Had a blast finding Anaconda Navigator, until I switched from the x32 version to the x64 version. That's when everything came crashing down. But first, a little background history on my journey.
Back in 2010/11 I d/l a folder containing .pdfs and other text docs of programming languages, largely because there were Python programming books in it. I sat on that folder for years, every once in a while poking my head in and then running away. Since I've been home-bound due to the pandemic and and having a child, I figured it was about time I did something with it.
I opened up that Python for Dummies book from 2006 (that'd be Python 2.5) and figured I'd go through it and highlight it like a textbook, even though it was so old by this point, it'd give me a foundation to work from. After going through it from cover to Appendix A, I went back and started to write down all the highlighted sections into a notebook. At some point I found a website (www.pdfdrive.com) and discovered free pdf files of more recent books on Python programming (as recent as 2019). I grabbed a copy of Python All-In-One for Dummies.
After finishing the older version I jumped into the newer one. The new book, aside from dealing with a more current version of Python (3.7), it covered topics the earlier one didn't; topics like Machine Learning/AI, Raspberry Pi, Robotics... It was pretty awesome to find. It's also divided up into 7 "books".
The first book was kinda boring, much like the first chapter or two of the older book. Basically rehashing some of the basic concepts of beginning Python programming. One huge difference was that, instead of using whatever version of Python directly and IDLE, it used a GUI called Anaconda Navigator, as well as VS Code. Navigator would install the most current version of Python within it, as well as some other useful packages like Spyder, a CMD.prompt and Powershell Utility, JupyterLab & Notebook and others.
Everything worked like a charm . Until I got to book 4, Machine learning & AI. That's where I started to run into issues with the x32 version I had. So I "tried" to uninstall everything and install the x64 version. Things went from frustrating to "Oh My God! Lord Kthulu couldn't have come up with shit like this!" Yeah, it was that bad.
Packages won't install and either won't give a reason, return a meaningless reason (ie., returns a basic example reason, not specific to the cause), or UnsatisfiableError/incompatible errors. It took over a week to give up trying to figure out why the Navigator base(root) environment was looking for a subfolder "anaconda3" that never existed, and just created it. I thought that that would fix everything, but it just created a lesser workaround environment, anaconda3.
I managed to get TensorFlow/Keras to install to run the Neural Network example, not before getting it to run from Jupyter Notebook, but now I'm having a compatibility issue with Seaborn and tensorflow.examples.tutorials.mnist in VS Code. It's enough to make me go native and just command line everything. So that's where I'm at now.
Part of what got me into all this was finding a podcast called Darknet Diaries. Absolutely fascinating. Definitely check it out. Another one worth mentioning is Malicious Life. All the ones I've been listening to revolve around the world of hacking. Awesome background storytelling while doing dishes, walking the dog, drowning out the outside world.
So, from now on, I'm going to have this opened while I'm sitting here trying to learn Python so I can kvetch about the issues I'm running into and if I'm able to solve them. Any help is always greatly appreciated.
Back in 2010/11 I d/l a folder containing .pdfs and other text docs of programming languages, largely because there were Python programming books in it. I sat on that folder for years, every once in a while poking my head in and then running away. Since I've been home-bound due to the pandemic and and having a child, I figured it was about time I did something with it.
I opened up that Python for Dummies book from 2006 (that'd be Python 2.5) and figured I'd go through it and highlight it like a textbook, even though it was so old by this point, it'd give me a foundation to work from. After going through it from cover to Appendix A, I went back and started to write down all the highlighted sections into a notebook. At some point I found a website (www.pdfdrive.com) and discovered free pdf files of more recent books on Python programming (as recent as 2019). I grabbed a copy of Python All-In-One for Dummies.
After finishing the older version I jumped into the newer one. The new book, aside from dealing with a more current version of Python (3.7), it covered topics the earlier one didn't; topics like Machine Learning/AI, Raspberry Pi, Robotics... It was pretty awesome to find. It's also divided up into 7 "books".
The first book was kinda boring, much like the first chapter or two of the older book. Basically rehashing some of the basic concepts of beginning Python programming. One huge difference was that, instead of using whatever version of Python directly and IDLE, it used a GUI called Anaconda Navigator, as well as VS Code. Navigator would install the most current version of Python within it, as well as some other useful packages like Spyder, a CMD.prompt and Powershell Utility, JupyterLab & Notebook and others.
Everything worked like a charm . Until I got to book 4, Machine learning & AI. That's where I started to run into issues with the x32 version I had. So I "tried" to uninstall everything and install the x64 version. Things went from frustrating to "Oh My God! Lord Kthulu couldn't have come up with shit like this!" Yeah, it was that bad.
Packages won't install and either won't give a reason, return a meaningless reason (ie., returns a basic example reason, not specific to the cause), or UnsatisfiableError/incompatible errors. It took over a week to give up trying to figure out why the Navigator base(root) environment was looking for a subfolder "anaconda3" that never existed, and just created it. I thought that that would fix everything, but it just created a lesser workaround environment, anaconda3.
I managed to get TensorFlow/Keras to install to run the Neural Network example, not before getting it to run from Jupyter Notebook, but now I'm having a compatibility issue with Seaborn and tensorflow.examples.tutorials.mnist in VS Code. It's enough to make me go native and just command line everything. So that's where I'm at now.
Part of what got me into all this was finding a podcast called Darknet Diaries. Absolutely fascinating. Definitely check it out. Another one worth mentioning is Malicious Life. All the ones I've been listening to revolve around the world of hacking. Awesome background storytelling while doing dishes, walking the dog, drowning out the outside world.
So, from now on, I'm going to have this opened while I'm sitting here trying to learn Python so I can kvetch about the issues I'm running into and if I'm able to solve them. Any help is always greatly appreciated.