Skip to content
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

Installing on Windows with Python 2 and 3 #159

Closed
suyashb95 opened this issue Sep 2, 2017 · 6 comments
Closed

Installing on Windows with Python 2 and 3 #159

suyashb95 opened this issue Sep 2, 2017 · 6 comments

Comments

@suyashb95
Copy link

suyashb95 commented Sep 2, 2017

Thank you for this package, it's been really helpful!

Operating System

Windows 10

Description of problem

I have Python 2 installed, but it's not in the system path because Python 3 is the default interpreter. Is there any way Deviot can detect the Python 2 installation?

@gepd
Copy link
Owner

gepd commented Sep 2, 2017

Where is located your Python2?
It's usually installed in C:\Python27 it's your case?

@suyashb95
Copy link
Author

I've installed Python 2 on a different drive, the path looks like D:\Software\Python27

@gepd
Copy link
Owner

gepd commented Sep 3, 2017

Please try this:

Open the file: pio_install.py locate in Packages/Deviot/beginning/ and replace the line 381 by this:

default_path = ["C:\Python27\\", "C:\Python27\Scripts", "D:\Software\Python27\", "D:\Software\Python27\Scripts"]

Restart Sublime and let me know if that work

@suyashb95
Copy link
Author

It works now, I get a message saying PlatformIO is installed.
Can I use Deviot now? Or do I have to change directories elsewhere too?

Thank You!

@gepd
Copy link
Owner

gepd commented Sep 3, 2017

You should be able to use Deviot now, but if you find any problem post it here to fix it!

@suyashb95
Copy link
Author

Great, thanks again! I'll close this for now.

gepd added a commit that referenced this issue Sep 17, 2017
…s for the cases where python is installed in non standard path (Issue: #159)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants