GithubHelp home page GithubHelp logo

Installing future fails about pyflow HOT 5 CLOSED

david-oconnor avatar david-oconnor commented on September 26, 2024
Installing future fails

from pyflow.

Comments (5)

David-OConnor avatar David-OConnor commented on September 26, 2024

This is likely the same as #57 and #42. Ie, something is going wrong when building a wheel from a source-only distro. I haven't figured out what's going on, but its behavior appears to depend on the OS being used, and whether a system python, or one installed with pyflow is being used.

I'll have some time next week to dive in again. It looked like jetafox was onto something.

from pyflow.

David-OConnor avatar David-OConnor commented on September 26, 2024

Released 0.2.6, which should fix this.

from pyflow.

mboratko avatar mboratko commented on September 26, 2024

Thank you, I have finally gotten around to trying this again but was met with another error on 0.2.6:

I  ~ > pyflow new test_pyflow_5 
Please enter the Python version for this project: (eg: 3.8)
3.7
Created a new Python project named test_pyflow_5
 I  ~ > cd test_pyflow_5
 I  ~/test_pyflow_5 > pyflow install torch
🐍 Setting up Python...
thread 'main' panicked at 'Problem parsing Os: manylinux2014_aarch64', /home/mboratko/.cargo/registry/src/github.com-1ecc6299db9ec823/pyflow-0.2.6/src/util.rs:643:53
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I tried installing the newest version using cargo install pyflow but ran into a different issue on install:

error[E0308]: mismatched types
   --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/pyflow-0.2.7/src/install.rs:405:29
    |
405 |                 util::abort(error);
    |                             ^^^^^
    |                             |
    |                             expected `&str`, found struct `std::string::String`
    |                             help: consider borrowing here: `&error`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: failed to compile `pyflow v0.2.7`, intermediate artifacts can be found at `/tmp/cargo-installLacqvU`

Caused by:
  could not compile `pyflow`.

(The above happens when I specify --version=0.2.7 but a similar issue appears if I just install the latest as well.)

from pyflow.

David-OConnor avatar David-OConnor commented on September 26, 2024

Fixed in latest commit with a bandaid. I'd never seen that architecture flag before. (It's not really manylinux if it's for aarch?) Overall, might need a better way to support these manylinux variants.

from pyflow.

mboratko avatar mboratko commented on September 26, 2024

Thank you very much, seems to be working now!

from pyflow.

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.