you need to install python3 on macOS otherwise it will not work with pecharm. I use pecharm and I really love it, Webstorm, IntelliJ and CLion. The IDE’s are really good.
the enchilada made my day definitely.
I installed Python 3.x to try to make PyCharm happy but I did that through the normal macOS instructions and probably PyCharm is looking for something else. Also the version of 3.x wasn’t quite current even at the time. I just went ahead and followed various instructions on JetBrains or in their docs (not sure anymore) and those didn’t work either. So probably it is just confused and needs a knowledgeable kick in the shins. I’ll get around to it.
Happy to oblige
On Catalina its python 2.7 that is found with
npalardy@Normans-MacBook-Pro ~ % which python
/usr/bin/python
npalardy@Normans-MacBook-Pro ~ % python -V
Python 2.7.16
npalardy@Normans-MacBook-Pro ~ %
and you have to specifically use python3 to get that
npalardy@Normans-MacBook-Pro ~ % which python3
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3
npalardy@Normans-MacBook-Pro ~ % python3 -V
Python 3.10.5
npalardy@Normans-MacBook-Pro ~ %
kind of a pain in the rear but …
The ‘which’ command is not found for me. Nor is python. python3 -V = 3.9.10. I’m on Monterey 12.5.1 and my terminal is zsh, if that matters. 2021 MBP with M1 and 32G RAM.
Maybe I should figure out how to alias python3 to python or something. Just not a priority today.
which is a very fundamental command used in terminal and I cant say I’ve ever NOT seen it present
my shell is also zsh - apple switched defaults to it many years back
possibly your path is hosed ?
palardy@Normans-MacBook-Pro ~ % echo $PATH
/Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/npalardy/Flutter/flutter/bin
all the /usr/local dirs should be in there or things wont work
davidsisemore@Mac-Studio ~ % which python
python not found
davidsisemore@Mac-Studio ~ % which python3
/usr/local/bin/python3
davidsisemore@Mac-Studio ~ % python3 -V
Python 3.9.0
davidsisemore@Mac-Studio ~ %
Monterery 12.6.1
which python3 = opt/homebrew/bin/python3 for me. The which utility is there, just was asking it for something that didn’t exist and didn’t properly read the message which was doubtless “python not found” rather than “which not found”
I was following supposedly correct macOS instructions for upgrading macOS from python 2 to 3, but obviously my python location isn’t the same as yours or Norm’s.
Why?
Why not just an app that looks and works the same on all platforms with no effort required by you?
Well I probably shouldn’t say that’s MY preference but if you’re targeting desktop or mobile, especially for macOS or IOS, many users have expectations of look and feel to be a certain fussy way. If you’re building something for internal use by a client it’s relatively easy to get them to sign off on identical UI on all targets, if you’re developing something to sell on the open market, I’ve seen “it isn’t true Mac look and feel” as a mark against such things in reviews.
On the other hand when it comes to web the expectations are different and less homogenous.
But what will probably annoy all desktop and mobile users is any sort of substantial app that they have to use much, that looks and acts like a web app. So I’m leery of both “create a web app and deploy it on other targets via a browser control” and “create something that’s pixel-identical on all targets”.
The Avalonia framework for .NET, for example, self-describes as “opinionated” in this regard to looking and working the same on all platforms, others either try for native look and feel per platform or are kind of ambivalent about it.
Then there is Xojo, where I hear you can get everything perfect developing for macOS and when targeting Linux, you may have controls overlapping or colliding, so it’s got a native GtK look but you have to futz with it so it doesn’t look slovenly or weird, just the same.
Replace “Users” with “Programmers” and I would agree.
I think the goal should always be to have the same experience across platforms. This is what good web designers strive for. What frustrates most users is when their desktop experience is different than mobile. I personally go back and forth between different desktop platforms and mobile and hate it when things are done differently on one than the other.
I think VS code is a great example of how things should be, (same across platforms) and that’s done in Electron, a web app.
IDK maybe users really don’t give a fig anymore. It’s possible things have changed. In my paying day job I do have to support a couple of grandmas with almost no PC literacy who after a decade of tutorials still don’t understand how the web app we provide works, they are always putting things in the wrong month and wondering why they can’t find it for example. And I’ve been to their office … they cut their teeth on an old AS-400 in the back room and their desktops are Windows 7 and I can only imagine their brains splattering all over the walls if they were upgraded to Windows 10 or 11. So that tends to color my expectation of user perceptions
VSCode is one of those apps I love & hate at the same time
Love because its pretty robust, flexible & extensible
Hate because it doesnt behave like a native app should in so many ways (short cuts are screwy, selecting text it not correct but its consistent, etc) so anything I’ve come to just do by muscle memory may work as expected. Or not
The consitent behavior on all platforms makes it possible for all users using a Software without changes between the platforms. And: cause it work on all platforms the same it is no problem. User documentation for all platforms is less complex to do cause you’ll have ONE documentation and not three. I have the same with Java. It makes sense from the point also for the users cause they have consistently always the same ui interface and they can rely on the UI functionality on all platforms. It makes sense. Ans: as younger the users as more the are not interested in native. ASK ME WHY I DUNNO.
Spoken like a true programmer.
AND OTHEr PROGRAMMERS ARE NOT TRUE PROGRAMMERS???
What is ‘sonsitency’? Couldn’t find it in the dictionary.
I mean that it doesnt behave consistently with expectations developed over the last 30 years of using a Mac
It behaves like a Windows app on a Mac which is jarring
Could I “get used to it” ? sure
But why should I need to ?
Simple stuff like advancing the selection point
On a Mac there are lots of different kbd shortcuts for this (by word, by sentence, etc)
But I have to remap them in VS because its got them mostly set to be Windows styles (home & end keys and page up page down)
THAT kind of stuff is annoying as hell
And its true in consumer apps like LibreOffice as well
Thats not what he meant
I’m sure of that
its more a diss of me being fussy about how things behave
Kind of like saying “only a programmer would care about this”
Which I can say I do know just normal users who this matters to because they work on macOS & Windows day in day out
Drives my wife crazy because she works 8 hours a day on a Windows PC then uses her Mac at night and things that exist as a cmd+opt+shift+ key on a Mac are something completely different or have no short cut at all on Windows