question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing (and then importing) awkward1 on Windows

See original GitHub issue

Hello,

I just found this library (looks awesome, looking forward to using it), but I am getting an error on import. Installing with pip raised no problems that I recall.

I ran import awkward1 as ak in jupyter, and get the error:

image

What causes this error, and how might I solve it?

Thank you!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
jpivarskicommented, Sep 21, 2020

The Windows wheels for this release are out. I had trouble with the PyPI limit and had to remove old releases (and ask for an increase), so the release still isn’t finished—it will be another half hour at least.

It should be possible to do a regular pip install now, though you don’t strictly need to because the official wheel is no different from the one you already have.

1reaction
jpivarskicommented, Sep 21, 2020

@gordonwatts Thanks for the explanation!

In Linux and MacOS, we include both static and dynamic link libraries with the intention of letting C++ projects link against the pure C++ parts, so this is a good reason to keep the .lib and .exp for awkward.dll and awkward-cpu-kernels.dll, but perhaps not _ext.dll (the Python interface to the C++ layer). We could perhaps drop _ext.lib and _ext.exp, but maybe not just yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing (and then importing) awkward1 on Windows #430
Installing with pip raised no problems that I recall. I ran import awkward1 as ak in jupyter, and get the error: image. What...
Read more >
awkward · PyPI
Awkward Array is a library for nested, variable-sized data, including arbitrary-length lists, records, mixed types, and missing data, using NumPy-like ...
Read more >
Scikit-HEP/awkward-array - Gitter
import pickle import awkward1 as ak with open('test.p', 'rb') as f: leptons = pickle.load(f) lep_ak1 = ak.from_awkward0(leptons.p4) print("order is ...
Read more >
Issue in importing awkward array package: DLL load failed ...
I am trying to use awkward in my Windows 10 system. I am using python 3.8.2. After installing the package, when I import...
Read more >
Issue in importing awkward array package: DLL load failed ...
I am trying to use awkward in my Windows 10 system. I am using python 3.8.2. After installing the package, when I import...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found