-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
My issue occurs with a fresh install of sfctl from pip on Windows 10.
Attempting a call of sfctl -h results in the error stack below.
python --version
> Python 3.12.6
pip --version
> pip 24.2 from C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip (python 3.12)
-
sfctlversion, can check this usingpip show sfctl
Name: sfctl
Version: 10.0.0
Summary: Azure Service Fabric command line
Home-page: https://github.com/Azure/service-fabric-cli
Author: Microsoft Corporation
Author-email: sfpythoncli@microsoft.com
License: MIT
Location: C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\site-packages
Requires: adal, applicationinsights, azure-servicefabric, future, knack, msrest, msrestazure, portalocker, psutil, requests, sfmergeutility, six
Required-by:
- Service Fabric cluster runtime version
10.0.1949.9590
- Service Fabric hosting location (on-premise or Azure usually)
On premises (local development single node Windows cluster)
- Debug log if an error is present (can be captured using
--debugflag)
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\me\AppData\Local\Programs\Python\Python312\Scripts\sfctl.exe\__main__.py", line 4, in <module>
File "C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\site-packages\sfctl\__init__.py", line 16, in <module>
from sfctl.entry import launch
File "C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\site-packages\sfctl\entry.py", line 17, in <module>
from sfctl.custom_cluster import check_cluster_version
File "C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\site-packages\sfctl\custom_cluster.py", line 18, in <module>
from sfctl.state import get_sfctl_version
File "C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\site-packages\sfctl\state.py", line 12, in <module>
from pkg_resources import get_distribution
ModuleNotFoundError: No module named 'pkg_resources'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels