简体   繁体   中英

How do I install textfsm in python?

Context: Windows 7, spyder with python 3.6 and anaconda.

Can't find textfsm on anaconda.org.

Can find textfsm in pypi - https://pypi.org/project/textfsm/#files

Can download textfsm-0.4.1.tar.gz and extract to textfsm-0.4.1

Do I put it in C:...\\Anaconda3\\Lib\\site-packages?

What next?

Proceed to unpacked folder and run

python setup.py 

Usually it is all what you need in this case. It should does all necessary things by itself if you have already installed all dependencies.

You should also consider to use pip for package manipulation. In 3.6 it is ready from box. But if it is not, just refer to https://pip.pypa.io/en/latest/installing/ and follow instructions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM