-
Notifications
You must be signed in to change notification settings - Fork 972
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
無法於 python 安裝 1.1.4 版 OpenCC #701
Comments
遇到相同問題。看起來是 Apple silicon 問題
|
同样问题。同一个命令 可以看到 pypi 上只有 x86 架构的预编译。
Update目前只能用源码编译: git clone [email protected]:BYVoid/OpenCC.git
cd OpenCC
make python-build
make python-install |
我看多个相关的issues(#564, #593, #771)都长期没有进展,不清楚问题卡在哪里,但你说的方法好用的,感谢! |
在 windows 上源码编译: python setup.py build_ext bdist_wheel 需要安装 cmake 等工具 |
如果需要帮忙编译一个 Apple Silicon 的 Wheel,我可以帮忙,但我没有 pypi 发布权限,可能需要维护者帮忙和指导 @WhiredPlanck @AntonOfTheWoods |
把源码包发布到pypi是不是能解决问题? |
其实除了自己编译,还有另外一个方法,就是安装一个x86_64的python。感谢python-build-standalone,在release页面下找到 我自己也做了一个命令行工具,方便大家下载安装,不用自己从400多个文件里找: |
嗯,发布源码包也是可以的 |
这个问题有计划解决吗?😥😥 我在尝试部署 shixiangcap/pickpod: Integrated tools to transfer the internet audio to text, extract unpopular views, and pick up podcasts for you. --- shiyangcap/pickpod:集成工具,可将网络音频转换为文本,提取不受欢迎的观点,并为您挑选播客。,里面需要用到 opencc 1.1.6 我的设备是 windows,pip 完全无法安装,最高只到 1.1.1 。。。 尝试自己编译,但各种报错...想问一下有没有 windows 11 直观的解决方案? |
我在Apple Silicon/macOS 13.5.1/Python 3.9.6上也遇到這問題了, 而且我這邊是docker-compose build內呼叫pip install, 在本地編譯的完全抓不到. 是否可以考慮公開發佈到pypi呢? 這個PR能修復嗎? 謝謝! 現在在pypi上完全看不到任何新版, 居然只有0.1與0.2?
|
@laike9m 我了解我們都沒有權限上傳正式pypi, 是否你可以上傳wheel到testpypi試看看? 這樣在官方解法出現前Apple Silicon的使用者可以暫時用testpypi? 謝謝! |
test pypi 应该也是要权限的吧 |
這個PR能修復嗎? 謝謝! |
在 PyPI 上雖然可以看到發布的 1.1.4 版本,但在
pip
上似乎無法成功進行安裝。使用以下指令:
獲得輸出:
The text was updated successfully, but these errors were encountered: