Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python path to configuration #103

Merged
merged 1 commit into from
Dec 19, 2014
Merged

Add python path to configuration #103

merged 1 commit into from
Dec 19, 2014

Conversation

bmoregeo
Copy link
Contributor

Good Morning,

I tried installing koop but received an error about not having a python system variable. I'm not sure if this is just windows, but you might want to add it to the Readme.

@chelm
Copy link
Contributor

chelm commented Nov 14, 2014

Interesting. Do you have any info on what module was requiring python? In theory we should not need this.

@bmoregeo
Copy link
Contributor Author

Yeah, I was really confused why node was trying to install stuff with python.

It looks like the node-gyp module requires python. https://github.com/TooTallNate/node-gyp

@chelm
Copy link
Contributor

chelm commented Nov 14, 2014

Okay I see. So since I have you here... :) Could you try doing this before you run npm install on Windows?

npm config set python /path/to/executable/python

it's not realy any different but seems like it'd be a bit cleaner, though im not (part of it is that Im curious)

@bmoregeo
Copy link
Contributor Author

yeah no dice. I think setting python as a system variable is probably the best shot.

set python=C:\Python27\ArcGIS10.2\python.exe 

appears to work, but then I get caught up on some other fun 64bit node window stuff. I'll play around some more with it and let you know what I dig up.

@chelm
Copy link
Contributor

chelm commented Dec 19, 2014

sorry this sat here so long, I totally missed it.

chelm added a commit that referenced this pull request Dec 19, 2014
Add python path to configuration
@chelm chelm merged commit 08632ff into koopjs:master Dec 19, 2014
@chelm
Copy link
Contributor

chelm commented Jan 9, 2015

Hey @bmoregeo any luck with koop on windows? the whole code base changed so the install process might be different. Though the modules are all the same. Would love to see if this will work on windows.

rgwozdz added a commit that referenced this pull request Sep 21, 2022
* Added ability to set field `length` property from provider metadata.
Add warning if provider set field-metadata does not match feature properties.
Refactored `field/index.js` to improve readability and implement code reuse.
Move type detection functions to utils.

* Remove detect-types file now that functions have been move to utils.js

* Add to changelog.

* Add test for metadata-defined field length.

* Remove OBJECTID warning (moved to winnow).  Added additional ESRI types to those supported in metadata's definition of fields.

* Update changelog.

* Remove `esrifieldtype` prefix from type mapping.

* Adjust type map test.

* Remove duplicated shoulds from test.
rgwozdz pushed a commit that referenced this pull request Oct 7, 2022
Add python path to configuration
rgwozdz pushed a commit that referenced this pull request Oct 7, 2022
* update dependencies

* add pre-commit hook

* update travis config

* update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants