Christmas is coming!

To celebrate the new year and thank for the support from all our dear customers, Christmas promotional activity is being held in JavaCardOS online store.

During the event, you can enjoy many promotional activities - High Discount on JavaCardOS products,Lucky Draw,Double forum Points.

Come to choose your own Christmas gift and try your luck now!

install pyGlobalPlatform

pyGlobalPlatform is a open source python library of globalplatform client library.
Sajaki
Posts: 11
Joined: Tue Jan 05, 2016 4:51 am
Points: 106
Contact:

install pyGlobalPlatform

Postby Sajaki » Mon Mar 06, 2017 1:58 am

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.

User avatar
mabel
Posts: 217
Joined: Mon May 18, 2015 3:09 am
Points: 1467
Contact:

Re: install pyGlobalPlatform

Postby mabel » Mon Mar 06, 2017 4:20 am

You should set GlobalPlatform dir as Environment variable:

Code: Select all

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

Sajaki
Posts: 11
Joined: Tue Jan 05, 2016 4:51 am
Points: 106
Contact:

Re: install pyGlobalPlatform

Postby Sajaki » Mon Mar 06, 2017 6:02 am

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 ?

User avatar
mabel
Posts: 217
Joined: Mon May 18, 2015 3:09 am
Points: 1467
Contact:

Re: install pyGlobalPlatform

Postby mabel » Mon Mar 06, 2017 6:11 am

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.


Return to “pyGlobalPlatform”

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer