Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Visual Studio Code (vscode) for QuickApp development


jgab

Recommended Posts

  • Topic Author
  • 6 minutes ago, Christb said:

    Please login or register to see this attachment.

     

    I am in the same situation when pressing F5, I got the Pyton has not been found!

    I did change all "${file}" with "${relativeFile} but still get the python error mesage :

    (cannot find Python in French:

    Python est introuvable. Excutez sans argument pour procder l

     

    ).

    None of my directories had space in their name.

    What I did wrong wrong?

    >>>

    In the latest version all "${file}" are changed to "${relativeFile}

    I think your issue is if you have python in your env path...

     

    Link to comment
    Share on other sites

    I have tried to get the new version via git but there is this error:

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    solved:

    1. delete main in refs/remotes/origin

    2. git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main

    3. git pull

     

     

    Link to comment
    Share on other sites

  • Topic Author
  • 7 hours ago, petrkl12 said:

    solved:

    1. delete main in refs/remotes/origin

    2. git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main

    3. git pull

    Do you use the built-in source control function of vscode? - it's make a pretty decent job with git.

    Link to comment
    Share on other sites

    47 minutes ago, jgab said:

    Do you use the built-in source control function of vscode? - it's make a pretty decent job with git.

    Yes, it's a big advantage of vscode 😉

     

    In your fibemu I would like to have the possibility to use in some cases all lua functions: require, io.read/io.write etc.

    it could be like: 

     

    --%%fullLua=yes

     

    default will be no value

     

    and then in code:

     

    if fibaro.fibemu and fibaro.fibemu.fullLua then

       newM=require("xxx")

       ....

    end

     

    Link to comment
    Share on other sites

  • Topic Author
  • 1 hour ago, petrkl12 said:

    Yes, it's a big advantage of vscode 😉

     

    In your fibemu I would like to have the possibility to use in some cases all lua functions: require, io.read/io.write etc.

    it could be like: 

     

    --%%fullLua=yes

     

    default will be no value

     

    and then in code:

     

    if fibaro.fibemu and fibaro.fibemu.fullLua then

       newM=require("xxx")

       ....

    end

     

    Ok, pushed the changes

     

    Please login or register to see this code.

     

    Let me know if you are missing some functions

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

  • Topic Author
  • Ok, I have to go back to the drawing board with hc3fs.

    As for now it works to mount QAs and Scene files, we can edit them and save to sync back to the HC3. In principle using vscode as the editor instead of the HC3 Web UI editor.

     

    However, my thinking was that doing a fileSystemProvider extension for vscode we could also run the files, using fibemu.

    Turns out it's not a real virtual filesystem, just something used by vscode's editors. That means that when we try to run

    "hc3fs:/QuickApps/98_MyQA/main.lua" Lua has no idea how to resolve that to an actual file.

    Fortunately, fibemu controls the loading of files so we could overcome that. 

    However, currently the hc3fs extension caches the files in memory before flushing them to the HC3, and there is no way from Lua to get hold of that cache... and we don't want to save them to the HC3 before we can run them - kind of defeats the purpose 😕 

     

    So, I will change the model how hc3fs works.

    - It will read the HC3 and create a virtual filesystem for the vscode editor to use as before.

    - It will also write the files to a directory the extension is configured to use...

    - We can then have auto-save on as it will only save the files to the local directory

    - Then there will be an explicit file explorer context command to sync the file(s) back to the HC3 when we trust the code

    - ..after we have run and tested the code with fibemu from the local directory...

     

    It probably makes more sense. 

     

     

     

     

    Edited by jgab
    • Like 1
    Link to comment
    Share on other sites

    Jgab wrote:

    In the latest version all "${file}" are changed to "${relativeFile}

    I think your issue is if you have python in your env path...

     

    I think you have not finish your reply...

    What I do not understand is that Python 3.11 is installed (as you asked);  I have been able to run in vscode terminal  "pip install -r requirements.txt" succesfully.

    Now, typing py, python3, python or the command "pip install -r requirements.txt" is giving this message:

    >>> python3
      File "<stdin>", line 1
        python 3
               ^
    SyntaxError: invalid syntax

     

    I acn see the same message for powershell and py


    Process ID (PID): 1396

    Command line: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe '-noexit' '-command' 'try { . "c:\Users\ASUS\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1" } catch {}'


    Shell integration failed to activate


    The following extensions have contributed to this terminal's environment:

    • Git: Enables the following features: git auth provider
     
     

    Please login or register to see this link.

     

     

    And looking at "Environment change - fibemu", I have:

    # Terminal Environment Changes
     
    ## Extension: vscode.git
     
    Enables the following features: git auth provider
     
    - `GIT_ASKPASS=c:\Users\ASUS\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh`
    - `VSCODE_GIT_ASKPASS_NODE=C:\Users\ASUS\AppData\Local\Programs\Microsoft VS Code\Code.exe`
    - `VSCODE_GIT_ASKPASS_EXTRA_ARGS=`
    - `VSCODE_GIT_ASKPASS_MAIN=c:\Users\ASUS\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js`
    - `VSCODE_GIT_IPC_HANDLE=\\.\pipe\vscode-git-0ce7b13c2e-sock`

     

    What I can do

    Link to comment
    Share on other sites

  • Topic Author
  • 1 hour ago, Christb said:

    Jgab wrote:

    In the latest version all "${file}" are changed to "${relativeFile}

    I think your issue is if you have python in your env path...

     

    I think you have not finish your reply...

    What I do not understand is that Python 3.11 is installed (as you asked);  I have been able to run in vscode terminal  "pip install -r requirements.txt" succesfully.

    Now, typing py, python3, python or the command "pip install -r requirements.txt" is giving this message:

    >>> python3
      File "<stdin>", line 1
        python 3
               ^
    SyntaxError: invalid syntax

     

    I acn see the same message for powershell and py


    Process ID (PID): 1396

    Command line: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe '-noexit' '-command' 'try { . "c:\Users\ASUS\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1" } catch {}'


    Shell integration failed to activate


    The following extensions have contributed to this terminal's environment:

    • Git: Enables the following features: git auth provider
     
     

    Please login or register to see this link.

     

     

    And looking at "Environment change - fibemu", I have:

    # Terminal Environment Changes
     
    ## Extension: vscode.git
     
    Enables the following features: git auth provider
     
    - `GIT_ASKPASS=c:\Users\ASUS\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh`
    - `VSCODE_GIT_ASKPASS_NODE=C:\Users\ASUS\AppData\Local\Programs\Microsoft VS Code\Code.exe`
    - `VSCODE_GIT_ASKPASS_EXTRA_ARGS=`
    - `VSCODE_GIT_ASKPASS_MAIN=c:\Users\ASUS\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js`
    - `VSCODE_GIT_IPC_HANDLE=\\.\pipe\vscode-git-0ce7b13c2e-sock`

     

    What I can do

     

     

    Unfortunately, I'm not a Windows person, so I'm a bit limited in my knowledge to support you.

    When I install Python 3.11 from the Windows 11 App Store (like in the instruction video in the first post), I end up with a python installation where the paths seems right.

    In vscode's terminal, if I type python3 I get

    Please login or register to see this attachment.

    The launch.json script in .vscode relies on there being a executable shell command/application named python3 (most launch.json for other languages relies on similar apps for their compilers/interpreters).

    So, maybe de-install python and re-install 3.11 using the App Store - that seems to have an installer that maybe does the right things... at least it worked for me.

     

     

     

    Link to comment
    Share on other sites

  • Topic Author
  • Developing your own QAs with fibemu

     

    For your own QA development have the repo 'fibemu' downloaded in a separate directory. Then create your own vscode development directory, and initialise that as a git repo if you want.

    With that open, do File->Add Folder to Workspace, and add the fibemu folder.

    This is what Vscode calls a "multi-root" workspace. You can resave this "workspace" as a X.code-workspace file that will reopen the multi-workspace again.

     

    Create a lua (QuickApp file) in your directory.

    First line in your QuickApp file should be the offset to your directory. It's only needed if you include other files with the --%%file= directive.

    Please login or register to see this code.

    So if you have a multi-root workspace now that looks like

    Please login or register to see this code.

    You set the root to ../myDirectory/

     

    You can also set root to "<automatic>" and it will try to automatically deduce the root in a multi-root setup.

    Please login or register to see this code.

    In most cases that will work (and if not set it manually). The advantage is that the workspace also work in a non-multi-root setup.

    Please login or register to see this attachment.

    Here is a multi-root setup. fibemu is added as a workspace folder.

    testfibemu is another workspace that has it's own config.json and 2 lua files.

    test.lua is the main file that includes foo.lua, so therefore test.lua has set --%%root=<automatic> to make sure that fibemu finds foo.lua.

     

    Then press F5 to start to debug. The launch commands and other will be taken from the fibemu folder.

    This way you can pull down new version of fibemu without messing up your own directory and development.

    Also, don't forget to setup your config.json with credentials (copy from fibemu/config.json.example)

     

    This works in several steps. Ex. I have the EventRunner5 project that runs in fibemu.

    To develop a custom version of EventRunner5 open a multi-workspace like

    Please login or register to see this code.

    We copy EventRunner5/EventRunner5.lua file to myEventRunner/EventRunnerSpecial.lua

    Here we need to do a trick with the root directive, in EventRunnerSpecial.lua

    Please login or register to see this code.

    from here EventRunnerSpecial.lua is runnable. You can include files etc....

     

     

     

    Edited by jgab
    Link to comment
    Share on other sites

    I have made some progress, I do not have anymore the error message for python3; this result after having desinstalled: python, Git and Visual studio and reinstall all.

    For this new installation, I have followed your video step by step and everything went well and as expected but...

     

    I have now an error when pressing F5 with QA_UI.lua which seems to explain that the server uvicorn is not there:


      File "D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricit�\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\.vscode\emufiles\__init__.py", line 1, in <module>
        import uvicorn
    ModuleNotFoundError: No module named 'uvicorn'

     

    I tried "pip install uvicorn "and get the following

    PS D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu> pip install uvicorn                     
    Requirement already satisfied: uvicorn in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (0.22.0)
    Requirement already satisfied: click>=7.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from uvicorn) (8.1.7)
    Requirement already satisfied: h11>=0.8 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from uvicorn) (0.8.1)
    Requirement already satisfied: colorama in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from click>=7.0->uvicorn) (0.4.6)

     

    It seems that uvicorn is installed but not recognised when run from the QA.

    I have found a directory C:\Users\ASUS\AppData\Local\Programs\Python\Python311\Lib\site-packages\uvicorn

    Also in Visual Studio uvicorn is shown in directory Packages as below:

    Please login or register to see this image.

    /monthly_2024_02/image.png.64730dbff30a5d66c8a9ae7030e1218a.png" />

     

    Again a path issue? but I don't know how to solve it.

     

     

    Edited by Christb
    ad picture ov vscode Puthon directories
    Link to comment
    Share on other sites

  • Topic Author
  • Ok, you seem to have added some Python extension that you are browsing (the workspace environment)

    You should not need to do that

    Instead open the top explorer (2 overlapping documents) and show me how your fibemu directory looks like?

    You should run your  QA_UI.lua there using the "Fibenv QA file..." launcher under the "Run & Debug"

    Link to comment
    Share on other sites

    Here a full screen of VS and Yes I have selected fibenv QA file(remote, HC3 access) and press F5 then

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

  • Topic Author
  • 55 minutes ago, Christb said:

    Here a full screen of VS and Yes I have selected fibenv QA file(remote, HC3 access) and press F5 then

    Please login or register to see this attachment.

    there is something strange with the Python environment.

    Can you open a shell outside vscode and do pip install -r requirements.txt from fibaro so it installs in the global library?

     

    Link to comment
    Share on other sites

  • Topic Author
  •  

    So it turns out that the command python3 uses the global environment and not the .venv that you may have installed the dependencies in. In practice, using a venv is better.

    A solution is to change .launch.json to use the command

    Please login or register to see this code.

    with a path that always point to the .venv of the workspace. In this way we always need to use a .venv.

    Someone knows a better way to configure it so it uses the venv if it exists else uses the global?

     
    Link to comment
    Share on other sites

  • Topic Author
  • Ha, I solved it

    Please login or register to see this code.

    I have pushed a version with launch.json using this.

    Link to comment
    Share on other sites

    I downloaded your new launch.json but none of the "comand":"python3" as change to   "comand": "${comand:python.interpreterPath}" so I did it manually.

    Unfortunately this is not changng the import uvicorn error message

    I tried to run pip install from the python3 window but get a syntax error message - new : my launch.json file attached

     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Edited by Christb
    add file attachement
    Link to comment
    Share on other sites

  • Topic Author
  • pip is s shell command, not inside python.

    Strange, I have the new launch.json... are you using pull or fetch when downloading new files?

    Just now, jgab said:

    pip is s shell command, not inside python.

    Strange, I have the new launch.json... are you using pull or fetch when downloading new files?

    I'm trying to keep fibemu generic so it should work for everyone. If you go into fibemu and start to change files you may run into issues (conflicts) when you download updated fibemu files..

    Link to comment
    Share on other sites

    @jgab

    after updating launch.json I have this error when I try to debug any QA

    Please login or register to see this image.

    /monthly_2024_02/image.png.36bedd9bf1291c1780fac9393be34e12.png" />

    Link to comment
    Share on other sites

    I download launch.json file for your github:

    Please login or register to see this link.

    and replace in fibemu the old one by this one

    I just modify my local launch.json file just to see if it was solving the issue (in fact not).

    A I am not yet at a state were F5 is using corrctly uvicorn so I will wait until you put in your repositery the new launch.json file and then use fetch command

     

    For your information, using pip install in the cmd application, I am getting the sme result than  doing it in vscode:

     


    C:\Users\ASUS>pip install -r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt


    Requirement already satisfied: fastapi==0.100.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from -r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 1)) (0.100.0)
    Requirement already satisfied: lupa==2.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from -r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 2)) (2.0)
    Requirement already satisfied: paho_mqtt==1.6.1 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from -r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 3)) (1.6.1)
    Requirement already satisfied: pydantic==1.10.9 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from -r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 4)) (1.10.9)
    Requirement already satisfied: Requests==2.31.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from -r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 5)) (2.31.0)
    Requirement already satisfied: requests_async==0.6.2 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from -r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 6)) (0.6.2)
    Requirement already satisfied: uvicorn==0.22.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from -r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 7)) (0.22.0)
    Requirement already satisfied: websocket_client==1.6.1 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from -r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 8)) (1.6.1)
    Requirement already satisfied: jinja2==3.1.2 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from -r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 9)) (3.1.2)
    Requirement already satisfied: starlette<0.28.0,>=0.27.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from fastapi==0.100.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 1)) (0.27.0)
    Requirement already satisfied: typing-extensions>=4.5.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from fastapi==0.100.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 1)) (4.9.0)
    Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from Requests==2.31.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 5)) (3.3.2)
    Requirement already satisfied: idna<4,>=2.5 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from Requests==2.31.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 5)) (2.10)
    Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from Requests==2.31.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 5)) (2.2.0)
    Requirement already satisfied: certifi>=2017.4.17 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from Requests==2.31.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 5)) (2024.2.2)
    Requirement already satisfied: http3==0.6.* in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from requests_async==0.6.2->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 6)) (0.6.7)
    Requirement already satisfied: click>=7.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from uvicorn==0.22.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 7)) (8.1.7)
    Requirement already satisfied: h11>=0.8 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from uvicorn==0.22.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 7)) (0.8.1)
    Requirement already satisfied: MarkupSafe>=2.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from jinja2==3.1.2->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 9)) (2.1.5)
    Requirement already satisfied: chardet==3.* in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from http3==0.6.*->requests_async==0.6.2->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 6)) (3.0.4)
    Requirement already satisfied: h2==3.* in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from http3==0.6.*->requests_async==0.6.2->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 6)) (3.2.0)
    Requirement already satisfied: rfc3986==1.* in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from http3==0.6.*->requests_async==0.6.2->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 6)) (1.5.0)
    Requirement already satisfied: hyperframe<6,>=5.2.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from h2==3.*->http3==0.6.*->requests_async==0.6.2->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 6)) (5.2.0)
    Requirement already satisfied: hpack<4,>=3.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from h2==3.*->http3==0.6.*->requests_async==0.6.2->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 6)) (3.0.0)
    Requirement already satisfied: colorama in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from click>=7.0->uvicorn==0.22.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 7)) (0.4.6)
    Requirement already satisfied: anyio<5,>=3.4.0 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from starlette<0.28.0,>=0.27.0->fastapi==0.100.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 1)) (4.2.0)
    Requirement already satisfied: sniffio>=1.1 in c:\users\asus\appdata\local\programs\python\python311\lib\site-packages (from anyio<5,>=3.4.0->starlette<0.28.0,>=0.27.0->fastapi==0.100.0->-r D:\Mes_documents_perso\St_Loup\St_Loup_Travaux_et_Fournisseurs\Electricité\Domotique\Domotique_ST_Loup\HC3\Vscode\fibemu\requirements.txt (line 1)) (1.3.0)

    [notice] A new release of pip is available: 23.2.1 -> 24.0
    [notice] To update, run: python.exe -m pip install --upgrade pip

     

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...