diem / move

Home of the Move programming language
Apache License 2.0
343 stars 131 forks source link

error[E0432]: unresolved import `plotters_bitmap` #242

Open liscody opened 2 years ago

liscody commented 2 years ago

Hi. I have a problem during the installation process.

error[E0432]: unresolved import plotters_bitmap --> /home/aiv/.cargo/registry/src/github.com-1ecc6299db9ec823/plotters-0.3.3/src/evcxr.rs:4:5 | 4 | use plotters_bitmap::BitMapBackend; | ^^^^^^^^^^^^^^^ use of undeclared crate or module plotters_bitmap

Compiling num-complex v0.4.2 Compiling num-traits v0.1.43 Compiling ordered-float v2.10.0 For more information about this error, try rustc --explain E0432. error: could not compile plotters due to previous error warning: build failed, waiting for other jobs to finish... error: failed to compile move-cli v0.1.0 (https://github.com/diem/move?branch=main#08b7eae0), intermediate artifacts can be found at /tmp/cargo-install24OD2g

Screenshot from 2022-08-29 09-31-43

mariusbld commented 2 years ago

Workaround: I was able to unblock myself by bumping plotters library to "0.3.3" across the board, and adding "plotters-bitmap" as a dependency "plotters" now includes "plotters-bitmap" in the same repo