Giter VIP home page Giter VIP logo

Comments (9)

JannisHoch avatar JannisHoch commented on July 4, 2024

@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.

JannisHoch avatar JannisHoch commented on July 4, 2024

@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.

soodoku avatar soodoku commented on July 4, 2024

thanks, boss

from copro.

soodoku avatar soodoku commented on July 4, 2024

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.

soodoku avatar soodoku commented on July 4, 2024

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.

soodoku avatar soodoku commented on July 4, 2024

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.

JannisHoch avatar JannisHoch commented on July 4, 2024

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.

JannisHoch avatar JannisHoch commented on July 4, 2024

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.

JannisHoch avatar JannisHoch commented on July 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.