Comments (4)
Instead of a screenshot can you paste the traceback between 3 backtics?
from geosnap.
Sure, sorry about that:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
~\AppData\Local\Continuum\anaconda3\lib\site-packages\quilt\nodes.py in __getattr__(self, name)
97 try:
---> 98 return self[name]
99 except KeyError:
~\AppData\Local\Continuum\anaconda3\lib\site-packages\quilt\nodes.py in __getitem__(self, name)
128 def __getitem__(self, name):
--> 129 return self._children[name]
130
KeyError: 'states'
During handling of the above exception, another exception occurred:
AttributeError Traceback (most recent call last)
<ipython-input-1-ff6b1fcf64ae> in <module>()
----> 1 import geosnap
~\Desktop\geosnap\geosnap\__init__.py in <module>()
30
31 from . import analyze
---> 32 from . import data
33 from . import util
34 from .data import metros
~\Desktop\geosnap\geosnap\data\__init__.py in <module>()
----> 1 from .data import Community, metros, read_ltdb, read_ncdb, dictionary, db
~\Desktop\geosnap\geosnap\data\data.py in <module>()
50 dictionary = pd.read_csv(os.path.join(_package_directory, "variables.csv"))
51
---> 52 states = census.states()
53 counties = census.counties()
54 tracts = census.tracts_2010
~\AppData\Local\Continuum\anaconda3\lib\site-packages\quilt\nodes.py in __getattr__(self, name)
98 return self[name]
99 except KeyError:
--> 100 raise AttributeError
101
102 def __setattr__(self, name, value):
AttributeError:
from geosnap.
I think this is the same as #69. The quilt package needs to be rebuilt on your machine
from geosnap.
Cool, thank you! Indeed, after running this:
pip install --upgrade quilt
quilt install spatialucr/census
and overwriting whenever asked, I managed to import geosnap. Thanks!
from geosnap.
Related Issues (20)
- is descartes still needed? HOT 1
- need `oturns/geosnap` for codecov HOT 1
- consider pygris HOT 4
- standardize conventions and arguments
- remove Community interface
- update infrastructure HOT 2
- acs processing gha recipe HOT 1
- version not found when building docs HOT 3
- User guide link is broken on user docs HOT 2
- AttributeError: 'Series' object has no attribute 'iteritems' HOT 2
- Google Colab install geosnap error #184 HOT 4
- Functions not available HOT 5
- reimplement isochrones for pandana>=0.7
- default basemap for plots HOT 1
- Not quite geoparquet? HOT 2
- bea api
- incorrect filename for seda 'poolsub'
- harmonize to target_gdf fails
- rm stamen basemaps
- Depending on abandoned scikitplot 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 geosnap.