[英]How to install pymssql to Python 3.4 rather than 2.7 on Ubuntu Linux?
[英]In linux, how to install pytesseract for python 2.7, not for python 3?
我想在python2.7 / dist-packages中安装pytesseract。 我尝试了“ pip install pytesseract”。 但它安装在python3 / dist-packages中。 请帮我。
pip
是执行pip包的小脚本。 您可以使用-m
选项,使用所选的Python自己执行此操作。 假设您的python 2.7可执行文件是python
,则可以
python -m pip install pytesseract
要么
sudo -H python -m pip install pytesseract
如果要安装到系统目录中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.