Git Product home page Git Product logo

Comments (3)

visch avatar visch commented on June 8, 2024 1

Thank you for the help, it's really just me. I need to use pip install . when developing locally. I didn't realize this was the right way to do this.

Learned a bunch at a minimum!

from fs.sshfs.

althonos avatar althonos commented on June 8, 2024

Just tested, that's because running python setup.py install is going to install the libraries as eggs, which is an outdated format that doesn't support namespace packages (which are needed for fs.sshfs to install properly). When you do a pip install, it works because the packages are installed as wheels.

There's not much I can do on my end, as the whole python setup.py install is kinda deprecated in favor of pip. On yours, you can try using pip install -e . instead of python setup.py install, which will install your project in "editable" mode, which will install the dependencies in the virtualenv.

from fs.sshfs.

visch avatar visch commented on June 8, 2024

Just tested, that's because running python setup.py install is going to install the libraries as eggs, which is an outdated format that doesn't support namespace packages (which are needed for fs.sshfs to install properly). When you do a pip install, it works because the packages are installed as wheels.

There's not much I can do on my end, as the whole python setup.py install is kinda deprecated in favor of pip. On yours, you can try using pip install -e . instead of python setup.py install, which will install your project in "editable" mode, which will install the dependencies in the virtualenv.

Thank you so much for taking a look! I was afraid this was the case.

So is it really the case that python setup.py install is dead and the library at target-csv should just update to something else? Like Poetry or something

Or is it that me as a Developer just needs to stop using python setup.py install and use pip install -e . . Sounds like the latter is what should happen. I'm a new Python Developer so this is probably what's going on!

from fs.sshfs.

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.