René's URL Explorer Experiment


Title: Issue when importing EIAClient: "ModuleNotFoundError: No module named 'eia.data'" · Issue #2 · datons/python-eia · GitHub

Open Graph Title: Issue when importing EIAClient: "ModuleNotFoundError: No module named 'eia.data'" · Issue #2 · datons/python-eia

X Title: Issue when importing EIAClient: "ModuleNotFoundError: No module named 'eia.data'" · Issue #2 · datons/python-eia

Description: When I download the notebook in the description and try to install it after installing python-eia, I run into the following issue when running: from eia import EIAClient -------------------------------------------------------------------...

Open Graph Description: When I download the notebook in the description and try to install it after installing python-eia, I run into the following issue when running: from eia import EIAClient ---------------------------...

X Description: When I download the notebook in the description and try to install it after installing python-eia, I run into the following issue when running: from eia import EIAClient ---------------------------...

Opengraph URL: https://github.com/datons/python-eia/issues/2

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issue when importing EIAClient: \"ModuleNotFoundError: No module named 'eia.data'\"","articleBody":"When I download the notebook in the description and try to install it after installing python-eia, I run into the following issue when running:\n\n`from eia import EIAClient`\n\n```\n---------------------------------------------------------------------------\nModuleNotFoundError                       Traceback (most recent call last)\nCell In[9], [line 1](vscode-notebook-cell:?execution_count=9\u0026line=1)\n----\u003e [1](vscode-notebook-cell:?execution_count=9\u0026line=1) from eia import EIAClient\n\nFile ~/.local/lib/python3.10/site-packages/eia/__init__.py:9\n      7 from .client import EIAClient, EIAError\n      8 from .cache import CacheConfig\n----\u003e [9](https://vscode-remote+codespaces-002bcuddly-002ddoodle-002d54x76p5w6qrfv44j.vscode-resource.vscode-cdn.net/workspaces/python-for-time-series-forecasting-5246009/data/EIA/Scripts/~/.local/lib/python3.10/site-packages/eia/__init__.py:9) from . import catalog\n     11 __version__ = \"0.1.0\"\n     12 __all__ = [\"EIAClient\", \"EIAError\", \"CacheConfig\", \"catalog\"]\n\nFile ~/.local/lib/python3.10/site-packages/eia/catalog.py:85\n     81 from eia.catalog_manager import EIACatalogManager as _EIACatalogManager\n     83 _mgr = _EIACatalogManager()\n---\u003e [85](https://vscode-remote+codespaces-002bcuddly-002ddoodle-002d54x76p5w6qrfv44j.vscode-resource.vscode-cdn.net/workspaces/python-for-time-series-forecasting-5246009/data/EIA/Scripts/~/.local/lib/python3.10/site-packages/eia/catalog.py:85) ROUTES: dict[str, RouteInfo] = {r.route: r for r in _mgr._load_routes()}\n     86 RECIPES: dict[str, Recipe] = {r.id: r for r in _mgr._load_recipes()}\n     89 # ── Convenience functions ──────────────────────────────────────────────\n\nFile ~/.local/lib/python3.10/site-packages/eia/catalog_manager.py:69, in EIACatalogManager._load_routes(self)\n     66 if self._routes is not None:\n     67     return self._routes\n---\u003e [69](https://vscode-remote+codespaces-002bcuddly-002ddoodle-002d54x76p5w6qrfv44j.vscode-resource.vscode-cdn.net/workspaces/python-for-time-series-forecasting-5246009/data/EIA/Scripts/~/.local/lib/python3.10/site-packages/eia/catalog_manager.py:69) data = self._read_yaml(\"routes.yaml\")\n     70 routes: list[RouteInfo] = []\n     71 for entry in data.get(\"routes\", []):\n\nFile ~/.local/lib/python3.10/site-packages/eia/catalog_manager.py:60, in EIACatalogManager._read_yaml(filename)\n     57 @staticmethod\n     58 def _read_yaml(filename: str) -\u003e dict:\n     59     \"\"\"Read a YAML file from the ``eia.data`` package.\"\"\"\n---\u003e [60](https://vscode-remote+codespaces-002bcuddly-002ddoodle-002d54x76p5w6qrfv44j.vscode-resource.vscode-cdn.net/workspaces/python-for-time-series-forecasting-5246009/data/EIA/Scripts/~/.local/lib/python3.10/site-packages/eia/catalog_manager.py:60)     ref = importlib.resources.files(\"eia.data\").joinpath(filename)\n     61     with importlib.resources.as_file(ref) as path:\n     62         return yaml.safe_load(path.read_text(encoding=\"utf-8\"))\n\nFile /usr/local/lib/python3.10/importlib/_common.py:22, in files(package)\n     17 def files(package):\n     18     # type: (Package) -\u003e Traversable\n     19     \"\"\"\n     20     Get a Traversable resource from a package\n     21     \"\"\"\n---\u003e [22](https://vscode-remote+codespaces-002bcuddly-002ddoodle-002d54x76p5w6qrfv44j.vscode-resource.vscode-cdn.net/usr/local/lib/python3.10/importlib/_common.py:22)     return from_package(get_package(package))\n\nFile /usr/local/lib/python3.10/importlib/_common.py:66, in get_package(package)\n     60 def get_package(package):\n     61     # type: (Package) -\u003e types.ModuleType\n     62     \"\"\"Take a package name or module object and return the module.\n     63 \n     64     Raise an exception if the resolved module is not a package.\n     65     \"\"\"\n---\u003e [66](https://vscode-remote+codespaces-002bcuddly-002ddoodle-002d54x76p5w6qrfv44j.vscode-resource.vscode-cdn.net/usr/local/lib/python3.10/importlib/_common.py:66)     resolved = resolve(package)\n     67     if wrap_spec(resolved).submodule_search_locations is None:\n     68         raise TypeError(f'{package!r} is not a package')\n\nFile /usr/local/lib/python3.10/importlib/_common.py:57, in resolve(cand)\n     55 def resolve(cand):\n     56     # type: (Package) -\u003e types.ModuleType\n---\u003e [57](https://vscode-remote+codespaces-002bcuddly-002ddoodle-002d54x76p5w6qrfv44j.vscode-resource.vscode-cdn.net/usr/local/lib/python3.10/importlib/_common.py:57)     return cand if isinstance(cand, types.ModuleType) else importlib.import_module(cand)\n\nFile /usr/local/lib/python3.10/importlib/__init__.py:126, in import_module(name, package)\n    124             break\n    125         level += 1\n--\u003e [126](https://vscode-remote+codespaces-002bcuddly-002ddoodle-002d54x76p5w6qrfv44j.vscode-resource.vscode-cdn.net/usr/local/lib/python3.10/importlib/__init__.py:126) return _bootstrap._gcd_import(name[level:], package, level)\n\nModuleNotFoundError: No module named 'eia.data'\n\n```\nI can't find anyone else having this issue. Do I need to install an older version for this to work?","author":{"url":"https://github.com/dajsfiles","@type":"Person","name":"dajsfiles"},"datePublished":"2026-05-14T21:32:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2/python-eia/issues/2"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b5de095c-e024-9102-dbf2-175497604042
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA856:26D6B:1388C4D:1C9FB4D:6A60A699
html-safe-nonce67e5f3623f25d2729a340e08949830d78426632e0572aefd27aedfe3f08227d8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODU2OjI2RDZCOjEzODhDNEQ6MUM5RkI0RDo2QTYwQTY5OSIsInZpc2l0b3JfaWQiOiI1NDc0OTY0OTc2MzA1MjE5MjI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac29024b52943708141adb7e31b41d071a19ad9a4b15a098b48b031966398a5a90
hovercard-subject-tagissue:4449445413
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/datons/python-eia/2/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ee0b90292005fd1ec29d5eba1f2176021d3d993235636dbea5e64606fe5c53fc/datons/python-eia/issues/2
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ee0b90292005fd1ec29d5eba1f2176021d3d993235636dbea5e64606fe5c53fc/datons/python-eia/issues/2
og:image:altWhen I download the notebook in the description and try to install it after installing python-eia, I run into the following issue when running: from eia import EIAClient ---------------------------...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedajsfiles
hostnamegithub.com
expected-hostnamegithub.com
None5142d23feb6a650085422edf60d68c93777dfa6c4b0c9151eb464d3e4969f618
turbo-cache-controlno-preview
go-importgithub.com/datons/python-eia git https://github.com/datons/python-eia.git
octolytics-dimension-user_id130396938
octolytics-dimension-user_logindatons
octolytics-dimension-repository_id990102697
octolytics-dimension-repository_nwodatons/python-eia
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id990102697
octolytics-dimension-repository_network_root_nwodatons/python-eia
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec55ed501f6bbf0f43900d14552f6a9bd0bec6757
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/datons/python-eia/issues/2#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdatons%2Fpython-eia%2Fissues%2F2
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdatons%2Fpython-eia%2Fissues%2F2
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=datons%2Fpython-eia
Reloadhttps://github.com/datons/python-eia/issues/2
Reloadhttps://github.com/datons/python-eia/issues/2
Reloadhttps://github.com/datons/python-eia/issues/2
Please reload this pagehttps://github.com/datons/python-eia/issues/2
datons https://github.com/datons
python-eiahttps://github.com/datons/python-eia
Notifications https://github.com/login?return_to=%2Fdatons%2Fpython-eia
Fork 0 https://github.com/login?return_to=%2Fdatons%2Fpython-eia
Star 2 https://github.com/login?return_to=%2Fdatons%2Fpython-eia
Code https://github.com/datons/python-eia
Issues 0 https://github.com/datons/python-eia/issues
Pull requests 0 https://github.com/datons/python-eia/pulls
Actions https://github.com/datons/python-eia/actions
Projects https://github.com/datons/python-eia/projects
Security and quality 0 https://github.com/datons/python-eia/security
Insights https://github.com/datons/python-eia/pulse
Code https://github.com/datons/python-eia
Issues https://github.com/datons/python-eia/issues
Pull requests https://github.com/datons/python-eia/pulls
Actions https://github.com/datons/python-eia/actions
Projects https://github.com/datons/python-eia/projects
Security and quality https://github.com/datons/python-eia/security
Insights https://github.com/datons/python-eia/pulse
#4https://github.com/datons/python-eia/pull/4
Issue when importing EIAClient: "ModuleNotFoundError: No module named 'eia.data'"https://github.com/datons/python-eia/issues/2#top
#4https://github.com/datons/python-eia/pull/4
https://github.com/dajsfiles
dajsfileshttps://github.com/dajsfiles
on May 14, 2026https://github.com/datons/python-eia/issues/2#issue-4449445413
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.