profile
viewpoint

microsoft/pyright 6153

Static type checker for Python

huguesv/AgiPlayer 5

An implementation of Sierra's popular AGI adventure game engine in C#

huguesv/BatchProcess 0

A user interface to configure batch processing of files.

huguesv/bottle 0

bottle.py is a fast and simple micro-framework for python web-applications.

huguesv/cookiecutter-ptvs-ext-demo 0

Cookiecutter template that demonstrates some extended features of VS cookiecutter support

huguesv/cookiecutter-ptvs-test-project-generator 0

Cookiecutter for generating test code for Visual Studio

huguesv/cookiecutter-ptvs-test-pyodbc 0

Query examples for adventure works database using pyodbc

huguesv/DotNet47ControlLibrary 0

For testing purposes.

huguesv/PTVS 0

Python Tools for Visual Studio

huguesv/PyBoy 0

Game Boy emulator written in Python

push eventmicrosoft/PTVS

Adam Yoblick

commit sha c90acae29b73b959a9afcfe5a392824ecbf37592

run PyLint and MyPy at ProjectHome instead of .pyproj directory

view details

Adam Yoblick

commit sha 006ac177898f79ac4cbf6be2d2102131b44c67d8

Merge pull request #6370 from AdamYoblick/wrong_working_directory run PyLint and MyPy at ProjectHome instead of .pyproj directory

view details

push time in 5 hours

issue closedmicrosoft/PTVS

Wrong working directory for PyLint and MyPy

Targets PythonRunPyLintCommand and PythonRunMypyCommand use WorkingDirectory set to $(MSBuildProjectDirectory) that is wrong if ProjectHome property set to something other than '.'.

That results in errors like:

************* Module access.py
access.py(1,0): warning F0001: No module named access.py [F:fatal]

Correct value for WorkingDirectory is $(QualifiedProjectHome).

closed time in 5 hours

x-santiaga-x

pull request commentmicrosoft/PTVS

run PyLint and MyPy at ProjectHome instead of .pyproj directory

@bschnurr , no, I didn't look for any other instances of MSBuildProjectDirectory. This is a case where that value is not valid, but there are many cases where it is. I'd rather just fix one bug at a time and not scope creep on this, since this is an easy fix. 😄

AdamYoblick

comment created time in 7 hours

Pull request review commentmicrosoft/PTVS

run PyLint and MyPy at ProjectHome instead of .pyproj directory

 permissions and limitations under the License.     <CreatePythonCommandItem Target="pylint"                              TargetType="module"                              Arguments="&quot;--msg-template={abspath}({line},{column}): {category} {msg_id}: {msg} [{C}:{symbol}]&quot; -r n @(Compile, ' ')"-                             WorkingDirectory="$(MSBuildProjectDirectory)"+                             WorkingDirectory="$(QualifiedProjectHome)"

Here's where it gets set, on line 135:

    <QualifiedProjectHome Condition="'$(ProjectHome)' != '' and '$(ProjectHome)' != '.'">$([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(MSBuildProjectDirectory), $(ProjectHome)))))</QualifiedProjectHome>
AdamYoblick

comment created time in 7 hours

Pull request review commentmicrosoft/PTVS

run PyLint and MyPy at ProjectHome instead of .pyproj directory

 permissions and limitations under the License.     <CreatePythonCommandItem Target="pylint"                              TargetType="module"                              Arguments="&quot;--msg-template={abspath}({line},{column}): {category} {msg_id}: {msg} [{C}:{symbol}]&quot; -r n @(Compile, ' ')"-                             WorkingDirectory="$(MSBuildProjectDirectory)"+                             WorkingDirectory="$(QualifiedProjectHome)"

It's the ProjectHome of the pyproj. When you open from existing code, ProjectHome gets set to something other than .. But MSBuildProjectDirectory always points to the directory containing your pyproj, even if the actual code files live somewhere else.

So that's why this is currently broken when creating a project from existing code, since the MSBuildProjectDirectory will have no python files underneath, which causes pylint and mypy to blow up when trying to run them.

AdamYoblick

comment created time in 7 hours

Pull request review commentmicrosoft/PTVS

run PyLint and MyPy at ProjectHome instead of .pyproj directory

 permissions and limitations under the License.     <CreatePythonCommandItem Target="pylint"                              TargetType="module"                              Arguments="&quot;--msg-template={abspath}({line},{column}): {category} {msg_id}: {msg} [{C}:{symbol}]&quot; -r n @(Compile, ' ')"-                             WorkingDirectory="$(MSBuildProjectDirectory)"+                             WorkingDirectory="$(QualifiedProjectHome)"

defined above. looks like it adds a ending backslash or the projectHome dir

AdamYoblick

comment created time in 7 hours

pull request commentmicrosoft/PTVS

run PyLint and MyPy at ProjectHome instead of .pyproj directory

Kudos, SonarCloud Quality Gate passed!

<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug.png' alt='Bug' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Bugs
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability.png' alt='Vulnerability' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Vulnerabilities
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot.png' alt='Security Hotspot' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Security Hotspots
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell.png' alt='Code Smell' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Code Smells

<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo.png' alt='No Coverage information' width='16' height='16' /> No Coverage information
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo.png' alt='No Duplication information' width='16' height='16' /> No Duplication information

AdamYoblick

comment created time in 7 hours

Pull request review commentmicrosoft/PTVS

run PyLint and MyPy at ProjectHome instead of .pyproj directory

 permissions and limitations under the License.     <CreatePythonCommandItem Target="pylint"                              TargetType="module"                              Arguments="&quot;--msg-template={abspath}({line},{column}): {category} {msg_id}: {msg} [{C}:{symbol}]&quot; -r n @(Compile, ' ')"-                             WorkingDirectory="$(MSBuildProjectDirectory)"+                             WorkingDirectory="$(QualifiedProjectHome)"

what is QualifedProjecthome actually represent?

AdamYoblick

comment created time in 7 hours

pull request commentmicrosoft/PTVS

run PyLint and MyPy at ProjectHome instead of .pyproj directory

did you look for other commands using MSBuildProjectDirectory?

AdamYoblick

comment created time in 7 hours

issue commentmicrosoft/PTVS

Wrong working directory for PyLint and MyPy

Yep, seems to work for me no matter what ProjectHome is set to with your change. I'll get a PR up.

x-santiaga-x

comment created time in 7 hours

issue commentmicrosoft/PTVS

Wrong working directory for PyLint and MyPy

Thank you for the details, I'm able to repro this problem when creating a new python application from existing code, which does set the ProjectHome to something other than ..

I will modify the targets file as you suggest and make sure it works 😄

x-santiaga-x

comment created time in 8 hours

issue closedmicrosoft/PTVS

The VS is crash after clicking "Open additional output for this result"

Envitonment image

Steps to Reproduce

  1. Open/Create a Python project, right-click project, select Add > New Item …, then select "Python Unit Test" followed by "Add"
  2. Open the Property page ->Test-> Change the Test Framework to unittest
  3. Run the test
  4. Check the result and click "Open additional output for this result" image

Expected behavior The result page display without any error.

Actual result The VS is crash.

Error events log Error events.zip

closed time in 8 hours

linette-zyy

issue commentmicrosoft/PTVS

The VS is crash after clicking "Open additional output for this result"

I've been unable to repro this, so I'm going to close it out. If it repros again, please re-open. Thanks.

linette-zyy

comment created time in 8 hours

issue commentmicrosoft/PTVS

Failed to launch debug adapter in romote debugging with debugpy.

@int19h, could you look at this please?

zhouwangyang

comment created time in 10 hours

issue openedmicrosoft/PTVS

Failed to launch debug adapter in romote debugging with debugpy.

Python Environment: image

Steps to Reproduce 1.Typing code in .py and set breakpoint in the code.

input('>')
print('hello')

2.Install "debugpy" in the current python environment. 3.In command prompt(right-click the python environment and select "Open Command Prompt Here…"), execute: python -m debugpy --listen 127.0.0.1:4022 C:\Users\vwazho\source\repos\PythonApplication1\PythonApplication1\PythonApplication1.py 4. Launch VS and Debug > Attach to Process, in dialog: a. Select connection type with Python remote(ptvsd) b. Connection target with 127.0.0.1:4022 c. In Available processes list, select the appropriate python.exe, click "Attach" 5. Type enter in the console 6.Check that it stops at the breakpoint Expected behavior remote attach successfully with no errors

Actual behavior error dialog pop up when attaching. image

created time in 19 hours

issue openedmicrosoft/PTVS

Wrong working directory for PyLint and MyPy

Targets PythonRunPyLintCommand and PythonRunMypyCommand use WorkingDirectory set to $(MSBuildProjectDirectory) that is wrong if ProjectHome property set to something other than '.'.

Correct value for WorkingDirectory is $(QualifiedProjectHome).

created time in 21 hours

pull request commentmicrosoft/PTVS

"-"

Kudos, SonarCloud Quality Gate passed!

<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug.png' alt='Bug' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Bugs
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability.png' alt='Vulnerability' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Vulnerabilities
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot.png' alt='Security Hotspot' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Security Hotspots
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell.png' alt='Code Smell' width='16' height='16' /> <img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' /> 0 Code Smells

<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo.png' alt='No Coverage information' width='16' height='16' /> No Coverage information
<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo.png' alt='No Duplication information' width='16' height='16' /> No Duplication information

peezoslug

comment created time in a day

PR opened microsoft/PTVS

"-"
+83 -7

0 comment

12 changed files

pr created time in a day

push eventmicrosoft/PTVS

Adam Yoblick

commit sha cedd42c8e00838242b4775f6716cdbab6aaad780

custoimize variable presentation using tools options page

view details

Adam Yoblick

commit sha 359d6720d06af80f3e595da3ab47002da2cb1464

add some error handling

view details

Adam Yoblick

commit sha 754066b10b449abe0b65ad9cc6307ef50b707b4c

simplify combobox item population

view details

Adam Yoblick

commit sha 3509f407fdd0651500bdc733d912b04bed64eca9

add default presentation mode to avoid all the hardcoded values

view details

Adam Yoblick

commit sha c6b38acaca2665cbc5f5bf6acdc7b14beb99e9b7

Merge branch 'master' of https://github.com/microsoft/PTVS

view details

Adam Yoblick

commit sha 71c92a5d501f05d0e54ebf12a24bdc246b33a36d

Implemented VS UXBoard feedback

view details

Adam Yoblick

commit sha b5e38ce254348acce692b4cbe05c449df2c28c2b

Merge pull request #6337 from AdamYoblick/master

view details

push time in a day

PR merged microsoft/PTVS

Reviewers
Customize variable presentation using tools options page

Fixes #6334 Fixes #6342

Definitely open to UI changes or approvals if we need, I'm not familiar with the process.

Here's what it looks like:

image

image

It also fixes the immediate window from showing too much information:

image

+557 -17

11 comments

7 changed files

AdamYoblick

pr closed time in a day

issue closedmicrosoft/PTVS

debugging immediate window display problem

This issue has been moved from a ticket on Developer Community.


problem debugging using python. even if i want to see a simple data frame in the immediate window it prints a lots of extra unncecessary things. makes it annoying while debugging. as you see in the picture. If i create a simple df and type in 'test' and hit enter it prints all these *.


Original Comments

Feedback Bot on 1/7/2021, 09:27 PM:

<p>We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.</p>


Original Solutions

(no solutions)

closed time in a day

vsfeedback

issue closedmicrosoft/PTVS

Allow user to customize variable presentation when debugging through Visual Studio

Same as the vscode request at https://github.com/microsoft/vscode-python/issues/12373

Describe the feature you are requesting I want to be able to customize how variables are presented in the visual studio debugger (hide built-in functions, for example).

Reasons for requesting this feature Less noise, makes debugging more efficient. This is also requested by vscode users, as well as a dev community ticket for PTVS.

Describe alternatives you've considered There are no alternatives, there's no way to hide the extra stuff.

Additional context Here's a screenshot of a repro:

image

Remaining tasks:

  • [x] Proof of concept
  • [x] Create variable presentation options at Tools -> Options -> Python -> Debugging
  • [x] Remove hardcoded POC values and hook up to options page
  • [ ] Coordinate with VS UI team to get options page UI approval?
  • [ ] Coordinate with vscode team to synchronize releases?

closed time in a day

AdamYoblick

pull request commentmicrosoft/PTVS

Customize variable presentation using tools options page

Everything seems to be working just fine, and I implemented all the UXBoard suggestions, so I'm going to merge this in and insert into VS.

AdamYoblick

comment created time in a day

issue openedmicrosoft/PTVS

lost python

This issue has been moved from a ticket on Developer Community.


[regression] [worked-in:2019 year update with C++ C# C in 2020] 2019 year used only python update with C++ C# C in 2020 lose python get only C all


Original Comments

Feedback Bot on 1/20/2020, 11:30 PM:

<p>We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.</p>

Feedback Bot on 2/5/2020, 01:15 AM:

We will close this report in 14 days because we don’t have enough information to investigate further. To keep the problem open, please provide the requested details.

Mila Zhou[MSFT] on 2/9/2020, 11:57 PM:

<p>Posting by Hugues Valois:<br> Thanks for the feedback. Could you please clarify what is missing? It sounds like it’s the whole Python workload that got uninstalled when you upgraded. What does the installer screen show when you click “Modify”? Does it say that Python workload is there when in fact it isn’t? Or are you talking about CPython 2.7/3.7 (python.exe) that is bundled with VS that is now missing? If you could include a screenshot of the installer when you click Modify, that could be useful. Thanks Hugues.</p>

sc20ka on 2/12/2020, 07:27 AM:

<p>After update I lost python like </p><p>Try create project, have no python this page</p><p>Try open .py file they can not know syntax of python</p><p>Cannot run program by f5</p><p>They just installed me c++ and full disable python module for VS</p><p>Full delete</p><p>Full install what modules and packet me need </p><p>Working </p><p>One what I did do </p><pre>until c ++ is added it is reinstalling python and pip manually through the installer but after that everything worked, and after updating and adding c ++ everything disappeared, python is lost Google Translate

Reinstall cuz I need Reinstall 3.7 This and I have Why reinstall? Cuz not working launch and add module by pip <br></pre>


Original Solutions

(no solutions)

created time in a day

issue openedmicrosoft/PTVS

Navigation bar empty in Python

This issue has been moved from a ticket on Developer Community.


[regression] [worked-in:16.5 Preview 1?] Both sides of the navigation bar are blank, though when I click on them they "drop down" with several empty lines. This is with python code.

I believe this was working fairly recently, though it's possible I'm mistaken.

Initially I was working with an existing code base without a VS project or solution. Partly because of this problem, I created a solution (python application) in the existing directory. It did not initially include any of the files in that directory, but by add (sub)directories and files to the solution I got everything back.

I have also renamed one of the intermediate directories from lower to upper case. When I click on properties for one of the files in the solution it shows a full path that uses the lower case directory still. But the problem I'm reporting here preceded that change.

There are no errors or messages I can see; one of the files has a green circle with a check at the bottom with the "No issues found". I tried Build | Run code analysis of solution.

When I first load the project the Visual Studio python background analyzer uses a lot of CPU


Original Comments

Feedback Bot on 2/2/2020, 08:24 PM:

<p>We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.</p>

Feedback Bot on 3/12/2020, 09:27 PM:

I have detected that for the last 35 days, this issue didn't have much product team activity and a very small amount of new votes or comments. Based on this, its severity, and affected area, it’s my experience that this issue is very unlikely to be fixed.

Mikhail Arkhipov [MSFT] on 4/3/2020, 07:03 PM:

<p>Hello. Are you still experiencing issues with 16.5.2 or 16.6 Preview 2? Thanks!</p>

Luminita Cristiana Totu on 10/8/2020, 03:28 AM:

<p>I have Visual Studio 16.7.5</p> <p>The navigation bar for python code is empty. ( Should have had the classes and methods for easy in-file code navigation )</p> <p>I have for now a single python file with multiple classes.</p> <p>I tried opening the file alone, open folder, and create project. The navigation bar remains empty.</p>

Feedback Bot on 4/14/2020, 11:03 PM:

We will close this report in 14 days because we don’t have enough information to investigate further. To keep the problem open, please provide the requested details.

Ross.Boylan on 4/29/2020, 04:53 PM:

<p>I am still seeing it in VS 2019 16.6.0 Preview 4</p><p>It's kind of weird; I think I remember this working in the past.</p><p>In the solution properties page | Common Properties | Code Analysis Settings it says "There are currently no analyzable projects loaded." Not sure if the code analysis referred to here is the same as the code analysis that populating the navigation bars requires.</p><p>When I created the project it created a .py file with the same name; that file is empty. My actual code is in a different file which is also in the project. When I view that file I get nothing in the nav bars.</p>

Luke Rissacher on 1/3/2021, 05:18 PM:

<p>I also have this issue (VS2019 community). "Navigation bar" is always empty for python files, despite being an option under Options > Text Editor > Python > General.</p><p>It works OK for C++ and JavaScript.</p>

Sebastien Binet on 1/19/2021, 04:14 PM:

<p>I have the same behavior that just started in </p><p> Microsoft Visual Studio Community 2019 Preview Version 16.7.0 Preview 6.0.</p><p>I was working fine up to 10 minutes ago (my functions were visible in the dropdown list) and suddenly (without even closing visual studio), the dropdowns are empty.</p><p>I have closed Visual Studio and re-opened it, but the problem is still there for all my python files.</p><p>-----------------</p><p>Additional info 1: it happened about the same time has my function comments changed from green to orange at the bottom on the file I was editing. Now all my function comments are orange! </p><p>Additional info 2: This is related to the visual studio project, because if I create another visual studio project in the same solution, the dropdowns of the new project are working fine.</p>


Original Solutions

(no solutions)

created time in a day

issue openedmicrosoft/PTVS

VS2019 Community Edition (version 16.5.3), open Python project within 3-5 seconds exit, expect to explain!

This issue has been moved from a ticket on Developer Community.


Open a simple Python pilot project, and the Visual Studio development platform automatically exits for a short time.


Original Comments

WxjPSIS on 4/23/2020, 10:43 PM:

新建Python3.7项目, VS开发平台可正常运行,Python项目可正常调试。退出后,重新打开该新建的项目,VS开发平台3-5秒内即退出,不知何故?

Feedback Bot on 4/24/2020, 00:00 AM:

<p>We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.</p>

Wade Zhou [MSFT] on 4/29/2020, 05:01 AM:

<p>thanks for your feedback, I could not repro your issue on the latest vs build, you can install the latest vs build and retry, if this issue still exist, you can provide the detailed information to help us repro this.</p>

Feedback Bot on 5/5/2020, 10:50 PM:

We will close this report in 14 days because we don’t have enough information to investigate further. To keep the problem open, please provide the requested details.

WxjPSIS on 5/6/2020, 08:11 AM:

升级到16.5.4后,出现如下问题:<br>1)新建Python 3.7.5项目,按“创建”后,出现“0x000000002DE3D967指令引用了0x0000000000000000内存的错误”。<br>2)打开只含有简单测试模块的Python3.7.5项目,出现“0x000000002AA3D967指令引用了0x0000000000000000内存的错误”。 Python测试模块PA_000.py如下:<br> import sys<br> def main(*argv):<br> a = [2, 3, 4]<br> print(a)<br><br> if name == 'main':<br> main(*sys.argv)


Original Solutions

(no solutions)

created time in a day

issue openedmicrosoft/PTVS

Empty exception thrown in Python after VS update

This issue has been moved from a ticket on Developer Community.


[severity:I'm unable to use this version] [regression] [worked-in:cant remember] Dear reader, after my recent upgrade of Visual Studio Communit 2019 (16.8.2) I experience problems with my Python code that was not giving problems before, and moreover, is not giving problems when ran outside of Visual Studio. That is a weird case. Moreover, the Exception that is thrown is empty without any further details.

These are the details of the Exception: Message= Source=layout1_front_page.py StackTrace: File "layout1_front_page.py", line 115, in select_data raise PreventUpdate File "app.py", line 155, in wrap response = f(*args, **kwargs)


Original Comments

I Bleylevens on 11/24/2020, 02:45 AM:

(private comment, text removed)

Feedback Bot on 11/24/2020, 02:59 AM:

<p>We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.</p>

I Bleylevens on 11/24/2020, 07:07 AM:

(private comment, text removed)

Jude Kavalam [MSFT] on 11/24/2020, 00:01 PM:

<p>Thanks for the report. From looking at the screenshot you have sent, the code calling the callback function select_data() is sending you None for table. So, my recommendation is that you look at why that is. Could be an table/db access problem or something similar. Also, since it is working fine in other environments, you might be able to compare the state before the callback to find the differing behavior. Have you tried running it in VS Code?</p> <p>If all else fails, I’d recommend creating a new environment in Visual Studio and trying again.</p> <p>Thanks and sorry I could not give you a more definitive answer.</p> <p><strong>Why do we ask for more info?</strong><br> We try to reproduce all issues reported with the information provided in the description and comments. When we can’t reproduce the issue, we ask you for more information so we can resolve the issue as quickly and efficiently as possible.<br> In our <a target='_blank' href="https://aka.ms/vsfeedbackguidelines/#writing-a-good-bug-report-or-feature-suggestion">guidelines</a>, you can get tips on how to provide clear and simple reproducible steps.</p>

I Bleylevens on 11/25/2020, 05:55 AM:

(private comment, text removed)

I Bleylevens on 11/26/2020, 10:07 AM:

<p>Can you see my ZIP file ? I uploaded it twice…</p>

Graham Wheeler [MSFT] on 11/30/2020, 03:46 PM:

<p>If this is Python code and you are running it with the same Python interpreter, it should not be being caused by VS. It might be caused by differences in your path, differences in virtual environments, or differences in Python interpreter.</p> <p>It might be worth adding this code at the start of your script:</p> <pre><code><span class="hljs-keyword">import</span> sys print(sys.path) print(sys.version) </code></pre> <p>That will at least confirm if there are differences in the Python version or the package search paths between the working and non-working execution. Please see if that helps and report back.</p>

I Bleylevens on 12/2/2020, 04:03 PM:

(private comment, text removed)

I Bleylevens on 12/2/2020, 04:12 PM:

(private comment, text removed)

I Bleylevens on 12/8/2020, 04:23 PM:

(private comment, text removed)


Original Solutions

(no solutions)

created time in a day

more