Python3 using pip,scrapy,sqlite3 problem in FreeBSD
Question one:
FreeBSD modifies the default version of Python
Under the/usr/local/bin directory,
MV Python python.oldln-s pythonx.x python
In x.x Write your version
Question two:
Python3 cannot use Pip
With Python 3.4 and later, you can use the ensurepip
module to install PIP on FreeBSD and elsewhere.
Python3.4-m Ensurepip
Should install Pip as pip3.4
Question three:
Install Scrapy error, as follows
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/88/78/wKioL1f5nk2RNS6oAABGdw_Y6fc688.png-wh_500x0-wm_3 -wmp_4-s_560250341.png "style=" Float:none; "title=" 1.png "alt=" Wkiol1f5nk2rns6oaabgdw_y6fc688.png-wh_50 "/>
Install LIBXSLT.
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/88/7C/wKiom1f5nk6RxYrqAACVEoVp-xQ915.png-wh_500x0-wm_3 -wmp_4-s_2869107909.png "style=" Float:none; "title=" 2.png "alt=" Wkiom1f5nk6rxyrqaacveovp-xq915.png-wh_50 "/>
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "border=" 0 "style=" Background:url ("/e/u261/ Lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
Question four:
python3.5 Import sqlite3 appear following error, install py35-sqlite3-3.5.2_7 can
>>> Import Sqlite3
Traceback (most recent):
File "<stdin>", line 1, in <module>
Importerror:no module named ' _sqlite3 '
Python3 using pip,scrapy,sqlite3 problem in FreeBSD