Giter VIP home page Giter VIP logo

Comments (5)

Jomiri avatar Jomiri commented on June 1, 2024 1

The installation should work now. One of the regex conditions in .gitignore was actually capturing the pyd file and that's why it wasn't showing on GitHub. I have no idea how I could've missed that. Anyway, I'll close this issue after testing the installation tomorrow on a different computer and if you get it working, too. Thanks a lot for the feedback!

from pyfiberamp.

Jomiri avatar Jomiri commented on June 1, 2024

Thanks for the heads-up!

The problem is that setup.py does not copy the compiled extension file to the install location in site-packages. I'll try to fix this as soon as possible. Meanwhile, there are two workarounds: 1) You can manually copy the "fiber_simulation_pybindings.cp36-win_amd64.pyd" file from the download folder to the pyfiberamp/dynamic subfolder in site-packages. 2) You can remove the current installation (just delete the PyFiberAmp folder in site-packages) and then reinstall using developer installation with the command "python setup.py develop". This creates a link in site-packages without actually copying any files. Just don't delete the originally downloaded files in that case. If you're using the Anaconda distribution, the site-packages folder is typically located in C:\Users\USERNAME\Anaconda3\Lib.

The funny thing is that I had this same problem myself and specifically checked on one computer that I had it fixed before pushing the new version to GitHub. However, I was able to reproduce the problem on a different computer today so there's still definitely something wrong.

from pyfiberamp.

langesimmons avatar langesimmons commented on June 1, 2024

Thanks for the help. I tried the develop installation, but that didn't work. When I went to try the first way, I couldn't find the .pyd in the repository, in my download or on GitHub. Maybe that's the issue?

from pyfiberamp.

langesimmons avatar langesimmons commented on June 1, 2024

Thanks, it works perfectly now! Ran setup.py install with no issues. Love the project!

from pyfiberamp.

Jomiri avatar Jomiri commented on June 1, 2024

Great! I got it working for me as well, so I'm closing this issue now.

from pyfiberamp.

Related Issues (5)

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.