简体   繁体   中英

Install OpenLayer with npm install. Python

I know it was discussed few times. But I have no ideas how to fix it. I need install openlayer for my new project. I have downloaded Python and put it to C:\\Python34.

I also checked global variables:

在此处输入图片说明

So when I run

npm install openlayers --save

I get:

在此处输入图片说明

I even tried to set PYTHON and PYTHONPATH variables manually using:

Run "npm config set python path\to\python\python.exe"

What it could be about ?

On OpenLayers Browserify it states you should install with

npm install --save-dev openlayers browserify watchify uglify-js

That works without any issue on my Win8 PC.

我应该使用Python2.7而不是Python3.4

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM