You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above command installs Python 2.7 in `%USERPROFILE%\.windows-build-tools\python27` and other VS libraries. Everything should be set and should not cause any conflict with the previously-installed Python environment.
175
175
176
+
Also download VC 2010 runtime from [here](https://www.microsoft.com/en-us/download/details.aspx?id=14632) due to a [bug](https://github.com/JustinTulloss/zeromq.node/issues/582).
177
+
176
178
Then set the `npm`[for Electron](https://github.com/electron/electron/blob/master/docs/tutorial/using-native-node-modules.md), and install the required libraries.
177
179
180
+
On Linux / OS X:
181
+
178
182
```bash
179
183
# env
180
184
export npm_config_target=1.4.15 # electron version
@@ -189,6 +193,30 @@ npm config ls
189
193
rm -rf ~/.node-gyp
190
194
rm -rf ~/.electron-gyp
191
195
rm -rf ./node_modules
196
+
```
197
+
198
+
On Windows PowerShell, set environement variables in [different way](http://stackoverflow.com/questions/714877/setting-windows-powershell-path-variable):
199
+
200
+
```powershell
201
+
$env:npm_config_target="1.4.15" # electron version
0 commit comments