Skip to main content
2 votes
1 answer
84 views

I have a script that I load via: python = new PythonInterpreter(); String script = "script I loaded from somewhere" try { python.exec(script); } catch (Exception e) { ...
Robert's user avatar
  • 31
3 votes
2 answers
943 views

I have installed the Python development workload in Visual Studio 2022. When I try to execute 2+2 in the interactive window, there is no result and I only see the waiting mouse cursor. Is this ...
sukesh's user avatar
  • 2,345
2 votes
0 answers
65 views

I want to use a .sh file as a wrapper for executing Python because I need to import specific environment variables before running my Python scripts. The structure of my .sh file (my_python.sh) looks ...
Jonas Grutter's user avatar
0 votes
2 answers
654 views

I have Visual Studio Code (v 1.9) running on a Windows 10 machine. I want to use ESRI's Python interpreter and I selected that per this image: After that, if I use the Run (right arrow) toward the ...
IrfanClemson's user avatar
  • 1,779
1 vote
0 answers
157 views

I am trying to run python automation project on Mac M1 Pro OS 14.2.1 and I am getting the following error: ImportError: dlopen(/Users/{username}/PycharmProjects/EzeAuto/venv/lib/python3.8/site-...
Nishank Jain's user avatar
0 votes
0 answers
42 views

It seems that there are two things that are not being distinguished in some guides about this. When a function is running, there is its local scope, and some scopes above her on call stack. Each scope ...
user87035's user avatar
3 votes
2 answers
5k views

I encountered an error in one of my projects after a few months, and it wasn't there the last time I checked. I previously fixed a similar error in another project by deleting the virtual environment (...
Alok Marathe's user avatar
2 votes
1 answer
3k views

When I try to 'import requests' in my views.py, why is Visual Code Studio throwing this error: import "requests" could not be resolved from source Pylance A screenshot of the configuration ...
user1938887's user avatar

15 30 50 per page
1
2 3 4 5
9