-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guide: Running Deviot with ST3 / ST4, PlatformIO 5, and Python 3.6+ #330
Comments
It looks to me like there are three instances in the above guide that make references to instructions that are not provided.
Can anyone fill in the blanks? Thanks. |
Oh, thanks for spotting that! |
It seems that it happens on Windows (or at least my PC) too. But after reinstalling Deviot following the guide a few times, suddenly my problem (#326) has been solved and I can see the board list now. Anyway, thank you for good instruction! |
Very welcome! I think you're right about the PATH stuff though....by chance I'm playing around with an RP2040 board at the moment which required installing the raspberrypi platform, and during that process I got what seemed to be an error. Long story short I tried to run Extra info maybe useful for future reference |
I actually just ran into this issue when upgrading one of my Windows machines from stable to dev version 2.3.0.dev13, too! |
OMG! after years, with this guide, I was able to get it working again. thx |
This writeup refers to itself in place of other links. |
Also, dev branch can be installed by simply adding link to GitHub repo in package control instead of the rawgit link. |
Fixed that, I had linked issue 330 instead of issue 337, sorry.
I'll take your word on that, I just figured using the process gepd wrote would keep the info more consistent. Wouldn't say one copy and pasting one link is more simple than another. |
On a fresh install of MacOS 13 with ST4 I tried to install Deviot. I installed platformio with homebrew like in this guide. Also I updated python3 to python3.12. I tried Deviot but I was still getting a popup for installing python2. I created a symlink I changed "python2" to "python3" in |
I don't use macOS day to day so I don't know why you might have needed those extra steps compared to my guide, but I guess it's ok if it works for you! Did you end up removing the python2 > python3 symlink or did you need to keep that in conjunction with the edits in tools.py? If you kept it, would that not potentially cause issues with other software if it needs python 2.x? Re "Is this enough?"...You could test some other features like the serial monitor or uploading to a board which doesn't use Serial for upload (like Teensy, if you have any), and see if you run into any issues. |
Your guide was working on my older MacOS installation where both python2 and python3 were installed. Now MacOS has only python3 installed. |
I installed it on a new Mac computer with OS X 15.0 and Sublime Text Build 4169. I found that editing This is what worked for me on my new installtion:
I used the third method and it seems to work. The only issue I have on my new installation is that the port list doesn't show the connected device. That could be an issue with the new computer which has only USB 3 input ports and the device is connected using a USB type C to type A adapter. I selected
|
Hi all,
Just figured I'd post this here as a solution to potentially many of your problems with running Deviot since PIO ended support for python 2.7/3.5 and lower. I've used these steps on ST3 and ST4 for Windows 10, and ST4 for macOS 11(.6)
For simplicity's sake, start from scratch
If you are on mac and have/had the dev branch installed, unfortunately I don't think it works with these instructions. If someone figures out a solution to that then let us know here! Removal is of course: Package Control > Remove Repository > https://rawgit.com/gepd/Deviot/master/repository.json(2022-01-09) I've figured out how to get the dev branch working now, see below in Optional and Guide: Fix Deviot menu & syntax highlighting missing #337 (this is required if you want to upload to boards which don't use Serial for upload)
pip uninstall platformio
in the terminal of course.Next step, Python
Then on to PlatformIO
macOS
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install platformio
Windows
Both
Finally, back in Sublime Text
Optional:
As I mentioned above, this seems to break the mac install such that the Deviot menu disappears even though Package Control says it's installed.Hope this all helps!
Edit 2021-12-19
It seems you might be able to remove pio from PATH after doing all this. QyuriLa (in post #issuecomment-996787420) and I (in the post after) both seem to have found PATH is not required...
The text was updated successfully, but these errors were encountered: