Comments (25)
Hey @pelikhan . I'm pleased to hear from you 😄
- Is
powershell
installed by default on the Windows platforms? - Can you recommend me someone who can help me to create "Chocolatey"-based package for PlatformIO? Because I have a few interesting ideas for PlatformIO and I want to implement them in this year 😸
- Do you use PlatformIO in your project? Or only for a self purpose?
I've not expected that PlatformIO will be interested for the Windows users. Today, the 40% of PlatformIO are Windows users 😄
I don't know why they love command-line way of PlatformIO. So, I decided to spend more time for the Windows platforms. The main problem is Python
:( It isn't installed by default in Windows OS. Will be a great, if PlatformIO has own native Windows installer, like Python Installer.msi
.
What do you think?
from platformio-core.
Here is the complete complete powershell command to install platformio in a single line:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "((new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/ivankravets/platformio/master/scripts/get-platformio.py','get-platformio.py'));(New-Object -com Shell.Application).ShellExecute('python', 'get-platformio.py')"
from platformio-core.
- Powershell is available in XP and older so consider it supported.
- Afraid i can't help you. The nuspec format is fairly easy to go through though.
- Yes! We use platformio with TouchDevelop to build Arduino scripts. See https://www.touchdevelop.com/app/beta#list:topics:topic:gettingstartedwitharduino:overview
In terms of packaging, i would stay away from installers - choco is the way to go for this kind of tools.
from platformio-core.
Yesterday, the getplatformio.python script failed on a machine on the fix path step. It simply got stuck. Why do you need this step?
from platformio-core.
- It doesn't available by default. User should install it with .NET Framework. http://en.wikipedia.org/wiki/Windows_PowerShell
- It's OK 😄
- Thanks a lot!!! It is the best gift for me 👍
I've just made a few corrections to docs. How I can merge my changes with the original? - I want to create a separated page on the PlatformIO site like "Who uses PlatformIO?". Can I put the information about TouchDevelop project on this page?
from platformio-core.
Yesterday, the getplatformio.python script failed on a machine on the fix path step. It simply got stuck.
How I can reproduce it? I want to fix it.
Why do you need this step?
A Python-Installer will install Python to C:\Python27\
by default. The python.exe
isn't visible from cmd.exe
without C:\Python27\
in the $PATH
environment. Then, the platformio.exe
will be installed to C:\Python27\Scripts
folder by pip
packages manager.
The get-platformio.py
auto-installer script will add all of these dirs to $PATH
env automatically. See Full Installation Guide.
from platformio-core.
- I believe it is built-in starting with Windows Vista.
- In the publish dialog, check the send pull request checkbox. If you don't see this option, go to the hub and select the expert skill.
from platformio-core.
There is no easy repro but for sure it will fail in weird cases. IT administration can create an infinite amount of different configurations.
The biggest problem of platform is that it is hard to install in a restricted environment like schools: no command prompt, strict enforcement of security rules, daemons monitoring variables, etc...
Arduino IDE provides a xcopy deployment which makes it much easier.
This is a hard problem and might be beyond the scope of platformup BUT a installation process that does not require any system wide changes would help.
from platformio-core.
The biggest problem of platform is that it is hard to install
Yes, you are right. I received a lot of feedbacks about installation process. Windows users don't like it :( For Unix systems is easy to perform single command and PlatformIO will be installed automatically. I will work on it. I have a good news - I will have more "working hours" for PlatformIO in the new year 👍
I'm happy that PlatformIO is interesting for people and huge companies/manufactories. I see a big future of PlatformIO and SmartAnthill.
Thanks a lot for your ideas, issues and the nice discussions 😊
Marry Christmas 🎄
from platformio-core.
When I triedo ino, easy_install worked quite well. I am really not a fan of the "download a python script and run it to install my tool". It means you are probably messino around with my machine.
from platformio-core.
When I triedo ino, easy_install worked quite well. I am really not a fan of the "download a python script and run it to install my tool". It means you are probably messino around with my machine.
You can also use pip
for PlatformIO:
$ pip install platformio && pip install --egg scons
By default, pip
isn't available in standard Python 2.7 distribution.
The get-platformio.py script doesn't depend on any Python libs. It will install pip
if it isn't available, and then platformio
+ SCons
. This script is useful for Windows OS.
from platformio-core.
Unfortunately, the script fails on some Windows machine and I don't why precisely. It fails when trying to update the path.
from platformio-core.
Out of curiosity, why does scon need the --egg option?
from platformio-core.
Out of curiosity, why does scon need the --egg option?
SCons doesn't support pip
yet :( See discussion:
https://bitbucket.org/scons/scons/pull-request/113/fix-for-bug-2769-which-should-allow-scons
from platformio-core.
Unfortunately, the script fails on some Windows machine and I don't why precisely. It fails when trying to update the path.
Can you give me a traceback?
from platformio-core.
No access to that machine anymore unfortunately.
from platformio-core.
I had the hang on updating paths on my work laptop earlier which may have some restrictions though I have full administrator privileges and was able to update $PATH manually.
Ivan,
I can get anything you need from that machine of you let me know what and how
from platformio-core.
@dave93cab Have you tried to run cmd
with Administrative privileges?
from platformio-core.
Hi Ivan,
When I installed platformio and the script ran I just updated the PATH manually and installed with pip. It was only that I saw this issue I commented and I just tried the script on this laptop again, running cmd with administrator privileges and it hangs on the path step..
Let me know if theres anything I can give you to diagnose if you want or have time to :)
from platformio-core.
Does pip
work for you? If yes, just install PlatformIO via:
pip install platformio
pip install --egg http://sourceforge.net/projects/scons/files/latest/download
from platformio-core.
I got it installed fine, I just wanted to let you know that the issue @pelikhan reported with the script is not isolated to him only :)
from platformio-core.
@dave93cab I got you! Sorry.
@valeros Please contact with @dave93cab and try to reproduce this error #36 (comment)
from platformio-core.
@platformio 2.3.0 has been released with simplified installation procedure. Just single command:
# please upgrade pip & setuptools before
pip install -U pip setuptools
# now install/upgrade PlatformIO to the latest version
pip install -U platformio
No additional steps, no special installation scripts! Just one command! 👍
If you still have problems with PlatformIO installation, please reopen this issue.
from platformio-core.
Hi @pelikhan
That command doesn't works to me:
@PowerShell -NoProfile -ExecutionPolicy unrestricted -Command "((new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/ivankravets/platformio/master/scripts/get-platformio.py','get-platformio.py'));(New-Object -com Shell.Application).ShellExecute('python', 'get-platformio.py')"
Can you help me? Because I tried install platformio core using the script in windows 10 x64, althought failed. The picture below:
from platformio-core.
@kalineBr something is wrong with SSL certificates.
Please provide an output from system Terminal cmd
echo %PATH%
echo %PYTHONPATH%
python --version
pip --version
pip list
from platformio-core.
Related Issues (20)
- Feature Request: Support RealTek Ameba AMB82-Mini board (RTL8735BDM) HOT 1
- In the results of the test, different file names are displayed. HOT 3
- NameError: name 'includes' is not defined while updating metadata for VSCode IDE HOT 10
- LDF that picks wrong library version. HOT 2
- Can't build firmware on command line if I specify other targets HOT 2
- Add Sparkfun Thing Plus Matter - MGM240P support
- Feature request for support resuming downloads
- Addition of new boards of Texas Instruments especially TMDXRM57LHDK , RM57L843 and C6000 family HOT 3
- Cppcheck does not work on Windows... HOT 1
- PlatformIO wont read the ROBON NANO V3.1 board ( It wont read or acknowledge the board. its like there is no support for the M4 . HOT 1
- Update Unity framework to v2.6.0
- Platform.io detecting wrong platform on Windows HOT 3
- Creating projects taking very long or not creating at all HOT 2
- [BUG] PlatformIO Registry links to nonexistent release notes HOT 2
- Add Arduino Giga R1 HOT 1
- An error is reported for a dependency imported from Platform HOT 1
- Provide standard `PIO*` and `PLATFORMIO_*` environment variables when running test command HOT 1
- Option to delete intermediate output when running tests (and use less storage for CI builds in general)
- Can't have configuration sections that are empty in 6.1.6+ HOT 7
- PIO Core 6.1.14 Issue compiling with EspAsyncWebServer HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platformio-core.