dora-rs / dora

DORA (Dataflow-Oriented Robotic Architecture) is middleware designed to streamline and simplify the creation of AI-based robotic applications. It offers low latency, composable, and distributed dataflow capabilities. Applications are modeled as directed graphs, also referred to as pipelines.
https://dora-rs.ai
Apache License 2.0
1.49k stars 76 forks source link

The python installation package of dora 0.2.2 is abnormal on the windows system, and dora-drives cannot recognize the dora installation package #258

Closed meua closed 1 year ago

meua commented 1 year ago

Describe the bug The python installation package of dora 0.2.2 is abnormal on the windows system, and dora-drives cannot recognize the dora installation package

To Reproduce Steps to reproduce the behavior:

  1. visit website: https://pypi.org/project/dora-rs/0.2.2/:
  2. Enter https://github.com/dora-rs/dora project : cd apis/python/node
  3. Start a new dataflow: dora start dataflow.yaml
  4. Install dependency: pip install maturin
  5. Pip install dora-rs==0.2.2: maturin develop
  6. Enter https://github.com/dora-rs/dora-drives project : dora check --dataflow graphs/tutorials/webcam.yaml

Expected behavior python package of dora support windows 10

Screenshots or Video image image

Environments (please complete the following information):

haixuanTao commented 1 year ago

I'm going to check and come back to you.

meua commented 1 year ago

I'm going to check and come back to you.

Thanks

meua commented 1 year ago
(py37) D:\coding\rusthome\github.com\dora-rs\dora\binaries\cli>cargo run start D:\coding\pyhome\github.com\meua\dora-drives\graphs\tutorials\webcam.yaml --attach --hot-reload      
   Compiling dora-operator-api-c v0.2.3-rc6 (D:\coding\rusthome\github.com\dora-rs\dora\apis\c\operator)
   Compiling dora-cli v0.2.3-rc6 (D:\coding\rusthome\github.com\dora-rs\dora\binaries\cli)
    Finished dev [unoptimized + debuginfo] target(s) in 19.15s
     Running `D:\coding\rusthome\github.com\dora-rs\dora\target\debug\dora-cli.exe start D:\coding\pyhome\github.com\meua\dora-drives\graphs\tutorials\webcam.yaml --attach --hot-reload`
Traceback (most recent call last):
  File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'dora'
Could not validate yaml: Dataflow could not be validated.: Something went wrong with Python dora-rs. Please reinstall it with: `pip install dora-rs==0.2.3-rc6 --force`
error: process didn't exit successfully: `D:\coding\rusthome\github.com\dora-rs\dora\target\debug\dora-cli.exe start D:\coding\pyhome\github.com\meua\dora-drives\graphs\tutorials\webcam.yaml --attach -
-hot-reload` (exit code: 1)

(py37) D:\coding\rusthome\github.com\dora-rs\dora\binaries\cli>pip list | grep dora
dora-rs                0.2.3rc6

(py37) D:\coding\rusthome\github.com\dora-rs\dora\binaries\cli>

dora under windows is still unavailable,dora version is v0.2.3-rc6

haixuanTao commented 1 year ago

Ok, can you try:

python3 -c "import dora"

and

python -c "import dora"

and

python3 -c pip install dora-rs==0.2.3-rc6

And see if there is any errors?

meua commented 1 year ago

On windwos, I encountered the following problem:x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython3: No such file or directory

D:\coding\rusthome\github.com\dora-rs\dora\apis\python\node>maturin build --release
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.7
🐍 Using CPython 3.9 at D:\soft\msys64\mingw64\bin\python3.exe to generate to link bindings (With abi3, an interpreter is only required on windows)
📡 Using build options features from pyproject.toml
   Compiling windows-sys v0.45.0
   Compiling dora-message v0.2.2 (D:\coding\rusthome\github.com\dora-rs\dora\libraries\message)
   Compiling shared-memory-server v0.2.2 (D:\coding\rusthome\github.com\dora-rs\dora\libraries\shared-memory-server)
   Compiling clap_derive v4.0.1
   Compiling atty v0.2.14      
   Compiling dora-operator-api-types v0.2.2 (D:\coding\rusthome\github.com\dora-rs\dora\apis\rust\operator\types)
   Compiling tokio v1.26.0
   Compiling clap v4.0.3
   Compiling tokio-stream v0.1.11
   Compiling tokio-util v0.7.1
   Compiling dora-core v0.2.2 (D:\coding\rusthome\github.com\dora-rs\dora\libraries\core)
   Compiling opentelemetry_sdk v0.18.0
   Compiling h2 v0.3.17
   Compiling opentelemetry v0.18.0
   Compiling opentelemetry-semantic-conventions v0.10.0
   Compiling tracing-opentelemetry v0.18.0
   Compiling opentelemetry-jaeger v0.17.0
   Compiling hyper v0.14.19
   Compiling dora-tracing v0.2.2 (D:\coding\rusthome\github.com\dora-rs\dora\libraries\extensions\telemetry\tracing)
   Compiling dora-node-api v0.2.2 (D:\coding\rusthome\github.com\dora-rs\dora\apis\rust\node)
   Compiling reqwest v0.11.12
   Compiling dora-operator-api-python v0.2.2 (D:\coding\rusthome\github.com\dora-rs\dora\apis\python\operator)
   Compiling dora-download v0.2.2 (D:\coding\rusthome\github.com\dora-rs\dora\libraries\extensions\download)
   Compiling dora-runtime v0.2.2 (D:\coding\rusthome\github.com\dora-rs\dora\binaries\runtime)
   Compiling dora-node-api-python v0.2.2 (D:\coding\rusthome\github.com\dora-rs\dora\apis\python\node)
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "x86_64-w64-mingw32-gcc" "-Wl,C:\\Users\\PC\\AppData\\Local\\Temp\\rustcYXtcWm\\list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "C:\\Users\\PC\\.rustup\
\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\PC\\AppData\\Local\\Temp\\rustcYXtcWm\\symbols.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dor
a.dora.9f8b0da9-cgu.0.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.1.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.
10.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.11.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.12.rcgu.o" "D:\\co
ding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.13.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.14.rcgu.o" "D:\\coding\\rusthome\\gi
thub.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.15.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.2.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\
dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.3.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.4.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\releas
e\\deps\\dora.dora.9f8b0da9-cgu.5.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.6.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9
f8b0da9-cgu.7.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.8.rcgu.o" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dora.9f8b0da9-cgu.9.rcgu.o
" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.ltpru1f0davvb25.rcgu.o" "-L" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps" "-L" "C:\\Users\\PC\\.cargo\\registry\\src\\github
.com-1ecc6299db9ec823\\winapi-x86_64-pc-windows-gnu-0.4.0\\lib" "-L" "C:\\Users\\PC\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\windows_x86_64_gnu-0.32.0\\lib" "-L" "D:\\soft\\msys64\\mingw64\\libs" "-L" "C:\\Users\\PC\\.ca
rgo\\registry\\src\\github.com-1ecc6299db9ec823\\windows_x86_64_gnu-0.36.1\\lib" "-L" "C:\\Users\\PC\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\windows_x86_64_gnu-0.42.1\\lib" "-L" "D:\\coding\\rusthome\\github.com\\dora-r
s\\dora\\target\\release\\build\\ring-200211cec78c9d4c\\out" "-L" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "D:\\coding\\rusthome\\github.com\\dora-rs\\
dora\\target\\release\\deps\\libdora_runtime-0514ca73aee9760a.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblibloading-f115bba9b581ed97.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\targ
et\\release\\deps\\libdora_operator_api_types-f9dde598367d561c.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libsafer_ffi-b6d5d92ed7390b60.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\targ
et\\release\\deps\\libunwind_safe-ddbc6f6585435b6d.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libwith_builtin_macros-d4739c5a343ffafe.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target
\\release\\deps\\libinventory-aafa710e687a9e24.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libuninit-287b6a34a2669a8c.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\
libmacro_rules_attribute-e0e4da47eace8d83.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libdora_download-2d73aff31f9e57a6.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps
\\libreqwest-c4c317ea721871c9.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libserde_urlencoded-2b63ce2e17d3861f.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libwinr
eg-ab0b53a71c2ee99f.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libipnet-4fcff425fc6a3925.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libmime-6f85ffd5ab3383a0.rli
b" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libencoding_rs-246b93555e3ec2f6.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libbase64-fae9f8fdef30694c.rlib" "D:\\coding\
\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libhyper-613836967a48d2c0.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libwant-1aceffbc4c012b0e.rlib" "D:\\coding\\rusthome\\github.com\\
dora-rs\\dora\\target\\release\\deps\\libtry_lock-f697a70225620e46.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libhttparse-efbae412357f34fc.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\t
arget\\release\\deps\\libh2-f1cbdf789b542988.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libtokio_util-dde53a565a6fc99b.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps
\\libtower_service-1f4623f5ccb6b55e.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libhttp_body-ecaaeaa4cef26593.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liburl-0
ad2f035ecc76a39.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libidna-b726b80912134e94.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libunicode_normalization-a8bfe80d
2e071198.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libtinyvec-abe40d32a78a9001.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libtinyvec_macros-c050a001a32293be.rl
ib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libunicode_bidi-21029ac949996422.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libform_urlencoded-327f907a6c81f500.rlib" "
D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libmatches-ed87de17e083c0ba.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libhttp-9af3826ad135901b.rlib" "D:\\coding\\rusthome\
\github.com\\dora-rs\\dora\\target\\release\\deps\\libfutures_concurrency-69434f8b430cb047.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libbitvec-eadf944612ded41f.rlib" "D:\\coding\\rusthome\\github
.com\\dora-rs\\dora\\target\\release\\deps\\libwyz-1a022433a90c1e9e.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libtap-f963fa91dad35a5c.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\targe
t\\release\\deps\\libradium-fc04b865168b59db.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libfunty-6fdcd38ea54914ea.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\lib
dora_operator_api_python-6bfd007235e0704c.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libdora_node_api-1b662a794c105e81.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps
\\libserde_yaml-852c2e019ba4138e.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libyaml_rust-8844f8acbf7574c8.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblinked_h
ash_map-69633fb528a07d30.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow-c72d02ba21e837fd.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_row-b719ac7149
9b500d.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libpyo3-4a286d79fb2d8cc8.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libmemoffset-c12a9e1409ef9012.rlib" "D:\\c
oding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libpyo3_ffi-d7eefb9f76ce24fb.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblibc-3e46f1b3bbd474ab.rlib" "D:\\coding\\rusthome\\git
hub.com\\dora-rs\\dora\\target\\release\\deps\\libunindent-d12e1ca7ec25258b.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_json-7bec0f2a73295dbb.rlib" "D:\\coding\\rusthome\\github.com\\dora-
rs\\dora\\target\\release\\deps\\libserde_json-11ac274ad94d9781.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_ipc-5ba9aaa72f1ae2b2.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\tar
get\\release\\deps\\libflatbuffers-fe8e7dfec19a5d55.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_csv-ea8917d2abfe95e2.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release
\\deps\\libcsv-005dc9205d7bde5b.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libcsv_core-facde036d70cb4c0.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_stri
ng-9a2b8d63b7ea8c3b.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_cast-8d41187c141629f0.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblexical_core-a43e19d
89c85ae03.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblexical_write_float-c218fba041fa7bcc.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblexical_write_integer
-9b5fd59d9fdb23dc.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblexical_parse_float-ed715d5baa14fe16.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblexical_parse
_integer-36ef3400492ffb9b.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblexical_util-27e36a90bf1e2bc3.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libstatic_asser
tions-dde7331677806218.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_arith-4933965201b7dd71.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_ord-610cf5
f54b377eb4.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_select-2dddc76b05cb6912.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_array-22ed61b02ce4fe2
4.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libahash-a40f7a7aac94b5f4.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libhashbrown-54db427efda512f9.rlib" "D:\\codin
g\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libchrono-38fc2b075d5ecaa4.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_data-f86dbfa69a91514f.rlib" "D:\\coding\\rusthome\\git
hub.com\\dora-rs\\dora\\target\\release\\deps\\libarrow_schema-07c7b35c6db92151.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libbitflags-e247c975b8560079.rlib" "D:\\coding\\rusthome\\github.com\\dor
a-rs\\dora\\target\\release\\deps\\libarrow_buffer-dac8dc66b422b4ea.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libhalf-f43664b820f2fabb.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\targ
et\\release\\deps\\libnum-11cf002693f499a6.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libnum_iter-89fec0455ca044b9.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\li
bnum_rational-0b7bac1f5dfbcdf3.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libnum_complex-67a4fb238166de7d.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libnum_bigi
nt-4952bc26bc69625c.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libnum_integer-039939569aaa0c49.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libdora_tracing-e69d81
446f56edc5.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libtracing_opentelemetry-6df23e2e567bdaf1.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libopentelemetry_jaeg
er-5b1012de29a8471a.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libfutures-a4671c78032f456c.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libopentelemetry_semantic_
conventions-d3d7e6fa342748ed.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libthrift-b741ce8aa601c835.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libordered_float-9
a324acfb3b6e465.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libnum_traits-94bcd8b328546562.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libthreadpool-c162f1ae78740
28c.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libinteger_encoding-595efdad7ae56550.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libbyteorder-3b43ee94a8a66c64.rli
b" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libopentelemetry-880a12b773efaf82.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libopentelemetry_sdk-2c876542d4cf1c5d.rlib"
 "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libcrossbeam_channel-d72558818a7625a7.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libcrossbeam_utils-2550d00f8eeb5184.rlib"
 "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libtokio_stream-e8d7fe8ce574d598.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libdashmap-d20ff9eb064cb9d9.rlib" "D:\\coding\
\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libfutures_executor-089a3dca759f7363.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libpercent_encoding-25778b41213595cb.rlib" "D:\\coding\
\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libfnv-0b7813ce9db65970.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libopentelemetry_api-8c3627616c11409c.rlib" "D:\\coding\\rusthome\\g
ithub.com\\dora-rs\\dora\\target\\release\\deps\\libfutures_util-fc3d2879543f4c8d.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libfutures_io-715081b4125178ad.rlib" "D:\\coding\\rusthome\\github.com\
\dora-rs\\dora\\target\\release\\deps\\libslab-fe5c07ce3a3161ff.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libfutures_task-e24322600ea12bd4.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\
target\\release\\deps\\libpin_utils-fbea4629c5127f44.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libfutures_channel-b4c3c4fe7d0a05e4.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\
release\\deps\\libthiserror-0da32bba4e3967e1.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libtracing_subscriber-b3c28b7240b3c11e.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\relea
se\\deps\\libnu_ansi_term-a844c9411c1e893b.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liboverload-b6c78eba05120c5b.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\li
bsharded_slab-8a53ac4d2e4601c6.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libmatchers-a0db56918f5022c0.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libregex_autom
ata-92b7a9827086d66d.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libregex-103c64dbcf7a6a3d.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libaho_corasick-db2cee63c34
653a3.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libregex_syntax-d0657cca850698c4.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libthread_local-9fe085efa6ec887e.rl
ib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libtracing_log-b93f79e2438af610.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libshared_memory_server-b5766643e00f9131.rli
b" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libbincode-ef12ae2e6a0ff89c.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libraw_sync_2-2e6407e070d56441.rlib" "D:\\coding\
\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libshared_memory-3cc3b0139f3ca015.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\librand-979e35a29235b0e2.rlib" "D:\\coding\\rusthome\\gith
ub.com\\dora-rs\\dora\\target\\release\\deps\\librand_chacha-8a887b756bdff957.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libppv_lite86-8219514e1be68492.rlib" "D:\\coding\\rusthome\\github.com\\dor
a-rs\\dora\\target\\release\\deps\\librand_core-8e8464228fd89902.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libflume-70cd6f83b244fc6b.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target
\\release\\deps\\libspin-a619d1b91f2be23c.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libpin_project-52bae01822516450.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\
libfutures_sink-d2290ea0d3302c76.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libfutures_core-cf40cef18fa5cf7e.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libnanor
and-086408e6d3ffca20.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libdora_core-f35422bb5b31df45.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libwhich-2aaa7a2ea3bb45
8e.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libeither-a05f1ce47a0f68a9.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libtokio-fc8446357f2cf947.rlib" "D:\\coding\
\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libnum_cpus-69491b26b90fc80e.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libsocket2-d515401922cc1c8c.rlib" "D:\\coding\\rusthome\\github
.com\\dora-rs\\dora\\target\\release\\deps\\libmemchr-30b6d782d34f39b8.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libwindows_sys-db009ae35b274c32.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\
dora\\target\\release\\deps\\libbytes-d2e56e83764b7bc4.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libmio-26191a18d1f2ce37.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\d
eps\\libwindows_sys-4f88333daf06e1ce.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libparking_lot-3ccb8eadd8d485be.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libpa
rking_lot_core-489061f285652fc7.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libwindows_sys-9415e6c03f2659ff.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libsmallve
c-65f2e74ba5dec398.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblock_api-bb534c364a9f91dc.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libscopeguard-86b9cd437484
26db.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libserde_yaml-84fa67651ef8ffe8.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libryu-d01ee83c669198a2.rlib" "D:\\cod
ing\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libitoa-586ec3d312643334.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libindexmap-76ca45d380837cb7.rlib" "D:\\coding\\rusthome\\githu
b.com\\dora-rs\\dora\\target\\release\\deps\\libhashbrown-53eeca85725fd069.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libunsafe_libyaml-a08375fb4bc422cd.rlib" "D:\\coding\\rusthome\\github.com\\do
ra-rs\\dora\\target\\release\\deps\\libtracing-c38149381602e78d.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libpin_project_lite-350037be25766b3a.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\do
ra\\target\\release\\deps\\libtracing_core-32397433864495de.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libserde_with_expand_env-4218582cb0d638b1.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\d
ora\\target\\release\\deps\\libshellexpand-1847ccd354d266e5.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libdirs_next-73daefde3439048c.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\
\release\\deps\\libdirs_sys_next-63712f386e01feb9.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libwinapi-73a936c488bc8357.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\dep
s\\libdora_message-d95270d2384d4ac7.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libcapnp-d3d081584a4d5ec8.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libuhlc-466f
9161e62f0f04.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libhex-69796c28b5912b36.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libhumantime-4e1008fb4d1d749d.rlib" "
D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libuuid-9adba459be8c3a9b.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libgetrandom-802d6aafbe4b056c.rlib" "D:\\coding\\rusthom
e\\github.com\\dora-rs\\dora\\target\\release\\deps\\libserde-19e2d23e74f42db4.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblog-826eeb2a9daddf25.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\
dora\\target\\release\\deps\\libcfg_if-4e3511bf981136ae.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\liblazy_static-7094e17cd15ac459.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\r
elease\\deps\\libeyre-eede96ee4988ca24.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libindenter-00f6f0286b8b11f0.rlib" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libonc
e_cell-5136b8c94e344f2d.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-e363be82127e72d4.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\
lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-271c0a4c2400bd0e.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-3b3a88ddf57ad9b8.rlib" "C:\\Users\
\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-c38acbaaa0512e61.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\l
ib\\libaddr2line-a777dde688506f47.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-00e812c5215e2bb4.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-w
indows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-9824443ffde90bb7.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-c9cae9f57d72c5d8
.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-80b5e088fad27661.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86
_64-pc-windows-gnu\\lib\\libminiz_oxide-25b744457ec6a6b9.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-b662208514509737.rlib" "C:\\Users\\PC\\.rustup\\toolc
hains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-70e1db2cbff7c5e3.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\l
ib\\libunwind-bc622eac43f92150.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-da38528f9991ea5d.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-win
dows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-0217604e5fc185ea.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-094368c19a10127d.rlib" "C:\\Users
\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-9310325d5d5607bd.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_6
4-pc-windows-gnu\\lib\\libcore-5c3fe6fc6388f93c.rlib" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-d765c9bc514400ee.rlib" "-Wl,-Bdynamic" "-lpython3"
 "-lwindows" "-lntdll" "-lwindows" "-lwindows" "-lwinapi_advapi32" "-lwinapi_cfgmgr32" "-lwinapi_credui" "-lwinapi_fwpuclnt" "-lwinapi_gdi32" "-lwinapi_kernel32" "-lwinapi_msimg32" "-lwinapi_ntdll" "-lwinapi_ole32" "-lwinapi_opengl3
2" "-lwinapi_secur32" "-lwinapi_shell32" "-lwinapi_synchronization" "-lwinapi_user32" "-lwinapi_winspool" "-lwinapi_ws2_32" "-lbcrypt" "-ladvapi32" "-lkernel32" "-ladvapi32" "-luserenv" "-lkernel32" "-lws2_32" "-lbcrypt" "-lgcc_eh" 
"-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "D
:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\dora.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\target\\release\\deps\\libdora.dll.a" "-Wl,-O1" "-node
faultlibs" "C:\\Users\\PC\\.rustup\\toolchains\\1.68-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: D:/soft/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython3: No such file or directory
          collect2.exe: error: ld returned 1 exit status

error: could not compile `dora-node-api-python` due to previous error
💥 maturin failed
  Caused by: Failed to build a native library through cargo
  Caused by: Cargo build finished with "exit code: 101": `"cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "D:\\coding\\rusthome\\github.com\\dora-rs\\dora\\apis\\py
thon\\node\\Cargo.toml" "--release" "--lib"`

D:\coding\rusthome\github.com\dora-rs\dora\apis\python\node>
meua commented 1 year ago
>   = note: D:/soft/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython3: No such file or directory
          collect2.exe: error: ld returned 1 exit status

I want to go to windows to build the installation package of dora v0.2.2, but the above error is reported.

haixuanTao commented 1 year ago

Can you try to use the prebuilt version of dora on windows?

Also I would recommend using a virtual environment when building.

haixuanTao commented 1 year ago

You can check: https://pyo3.rs/v0.10.1/building_and_distribution.html?highlight=windows#linking

You should check

on windows you might need to set LIB to include pythonxy.lib (where x and y are major and minor version), which is normally either in the libs or Lib folder of a Python installation.

meua commented 1 year ago

Can you try to use the prebuilt version of dora on windows?

Also I would recommend using a virtual environment when building.

maturin develop

This can be installed normally.