Page 1 of 1

install pyGlobalPlatform

Posted: Mon Mar 06, 2017 1:58 am
by Sajaki
I have a problem on pyGlobalPlatform. I tried to install pyGlobalPlatform, but it always failed. Here is the error info

Please set environment variable GLOBALPLATFORM_ROOT to specify the root of library GlobalPlatform.


Has anyone encountered this error? What operation caused this error? many thanks.

Re: install pyGlobalPlatform

Posted: Mon Mar 06, 2017 4:20 am
by mabel
You should set GlobalPlatform dir as Environment variable:

Code: Select all

    set GLOBALPLATFORM_ROOT=<path-to-globalplatform>
    python setup.py install

Re: install pyGlobalPlatform

Posted: Mon Mar 06, 2017 6:02 am
by Sajaki
Thanks for your answer. I did as you said, now it returns "Unable to find vcvartall.bat". Does that mean I should install Visual Studio ?

Re: install pyGlobalPlatform

Posted: Mon Mar 06, 2017 6:11 am
by mabel
Sajaki wrote:Thanks for your answer. I did as you said, now it returns "Unable to find vcvartall.bat". Does that mean I should install Visual Studio ?


Yes, you need to install Visual Studio first.