From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B24CFA0032; Wed, 11 May 2022 12:56:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61C25410F2; Wed, 11 May 2022 12:56:48 +0200 (CEST) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by mails.dpdk.org (Postfix) with ESMTP id 4C85140DDD for ; Wed, 11 May 2022 12:56:46 +0200 (CEST) Received: by mail-lj1-f180.google.com with SMTP id 4so2049214ljw.11 for ; Wed, 11 May 2022 03:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Cv2t2pU5gwrduAjm0XLpdYx+ZLm5GapV9ba1/dzk+Os=; b=QfI6B+gUZqz4el7nBhprbZcEXiz8MwqbIpv/ixUA9F0VBpYWFXbWoFL9FzpWFnIYH+ 5Jl0cR+oPIdRao/hEVajHsL05wjTQgEvNNHrUNh8tbm83rOmRYUHpZ65HH2nNbh8m9su VQEhiqTHhpM/P5w34adTTpI2FK7jG3C6DvfvQXLOJq0eAJzX7ffgPN5AJQlWL5D5WGri 8i6+77mTOmztr1ULoNr3vOXXP6skQvQZe4bZSbq2TIz2Hw12tCrOYXN1q2XUNAQOLBWW gE/SYIWaXHclEnUN21JW+5IZw1oKHDpZTmgcS6H05+XmwsrYuaBgR0D1noLnCJs0KUr8 SGpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Cv2t2pU5gwrduAjm0XLpdYx+ZLm5GapV9ba1/dzk+Os=; b=2Mbz6fmxM1CtjPYt1gaABfTmOxSwo2OKVtffNy5H/d7gnUfOHlIWA9rPwXs/808E87 BG4xKPNtPk+gowezvkkGTO+ZXpkeranKU4WYjtpga3hSch1gzxtFq7r/hktiJXitejLy 2D8SIL/BJbsNpZCClmwdo7sD4wKQUod2QCdIH2YSnXiW/qPKkbZ3ExpVigRH3hqiEK3M Q/sqrD/7Alww90xyY4NXi9fMPHCRSql022GTmSBLMjsdKFDR24/y3UlbsG6iCt+D0YEX nIGjwYr7EImqvV+N+iEmcR/IfTOwCY/6w4u9aOKY+mhqQPEbOmFc6E4boBHYNV1qZiv5 6kLg== X-Gm-Message-State: AOAM532FLe9sU+vsE4wRAL/igCxB0Zkk2zLg4EPJIfhRdgUT+nW4PzpD dAaRYlseEUBtMHYOJMfNueA= X-Google-Smtp-Source: ABdhPJxHORr4qT8x+cY92jox5qVe6uw7+BczSNLWyVsPhd3URIO0izPAmMqTfqtxmLl3H1klYUrb1g== X-Received: by 2002:a2e:1542:0:b0:249:a4dd:8ca5 with SMTP id 2-20020a2e1542000000b00249a4dd8ca5mr16666702ljv.303.1652266605575; Wed, 11 May 2022 03:56:45 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id d20-20020a196b14000000b00473c87152besm225859lfa.178.2022.05.11.03.56.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 03:56:44 -0700 (PDT) Date: Wed, 11 May 2022 13:56:43 +0300 From: Dmitry Kozlyuk To: "Varghese, Vipin" Cc: "dev@dpdk.org" , Bruce Richardson Subject: Re: [PATCH v2 0/3] doc: build on Windows Message-ID: <20220511135643.2e50fbbf@sovereign> In-Reply-To: References: <20220331212830.708912-1-dmitry.kozliuk@gmail.com> <20220406171012.87759-1-dmitry.kozliuk@gmail.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi Vipin, 2022-05-11 09:34 (UTC+0000), Varghese, Vipin: > For Windows I faced > > ``` > [528/682] Generating doc/guides/html_guides with a custom command > FAILED: doc/guides/html > "C:\Program Files\Meson\meson.exe" "runpython" "../buildtools/call-sphinx-build.py" "C:/Users/Administrator/AppData/Local/Programs/Python/Python310/Scripts/sphinx-build.EXE" "22.07.0-rc0" "C:/Users/Administrator/Desktop/docs/doc/guides" "C:/Users/Administrator/Desktop/docs/build/doc/guides" > Traceback (most recent call last): > File "mesonbuild\mesonmain.py", line 146, in run > File "mesonbuild\mesonmain.py", line 106, in run_runpython_command > File "runpy.py", line 269, in run_path > File "runpy.py", line 96, in _run_module_code > File "runpy.py", line 86, in _run_code > File "../buildtools/call-sphinx-build.py", line 10, in > from packaging.version import Version > ModuleNotFoundError: No module named 'packaging' > > ERROR: Unhandled python exception > ``` [...] > So the problem is narrowed down `sys.path` variation as > > ``` > Path from standalone run for call-sphinx-build.py: ['C:\\Users\\Administrator\\Desktop\\docs\\buildtools', 'C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python310\\python310.zip', 'C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python310\\DLLs', 'C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python310', 'C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages'] > > Path from ninja build for docs for call-sphinx-build.py: ['../buildtools', 'C:\\Program Files\\Meson\\base_library.zip', 'C:\\Program Files\\Meson\\lib-dynload', 'C:\\Program Files\\Meson'] > ``` Thanks for testing. The Linux issue seems to be exclusively related to you environment. For the Windows issue: I have both Meson and Sphinx installed via pip3, your setup seems to have Meson installed separately and using its own Python. Bruce, can you advise if Python tools are supposed to work when Meson's Python is different from the system Python?