issues: 670755564
This data as json
| id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 670755564 | MDU6SXNzdWU2NzA3NTU1NjQ= | 4294 | PyInstaller executable which packages xarray throws an error when executable is run | 60890 | closed | 0 | 2 | 2020-08-01T10:47:30Z | 2020-08-02T07:05:15Z | 2020-08-02T07:05:15Z | NONE | This might be a problem related to PyInstaller, but we are packaging a lot of packages like numpy, pandas, matplotlib, scipy, PySide2; and xarray is the only one that causes an error, so I wanted to first open the ticket here. What happened: When I run an executable that PyInstaller creates out of a script that uses xarray >= 0.14, I get this error (using xarray 0.13 does not cause this error):
Minimal Complete Verifiable Example: Make sure xarray and PyInstaller is installed on your environment. Create example.py: ```import numpy as np import xarray as xr a = xr.DataArray(np.zeros(10)) print(a) ``` on console run this command:
It will create an executable Anything else we need to know?: The error does not happen with xarray version 0.13. Environment:
PyInstaller version: 3.6 |
{
"url": "https://api.github.com/repos/pydata/xarray/issues/4294/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | 13221727 | issue |