Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git clone下載安裝顯示錯誤 #207

Open
citee520 opened this issue Jun 27, 2024 · 4 comments
Open

git clone下載安裝顯示錯誤 #207

citee520 opened this issue Jun 27, 2024 · 4 comments

Comments

@citee520
Copy link

[cmd]
git clone https://github.com/sml2h3/ddddocr.git
cd ddddocr
python setup.py
[result]
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_package_data'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

看起來有缺param嗎, 例如 install

@pingsanddoss
Copy link

遇到一样问题,求解决

@citee520
Copy link
Author

妳下sudo python3 setup.py install應該可以解決, 我印像中是沒有安裝, 而只是引用它而己.

@pingsanddoss
Copy link

还是一样,没作用,运行python setup.py就是UserWarning: Unknown distribution option: 'install_package_data'

@citee520
Copy link
Author

你直接將build\lib的資料夾拉到你的專案下直接引用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants