Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install and use the mfg tool for manufacturing properties (TZ-509) #190

Closed
Hatim27 opened this issue Dec 25, 2023 · 3 comments
Closed
Labels

Comments

@Hatim27
Copy link

Hatim27 commented Dec 25, 2023

Question

Hello Everyone,
I need to set the install code and manufacturing information, for that I need the mfg tool delivered within the SDK.
When I try to install the requirements I'm getting this error :

PS D:\EspIDF\esp-idf\tools\mfg_tool> D:\Esp-Tools\python_env\idf5.1_py3.11_env\Scripts\pip install -r requirements.txt
ERROR: Could not find a version that satisfies the requirement ctypes==1.1.0 (from versions: none)
ERROR: No matching distribution found for ctypes==1.1.0

I'm using Visual Studio Code on Windows.

Many thanks in advanced.

Additional context.

No response

@github-actions github-actions bot changed the title How to install and use the mfg tool for manufacturing properties How to install and use the mfg tool for manufacturing properties (TZ-509) Dec 25, 2023
@xieqinan
Copy link
Contributor

Hello @Hatim27 ,

PS D:\EspIDF\esp-idf\tools\mfg_tool> D:\Esp-Tools\python_env\idf5.1_py3.11_env\Scripts\pip install -r requirements.txt

I am confused by the information, and I cannot locate the directory ~/esp-idf\tools\mfg_tool in the esp-idf repository. According to the README, we expect to install requirements.txt in ~/esp-zigbee-sdk/tools/mfg_tool. Could you please double-check this folder?

@Hatim27 Hatim27 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2024
@Hatim27
Copy link
Author

Hatim27 commented Jan 2, 2024

Hi @xieqinan
I tried as suggested by Readme and i'm getting the same issue :

C:\Espressif\frameworks\esp-idf-v5.1\esp-zigbee-sdk-main\tools\mfg_tool>python3 -m pip install -r requirements.txt
ERROR: Could not find a version that satisfies the requirement ctypes==1.1.0 (from versions: none)
ERROR: No matching distribution found for ctypes==1.1.0

Any help please,

@Hatim27 Hatim27 reopened this Jan 2, 2024
@kelin6
Copy link
Contributor

kelin6 commented Jan 9, 2024

@Hatim27 You can temporarily ignore this error and directly run python esp_zb_mfg_tool.py --csv ./multi_devices_config.csv to test. It should only be missing the futuremodule, then simply use pip install future. I will update the requirement file accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants