-
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
python2 and platformio not recognized (Arch Linux) #64
Comments
Hi @Jakeler, Deviot checks if PlatformIO is installed in the machine before to procced with the new install, I'll check again the default paths to see if that is the problem |
Yes, that is right and |
Let's make some test
self.python = os.path.join(self.env_bin_dir, 'python2')
self.python = os.path.join(env_bin_dir, 'python2') After this, Deviot should always use To the second issue:
default_path = ["/usr/bin", "/usr/local/bin", "/usr/bin/env"] Remove the folder Let me know if that fixes works as I explained. If it does I'll add some new options to the next release. |
That did not fix it unfortunately, i still get the same popup... Also the 2. issue (with the changed symlink). btw, wouldn't it be easier if you put these experimental changes just into a other branch? (so you don't have to explain what i have to edit) |
Let's use this branch to do our test: https://github.com/gepd/Deviot/tree/newpython Download and test it again |
Okay, i fiddled around a while with this and i am still a bit confused what Sublime/Package Control does. It seems that you can't just change files (changes nothing, even with a restart), then there was a But the issue with platformio is still present. |
I don't know why did you have problem, you can replace the files manually, I've do it without problem in some of my VMs But that is a progress. I'll check again why isn't recognizing platformio previously installed. |
Please, Install |
|
Excellent, I still have to tune some things. I'll let you know when it's complete, but meanwhile you can use that version |
Is this implemented in I got the Thanks! |
I still not release the new version with this feature, but it's in the The reference to the symlink in the install file in case you need it |
Any chance this can be pulled into master an released via Package Control? I think it is fairly common these days to have python2.7 and python3 installed, therefore encountering this issue. |
After some time away from this repository, I'm back to work in this issues, I hope to have all that features merge any time soon. |
I've improved this feature in the in the last version of the plugin, it's not released yet but you can help me to test it, more information here: #117 |
"Deviot needs python2.7" popups all the time, although i have
python2
+python2.7
installed and in the PATH... but Deviot searches only forpython
, which is linked topython3.5
on Arch. It works when i change this symlink to 2.7 (no permanent solution, breaks a lot other stuff).After that Deviot says "PlatformIO is not installed" and downloads everything. Even though i also had
platformio
andpio
already installed in /usr/bin.The text was updated successfully, but these errors were encountered: