2024-11-24 8:10 PM - last edited on 2024-11-25 1:20 AM by mƎALLEm
Hi,
I followed the steps to install the Model Zoo, giving all attention to the Proxy settings. there is no chance i was able to install the requitements. issues with proxy.
Are the username and password in those settings should be my developer account? if yes what is the proxy address to continue? and the port?
if this is not the case, I am not behind a proxy and this should work. any idea could be wrong?
I tried the Miniconda, the anaconda shell, Windows power shell, Cmd, no luck.
Please advise!
Thank you.
Solved! Go to Solution.
2024-11-25 1:17 AM
Hello @wbotros,
Concerning proxy settings, you need to contact the IT department of your firm... We cannot really help you with that.
I didn't really understand what you meant by:
"if this is not the case, I am not behind a proxy and this should work. any idea could be wrong?"
Can you send a screenshot of the error you get in a cmd for example?
Have a good day,
Julian
2024-11-25 1:17 AM
Hello @wbotros,
Concerning proxy settings, you need to contact the IT department of your firm... We cannot really help you with that.
I didn't really understand what you meant by:
"if this is not the case, I am not behind a proxy and this should work. any idea could be wrong?"
Can you send a screenshot of the error you get in a cmd for example?
Have a good day,
Julian
2024-11-25 7:24 PM
Thank you Julian, I tried the install on my desktop after disabling the firewall and it worked, back to the laptop, I had to disable all security from the laptop manufacturer and Windows.
Thank you for the swift reply yesterday!
Wissam
2025-03-05 7:24 PM
Hi,
I followed below tutorial and tried to install STM32 model zoo.
At "step 4.2.1", I encountered following problem.
ERROR: Could not install packages due to an OSError: Failed to parse: http://username:password@proxy.url.com:port
WARNING: There was an error checking the latest version of pip.
I am not sure my username and password.(ST website login e-mail and password?)
Could you guide me how to fix this problem?
Thank you.
2025-03-05 11:41 PM
Hello @EthanLiao ,
Environment variable values depend of your network environment. If you are on a corporate network, you might need to set proxy settings for applications, but not required if your network configuration is default (example: your home network)
It is not related at all with ST logins or ST network, so if you are not sure, delete these variables and, if on corporate network, ask your IT department, they may help you regarding this situation.
Best regards,
Yanis
2025-03-06 1:55 AM - edited 2025-03-06 1:57 AM
Hi @hamitiya ,
I deleted environment variables and ran "pip install -r requirements.txt" command.
It seems work, but I have no idea whether the following info and error can be ignored or not.
If it can't be ignored, how to solve the error ?
DEPRECATION: xmlrunner is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for xmlrunner ... done
DEPRECATION: wget is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for wget ... done
DEPRECATION: antlr4-python3-runtime is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for antlr4-python3-runtime ... done
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\ilove\\Desktop\\STM32CubeIDE\\workspace_1.16.0\\stm32ai-modelzoo-services-main\\st_zoo\\Lib\\site-packages\\tensorflow\\include\\external\\cudnn_frontend_archive\\_virtual_includes\\cudnn_frontend\\third_party\\cudnn_frontend\\include\\cudnn_frontend_EngineConfigGenerator.h'
HINT: This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths
Best regards,
Ethan
2025-03-06 2:29 AM
Hello,
About the first deprecations warnings, I would say you can continue.
However, for Windows Long Path, it is mandatory (for ST Edge AI Core) to correct this error.
You can fix it by executing this command in a PowerShell in Administrator Mode:
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" `
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
(from: Maximum Path Length Limitation - Win32 apps | Microsoft Learn)
Best regards,
Yanis