Comments (7)
Hi @Alan-MTuring, which operating system are you using? Can you also give the full traceback?
from mongo-arrow.
Hey,
I have the same problem on Windows 10. Here is the full traceback I get:
C:\Users\Sebi\anaconda3\lib\site-packages\pymongoarrow_init_.py:34: UserWarning: Could not find compiled pymongoarrow.lib extension, please install from source or report the following traceback on the issue tracker:
Traceback (most recent call last):
File "C:\Users\Sebi\anaconda3\lib\site-packages\pymongoarrow_init_.py", line 32, in
from pymongoarrow.lib import libbson_version
ImportError: DLL load failed while importing lib: Das angegebene Modul wurde nicht gefunden.
warnings.warn(
Seems like the init function cant find the pymongoarrow.lib file but it is in the pymongoarrow package folder.
Thanks for the help :)
from mongo-arrow.
System: win11, amd; python version: 3.79. In addition, I use another computer: Windows 11,intel; python version: 3.10. It works perfectly. I recommend writing more demo files to make it easier for beginners
from mongo-arrow.
I tried the following on win 10 intel 64bit with both Python 3.7 and Python 3.10 downloaded from python.org. In both cases it worked fine.
python -m pip install pymongoarrow
python -c "import pymongoarrow.lib"
@SebastianSchuhbauer are you on an amd or intel machine? You can check with wmic cpu get name
.
Also, it would be helpful to know how you both installed Python in the case where it is not working.
from mongo-arrow.
Hey blink,
I am working on an intel machine and my python 3.9.13 got installed together with Anaconda3 2022.10. When using the code you posted I get for:
python -m pip install pymongoarrow
the error mentioned above and if I want to import the lib manually with:
python -c "import pymongoarrow.lib"
I get a similar error, the module cannot be found.
from mongo-arrow.
I found the underlying problem, and opened https://jira.mongodb.org/browse/ARROW-121 to track the fix.
from mongo-arrow.
Closing as fixed by #97. Please re-open an issue if the error persists after the 0.6.0 release (early next week).
from mongo-arrow.
Related Issues (20)
- Documentation should describe advantages over DataFrame constructor (of Pandas) HOT 6
- Support for other data types? HOT 2
- is self contained installation possible? HOT 3
- 0.6.2 pypi release is missing source distribution HOT 2
- ARROW-134 bson.errors.InvalidDocument: cannot encode object: <NA>, of type: <class 'pandas._libs.missing.NAType'> HOT 3
- pymongoarrow does not return nested fields HOT 2
- Dataframe is all Nat and None after loading HOT 6
- Ability to query _id as string if it is of type ObjectId (e.g. "63fcb5aa5e1d7530a517dc44") HOT 1
- bson_iter_type(): precondition failed: iter->raw on find_pandas_all() HOT 6
- Casting timestamp in find_panads_all() HOT 1
- How to define data type for uuid and array types HOT 7
- AttributeError: 'pyarrow.lib.DataType' object has no attribute '_type_marker' HOT 1
- Bug: find_arrow_all in version 1.0.1 returns wrong schema for nested bson.ObjectId while bson.ObjectId on root level works as documented HOT 2
- ARROW-175 Bug: nested data seems to be decoded even if not in schema HOT 3
- aggregate_arrow_all(...) >four times slower in version 1.0.2 compared to 1.0.1 with fields objects HOT 5
- Can `find_all_pandas` treat list of struct as nested dataframe? HOT 1
- Any chance you could fix the docs? HOT 4
- Does mongo-arrow provide real zero copy in the chain mongodb->arrow->pandas? HOT 3
- This library has not been compiled HOT 8
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 mongo-arrow.