Category "module"

Unable to call a function from a custom module

I am trying to try my hands on NLP. Below is my model, from keras import backend as K K.clear_session() latent_dim = 500 # Encoder encoder_inputs = Input(s

How to fix Pylint's false positive Unable to import error?

For last couple of hours I was trying to figure out what's the Pythonic way of importing modules from parent directory and from sub-directories. I made a projec

How to install PyCrypto for Python 3.9?

My question is: how to install PyCrypto on windows and python 3.9? When I typed pip install pycrypto to the commandline(cmd or powershell) I get an Error. E

How to check if file is in folder and import it in Python

I am making a programming language in Python called Simpl-Py. I want to add the capability for users to create modules and import them into my language. Instead

Installing modules on IDLE

I am fairly new to Python and am trying to install matplotlib and numpy onto the IDLE from python.org. I am using a Mac, and everything online tells me to use t

How to use the npm module gs1-barcode-parser?

I want to extract the price value from the GS1 data martix QR code value using Nodejs. Using the module npm i gs1-barcode-parser Tried the below throwing "pars

Python module implemented like a package

I have an application containing a package, thus: * fruits/ | citrus/ | | __init__.py | | oranges.py | | mandarins.py | | satsumas.py | | ... etc T

is there a way of adding package/module to livetex (Latex) manually

Note: I am using Linux ubuntu And I am using latex for compiling a file to get pdf. The file contains a pseudocode of an algorithm but it requires a package t

How to use npm modules in browser? is possible to use them even in local (PC)?

I'm new to npm module and node.js so it is really difficult to me. I have a js code whit many points and for each one of them I want to get the nearest city. To

Vue cannot find module image location

I'm having a problem with my project not finding the path to my png images. I know the path is correct because if I use a basic hard coded src="../assets/die1.p

Project already contains module with this name -- Android Studio

I had successfully imported a Module in my Application project in Android Studio. Then I deleted or removed the module by following the below link: How to dele

Plot a local image using bokeh image_url by running python with the -m option

I have to run a bokeh script as a module using the -m option from the top directory, because it needs to import some other portable module under the same direct

Python 3: ImportError "No Module named Setuptools"

I'm having troubles with installing packages in Python 3. I have always installed packages with setup.py install. But now, when I try to install the ansicolors

Django Import Error: No module named apps

I just checked out a project with git. The project structure is project apps myapp settings __init__.py __init__.py manage.py

Move struct into a separate file without splitting into a separate module?

I have this file hierarchy: main.rs protocol/ protocol/mod.rs protocol/struct.rs In struct.rs: pub struct Struct { members: i8 } impl Struct { pub

Google Play Console Package Name

I have one application of Trivia, the package name is es.test.triv.sh, there are all things for play one player, I have add a new feature is a multi-player opti

Getting an exception "Failed to start service jboss.module.service" for spring portlets

Thanks for your time the version we are using liferay 6 - jboss 7 and here is the error exception getting when trying to avoid the lib folder consisting sprin

Module with multiple providers

I have a question regarding the following. I am using terraform with fortios provider tree: these are my providers in the root-prod: provider "fortios" { hos

Blender import python module

I am running Blender 2.49 with Python27 (for testing) and am trying to import webbrowser and os. When I try webbrowser the console returns "no module named webb

Modules that need to be instantiated by Hilt must have a visible, empty constructor

@Module @InstallIn(SingletonComponent::class) class WheelModule constructor(val size:Int) { @Provides fun provideWheel():Wheel = Wheel(size) } Module