Giter Site home page Giter Site logo

DLL not found about pycedfs HOT 9 CLOSED

smestern avatar smestern commented on September 17, 2024
DLL not found

from pycedfs.

Comments (9)

smestern avatar smestern commented on September 17, 2024

Hello,

Apologies for the slow response! I have encountered this before, the ctypes library gets a bit finicky about where the DLL is packaged. I will look into this asap! Two quick questions:

  • Did you install via PIP?
  • What operating system are you using?

from pycedfs.

remi-pr avatar remi-pr commented on September 17, 2024

Hi,

No worries for the response, it is summer for everyone (and apparently this response never got sent, so I am even more guilty of it).

ctypes is indeed .. finicky, this is an understatement.

I tried under Windows, and I used pip indeed. Would another install route be easier? Would this even work under another OS than Windows?

Cheers and thanks for looking into it.

from pycedfs.

smestern avatar smestern commented on September 17, 2024

PIP and Windows are definitely the best options! I will keep trying to replicate the issue. Currently I have tested on python 3.7 on 64 bit windows, without much issue. It looks like in 3.8 the dll search mechanism has changed, will be looking into this asap!

from pycedfs.

remi-pr avatar remi-pr commented on September 17, 2024

Just to let you know that I tried on a different computer, using Python 3.7, and I got it to work. I will need to investigate some more. Let me know if you find something

from pycedfs.

remi-pr avatar remi-pr commented on September 17, 2024

But still impossible to get it to work on the lab computer... I am wondering if there is an hidden dependency, another DLL used by the CFS64.dll. That could trigger this error I think

from pycedfs.

smestern avatar smestern commented on September 17, 2024

I was unable to replicate the issue. However I tried pushing an update that may solve the issue for >3.8 issues entirely. I will dig further into the DLL! It does rely on a lot of legacy code that may be missing on the given computer.

from pycedfs.

a-hurst avatar a-hurst commented on September 17, 2024

@remi-pr @smestern I think I've solved this with #6. Rémi was right: CFS64.dll has a hidden dependency on MSCVR100.dll, which is part of the Visual Studio C++ 2010 Runtime. Once you install that, pyCEDFS should work as intended!

from pycedfs.

smestern avatar smestern commented on September 17, 2024

Thank you @a-hurst for the fix! I have pushed the changes accordingly to PyPi. Seems to be working flawlessly!

from pycedfs.

remi-pr avatar remi-pr commented on September 17, 2024

Great news. Thanks @a-hurst for the find! Thanks @smestern for the update. I will give this new version a try soon.

from pycedfs.

Related Issues (2)

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.