Comments (9)
@soodoku
agree that the model package becomes pretty big due to the example data shipped along with the code.
i have now split the model code and the example data in bc78ac5. the latter can be downloaded now from zenodo (https://zenodo.org/record/4297295).
from copro.
@soodoku
alright, did not know it was not possible as i work with a consule emulator (cmder) on Win.
have updatedthe documentation in 919f396.
it is not instructed to use pip install -e
instead, whcih is equivalent to python setup.py develop
.
from copro.
thanks, boss
from copro.
latest =
RROR: Command errored out with exit status 1:
command: 'c:\programdata\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'E:\\github\\copro\\setup.py'"'"'; __file__='"'"'E:\\github\\copro\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\soodoku\AppData\Local\Temp\pip-pip-egg-info-khbaz47w'
cwd: E:\github\copro\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "E:\github\copro\setup.py", line 5, in <module>
from setuptools import setup, find_packages
ImportError: cannot import name 'setup'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
from copro.
if i type
python copro_runner.py --help
i get
python: can't open file 'copro_runner.py': [Errno 2] No such file or directory
from copro.
aight. debugged the first with the help of @suriyan.
you need to ask people to run the following:
pip3 install --upgrade pip setuptools
this was not mentioned in the installation directions
INFO:root:Building on Windows requires extra options to setup.py to locate needed GDAL files. More information is available in the README.
error: Setup script exited with ERROR: A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
from copro.
hi @soodoku, thanks for your feedback, but I am not sure if I correctly get what you mean.
python copro_runner.py --help
will only work if you are in the scripts-directory.
Why would I need to update setuptools before?
And where does the GDAL INFO/ERROR originate from? Is this related to setuptools or installing copro?
Thanks for claryfining.
from copro.
by the way, in 6be4352 I have added a bash-script that downloads the example data from Zenodo. this way it should be relatively straightforward to run the CoPro examples. let me know if this works.
from copro.
hi @soodoku
i have revamped the model quite a bit in #106.
you can now run CoPro with an executable. To see the documentation, try this.
copro_runner --help
.
i have also added the debug-info to update setuptools if required.
hope it also works for you :)
from copro.
Related Issues (20)
- add post-processing HOT 1
- joss/editing HOT 9
- reproducibility --- JOSS HOT 1
- more click scripts via setuptools HOT 1
- add conflict at t-1 as sample data HOT 5
- log transform data HOT 1
- change ln of conflicts counts HOT 1
- restructure output folders HOT 1
- v0.0.8: adapt command line script HOT 1
- v0.0.8: update documentation
- v0.0.8: update example data
- keep scaler identical HOT 3
- BUG: folder name per clf in PROJ HOT 1
- test setting of output directory via command line
- not creating conflict file at last tstep
- compatible with migration tif-file files as input HOT 2
- Is it possible to also include cell with negative out migration (=in migration)?
- define output files HOT 1
- add feature importance HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from copro.