Giter Club home page Giter Club logo

Comments (7)

blink1073 avatar blink1073 commented on June 14, 2024

Hi @Alan-MTuring, which operating system are you using? Can you also give the full traceback?

from mongo-arrow.

SebastianSchuhbauer avatar SebastianSchuhbauer commented on June 14, 2024

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.

Alan-MTuring avatar Alan-MTuring commented on June 14, 2024

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.

blink1073 avatar blink1073 commented on June 14, 2024

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.

SebastianSchuhbauer avatar SebastianSchuhbauer commented on June 14, 2024

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.

blink1073 avatar blink1073 commented on June 14, 2024

I found the underlying problem, and opened https://jira.mongodb.org/browse/ARROW-121 to track the fix.

from mongo-arrow.

blink1073 avatar blink1073 commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.