cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3642
Views
5
Helpful
5
Replies

pyats installation in virtual environment

yingying.yang
Level 1
Level 1

I received the following message when I install pyats in virtual environment. 

pip3 install pyats[full]

install pyats.PNGThen I received the following message when I try to use pyatsrun pyats.PNG

anyone has ideas about it? Thank you. 

1 Accepted Solution

Accepted Solutions

Good news, someone from the webex space guide me to pyats pubhub, the magic is 

$ pip install --upgrade pip setuptools

 everything is good after upgrade pip with the latest setup tool package. Thank you so much for your help.

View solution in original post

5 Replies 5

@yingying.yang it looks there is a clash in the version in Markupsafe. You can either uninstall/downgrade Markupsafe or start a new venv and install this from fresh. Hope this helps.

 

(new_venv)root$ pip install pyats[full]
Requirement already satisfied: pyats[full] in ./new_venv/lib/python3.8/site-packages (20.10)

[removed]

(new_venv) root$ pip list | grep pyats
pyats                        20.10
(new_venv) root$ pip list | grep Markup
MarkupSafe                   1.1.1
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hi bigevilbeard, thank you very much for your reply. still the same, I received errors when install pyats. It said "Building wheels for collected packages: yamllint, aiohttp-swagger, async-lru, tftpy, pyftpdlib, backports.ssl" error. 
building wheels.PNG

@yingying.yang hmm this is odd - i would join this support team space for pyats https://eurl.io/#r18UzrQVr and the team who run this project help support issues such as yours.

 

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Thank you bigevilbeard, I just post the screenshot to the team space, hope can get a solution from it. I used pyats before, had no issue, not sure what affect it when I install it in new virtual environment. 

Good news, someone from the webex space guide me to pyats pubhub, the magic is 

$ pip install --upgrade pip setuptools

 everything is good after upgrade pip with the latest setup tool package. Thank you so much for your help.