enjarify配置时的坑

本文介绍了Enjarify的GitHub地址及使用方法,提供了提高运行效率的建议,包括使用PyPy3替代CPython,并解决了常见问题如缺少argparse模块等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

enjarify github地址:https://github.com/google/enjarify

Enjarify is a pure python 3 application, so you can just git clone and run it.
。。。
Performance tips
PyPy is much faster than CPython. To install PyPy, see http://pypy.org/. Make sure you get PyPy3 rather than regular PyPy. The Linux wrapper script will automatically use the command pypy3 if available. On Windows, you’ll need to edit the wrapper script yourself.

1、以上内容并没有透漏一个信息

Overwrite protection requires Python 3.3+. Either pass -f or –force, or upgrade to a more recent version of Python. If you are using Pypy3 2.4, you need to switch to a nightly build or build from source. Or just pass -f.

python 的版本尽量高于 3.3 我最后选择的是 3.5

ps:推荐一个安装与切换 python 版本的工具 pyenv

2、ImportError: No module named argparse
如果报此错误,那么需要

easy_install argparse

参考链接:http://stackoverflow.com/questions/15093444/importerror-no-module-named-argparse

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

沐怡旸--指针诗笺

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值