Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Python is (in some ways) a total mess! How should I plan to go from here?

Status
Not open for further replies.

michaelwoodcoc

Automotive
Jun 29, 2017
172
so I'm learning python and enjoying it for the most part. But holy cow! If you want to use python 3.8 this other thing you installed 6 months ago is not compatible yet. If you want to use this module, which hid dependent somehow on this other module, well, both modules have to match, and be compatible with the python version you are using,

solutions proposed to my problems include making like virtual machines, whatever. When you want to use all of these different pre made stuff with Python, it seems to get messy.

Writing from scratch? Easy peasy.

I think I spent hours last night downgrading this, upgrading that, movind DLL's, etc. etc. to get to make an EXE, then, to be able to use said EXE because for whatever reason pyinstaller didn't package everything I needed.

It seems slightly unfortunate.

It still seems much easier than some other programming languages though but holy cow, upgrading one thing can throw a wrench in your spokes

Engineering student. Electrical or mechanical, I can't decide!
Minoring in psychology
 
Replies continue below

Recommended for you

Forgot to mention that then I could not distribute my EXE without scaring people. Google drive thought it was a virus, and would not let you download it as part of the zip folder. Then, you have to download it separately and confirm you want to download it!

I'm writing software that is intended to also be used by our older generation. Like, how on earth are they going to manage to do all of the stuff that I need them to do without having a heart attack that I'm infecting their computer with a virus?

I have a lot to learn, I think it must be because the exe is not digitally signed or something.

My antivirus also thinks it's a virus for 10 seconds and lets it run in a "sandbox", but then it says "sorry for the wait, all clear!"



Engineering student. Electrical or mechanical, I can't decide!
Minoring in psychology
 
I switched to C# since I mostly use Windows anyway, but that is just me.
 
Yeah changing versions is a pain, you need to install all package again under the new version as far as I can see which isn't particularly user friendly. Bit of a pain if you're missing random things amd cannot figure out what is missing.

Had a few things not work between 3.7 and 3.8, had to go back to the source repository in some cases vs using packaged version as maintainers hadn't been keeping up with things.

 
Hi Guys

In general I only use python for personal projects such as building games or messing around.

For proper work I prefer using something like Octave as it is far more stable and reliable, the community using Octave is also very strong and they strive to compete with Matlab.

Myself and a colleague, have had a number of issues in the past when we upgrade packages or versions of python and our code has completely stopped working due to the interfacing with various packages or just elements of a single package that have changed. This does become a huge problem when you have developed a massive piece of code...

Not sure if this adds value to anyone but it something to considering when coding for work purposes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor