Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

unexpected trailing bytes after Attribute entry #259

Open
@pauljurczak

Description

@pauljurczak

Describe the bug
from numojo import Matrix fails with this error:

/home/paul/st-python/mojo-0/.pixi/envs/default/lib/mojo/numojo.mojopkg:0:0: error: unexpected trailing bytes after Attribute entry/home/paul/st-python/mojo-0/t2.mojo:1:6: error: failed to materialize top-level modulefrom numojo import Matrix     ^mojo: error: failed to parse the provided Mojo source module

To Reproduce
Added numojo withpixi add numojo. Here is relevantpixi info output:

System------------       Pixi version: 0.50.1           Platform: linux-64   Virtual packages: __unix=0=0                   : __linux=6.5.0=0                   : __glibc=2.35=0                   : __cuda=12.8=0                   : __archspec=1=zen2          Cache dir: /home/paul/.cache/rattler/cache       Auth storage: /home/paul/.rattler/credentials.json   Config locations: /home/paul/.pixi/config.tomlGlobal------------            Bin dir: /home/paul/.pixi/bin    Environment dir: /home/paul/.pixi/envs       Manifest dir: /home/paul/.pixi/manifests/pixi-global.tomlWorkspace------------               Name: mojo-0            Version: 0.1.0      Manifest file: /home/paul/st-python/mojo-0/pixi.toml       Last updated: 27-07-2025 02:38:12Environments------------        Environment: default           Features: default           Channels: conda-forge, https://conda.modular.com/max, https://repo.prefix.dev/modular-community   Dependency count: 5       Dependencies: modular, python, bridge, numpy, numojo   Target platforms: linux-64    Prefix location: /home/paul/st-python/mojo-0/.pixi/envs/default

Expected behavior
Import succeds.

Desktop (please complete the following information):
Ubuntu 22.04.4
Mojo 25.4.0 (fbeca2fa)
Python 3.13.0
numojo 0.7.0 h6f44653_0 3.5 MiB condahttps://repo.prefix.dev/modular-community/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp