Skip to content

[RFC] Elaboration on the requirements to use on windows system #2956

Open
@ryancinsight

Description

@ryancinsight

Summary

Elaboration on the requirements to use on windows system, improved imports and installation

Detailed Explanation

cargo install from git and cargo run --release from download fail on windows. There is no error unless you set Rustbacktrace value. There it will tell you it cant import encodings.

The fix is set RUSTPYTHONPATH=D://fork//RustPython//lib

Drawbacks, Rationale, and Alternatives

It would be better if this was set with a build script rather than manual.
Alternatively, many py files can be embedded in the executable, please look at https://github.com/indygreg/PyOxidizer/tree/main/oxidized-importer

Unresolved Questions

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions