Category "module"

How to import flutter module to a flutter project?

I have a flutter module project and I want to import it into another existing flutter project, how can I do this? I think this may not be possible since there w

Standalone exe file Python without Python installed

I am trying to create executable file from Python script with os, tkiner, pandas and xlsxwriter packages. I used pyinstaller, but always get error that pandas i

Can't import file from another directory which imports a file from the same directory (int Python)

So my project structure is the following: project/ src/ __init__.py utils.py model.py usage.py I now want to import functions f

is there a way to automate VMware snapshot deletion by setting a schedule through Ansible or rest API

I am trying to figure out if there is a way to automate VMware snapshot deletion through Ansible. I have found vmware_guest_powerstate.py"to be closest to it an

running exec inside a function when calling a module

I'm trying to assign a module's attribute to a variable using exec inside a function. color is a str like: 'jet', 'seismic', 'nipy_spectral', or something else.

Find syntax error IN SQL query using python

I want to parse sql file using python code and find any syntatical error present in the file. Is there any way to do it?

Nuxt/ESLint - Parsing error: Must use import to load ES Module

I am using Nuxt 2.15.7 in VS Code, using Node version 14.17.1 and the eslint extension. The problem I started seeing a red squiggly line under the 1st character

AWS CloudFormation NestedStacks vs Modules

In CloudFormation both nested stacks and modules encourage reusability by creating common components. From the AWS documentation it is not coming out when to us

Divi image module - generates a wrong path of image src

So when I create a page with an image module, the image cant be seen. And when I inspect the element the divi image module generates a wrong image src url - It

How can I import firebase app as browser module import?

I am trying to import firebase app (8.0.2) on the client side without bundler. I downladed the firebase-app.js from the CDN and host it on my server. The goal i

Module 'path_provider' not found

I have used several times the Xcode simulator for my flutter app. One time I tried to change the simulator to iPhone 11 Pro (don't know if it did or did not cau

Python can't find Blender Module

I've built Blender as a python module on Ubuntu. Ran make install which updated the site-packages. Running python3 -m site returns the following: sys.path = [

Pip install modules not installing

I imported the module requests within my project using: pip install requests Apparently the module implementation did not work. This is the error: File "scrap

Dynamic Bundle loading OSGI

I am new to OSGi so please help me out here. **I have 2 independent modules A and B for addition and multiplication respectively. Now in clientmodule i.e., i wa

How to install GroupPolicy module for PowerShell?

I just started writing scripts in PowerShell. The desired script is supposed to create a local GroupPolicyObject (GPO) which will be specified afterwards. Resea

Laminas Config Module Routing

I have started the latest tutorial for Laminas. The routing for a new module called Provider is not working A 404 error occurred Page not found. The requested

No module named 'enthought' issue

I am having problems with plotting a 3D array called 's'. This issue is due to an error telling me that no module named enthought exists although I have already

Beginner: Python sound modules not working (Circular Import)

After installation of playsound and simpleaudio modules to try simple commands in order to play some audio files I always get the following message. playsound:

How to make a window you can't exit with any python module?

I'm trying to make a classroom manager that can allow teachers to control the students' device during lesson.(Temporarily displaying a window to 'lock' the scre

How to prevent a function from being imported into another module in python

How can we restrict other modules from importing certain functions while allowing others. Desired behavior # module A: a.py def foo(): print('foo') def bar()