Skip to content

ImportError: No module named vss_connection #41

@Abdelkrim

Description

@Abdelkrim

How to reproduce

  1. I have executed 'pip install vsts' - see [A]
  2. I have written the code to display the projects list [B]
  3. I execute 'python vsts.py'

I am not interested by any other solution such as "run vsts-cli" :-)

An ERROR is generated:

c:\VSTS>python vsts.py
Traceback (most recent call last):
File "vsts.py", line 1, in
from vsts.vss_connection import VssConnection
File "c:\VSTS\vsts.py", line 1, in
from vsts.vss_connection import VssConnection
ImportError: No module named vss_connection

[B] list projects

https://github.com/Microsoft/vsts-python-api

[A] pip install vsts

c:\VSTS>pip install vsts
Requirement already satisfied: vsts in c:\python27\lib\site-packages
Requirement already satisfied: msrest>=0.4.5 in c:\python27\lib\site-packages (from vsts)
Requirement already satisfied: isodate>=0.6.0 in c:\python27\lib\site-packages (from msrest>=0.4.5->vsts)
Requirement already satisfied: requests-oauthlib>=0.5.0 in c:\python27\lib\site-packages (from msrest>=0.4.5->vsts)
Requirement already satisfied: requests~=2.14 in c:\python27\lib\site-packages (from msrest>=0.4.5->vsts)
Requirement already satisfied: certifi>=2017.4.17 in c:\python27\lib\site-packages (from msrest>=0.4.5->vsts)
Requirement already satisfied: enum34>=1.0.4; python_version < "3.4" in c:\python27\lib\site-packages\enum34-1.0.4-py2.7
.egg (from msrest>=0.4.5->vsts)
Requirement already satisfied: six in c:\python27\lib\site-packages (from isodate>=0.6.0->msrest>=0.4.5->vsts)
Requirement already satisfied: oauthlib>=0.6.2 in c:\python27\lib\site-packages (from requests-oauthlib>=0.5.0->msrest>=
0.4.5->vsts)
Requirement already satisfied: idna<2.7,>=2.5 in c:\python27\lib\site-packages (from requests~=2.14->msrest>=0.4.5->vsts
)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\python27\lib\site-packages (from requests~=2.14->msrest>=0.4.
5->vsts)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\python27\lib\site-packages (from requests~=2.14->msrest>=0.4.
5->vsts)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions