go-python / go-python/gopy

pkg: ImportError: attempted relative import beyond top-level package

オープン
#262 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
2.3k
フォーク
136
平均マージ
14分
マージ済み PR(30日)
2

説明

I use command
`gopy pkg -output=out -vm=python3 github.com/go-python/gopy/_examples/hi `
`cd out && make install-pkg`

then
```
>>> from hi impot hi
File "", line 1
from hi impot hi
^
SyntaxError: invalid syntax
>>> from hi import hi
Traceback (most recent call last):
File "", line 1, in
File "/root/out/hi/hi.py", line 20, in
from ..hi import _hi
ImportError: attempted relative import beyond top-level package
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。