GithubHelp home page GithubHelp logo

Comments (4)

donuty-party avatar donuty-party commented on May 25, 2024

Resolved, sort of, in 154eaa1. The coreJG branch is too far behind to merge easily.

from aestheta.

kevinkmcguigan avatar kevinkmcguigan commented on May 25, 2024

That should work! Now to implement it for loading a shapefile in the Zostera project!

from aestheta.

kevinkmcguigan avatar kevinkmcguigan commented on May 25, 2024

I've got to reopen this one as unfortunately google colab does not have shapefile as a built-in! (oh no!)
For the sake of this class (such as our tutorials and experiments) its really convenient to us that things work in colab.
I'll comment out the function for now so that it will run.
I think we can either explicitly pull the library OR we can get our package working properly wherein our requirements will be installed once we pip install our library from the git. https://packaging.python.org/tutorials/packaging-projects/

The sadness in colab:
`---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 import Aestheta.Library.core as core
2 core.getTile(show=True)

/content/Aestheta/Library/core.py in ()
13 import numpy as np
14 import requests
---> 15 import shapefile
16
17 from matplotlib import pyplot as plt

ModuleNotFoundError: No module named 'shapefile'


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------`

We'll figure it out! Sorry for all this.

from aestheta.

kevinkmcguigan avatar kevinkmcguigan commented on May 25, 2024

this has been resolved now that we have our package setup.

make sure to use !pip install git+https://github.com/NSCC-COGS/Aestheta.git to have external required packages installed

from aestheta.

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.