How do I straighten up Python setup on macOS

How do I straighten up Python setup on macOS

RubyRedRick
Enthusiast Enthusiast
327 Views
0 Replies
Message 1 of 1

How do I straighten up Python setup on macOS

RubyRedRick
Enthusiast
Enthusiast
I'm starting to make some progress writing an add-in, but I seem to have something badly wrong with the installation of python between Fusion, VS Code and platform IO. I'm seeing complaints in VS Code about not having python for Platform.io, but running scripts and extensions seemed to be working until just now.  Now I just created. a new script and when I run it it says it can't find the adsk module.
Screen Shot 2022-02-14 at 3.37.12 PM.png
Note that PlatformIO installer seems to be hung installing PlatformIO.core
 
I don't know if platformIO is needed for Fusion, but I also develop Arduino code in VS code, including Marlin for my 3d printer.  That WAS working, but I haven't tried to update Marlin for a while.
 
I seem to have quite a few Pythons installed typing python in terminal and hitting code shows:
% python
python            python2           python2.7-config  pythonw           
python-config     python2.7         python3           pythonw2.7        
 
All of these are in /usr/bin
% which python
/usr/bin/python
% ls /usr/bin/py* 
/usr/bin/pydoc /usr/bin/python2 /usr/bin/pythonw
/usr/bin/pydoc2.7 /usr/bin/python2.7 /usr/bin/pythonw2.7
/usr/bin/python /usr/bin/python2.7-config
/usr/bin/python-config /usr/bin/python3
 
Personally I like to use Homebrew to install development tools.
 
Any advice on how to straighten this all out.

 

0 Likes
328 Views
0 Replies
Replies (0)