Top "Module" questions

A logical subdivision of a larger, more complex system.

Angular2 lazy loading module error 'cannot find module'

I was trying to find any solution for this error but nothing works for me. I have simple Angular2 App …

angular module lazy-loading
How do I "use" a Perl module in a directory not in @INC?

I have a module in the parent directory of my script and I would like to 'use' it. If I …

perl module relative-path
Python: logging module - globally

I was wondering how to implement a global logger that could be used everywhere with your own settings: I currently …

python logging module global-variables
Unable to use easy_install to install Python modules

I am trying to use easy_install to install a module called requests by doing easy_install requests This worked …

python module installation setuptools easy-install
How can I initialize a module's instance variables in Ruby?

I have some modules where I would like to use instance variables in. I'm currently initializing them like this: module …

ruby module instance-variables
No module named pandas_datareader

I have just installed pandas_datareader using pip install pandas-datareader which ran successfully. Now I am trying to use it …

python-3.x module python-import spyder pandas-datareader
Ruby: module, require and include

I'm trying to use Ruby modules (mixins). I have test.rb: #!/usr/bin/env ruby require_relative 'lib/mymodule' class …

ruby module mixins
django.core.exceptions.ImproperlyConfigured: Error loading psycopg module: No module named psycopg

Presently, I'm attempting to configure Django for use on a project, and am encountering a persistent error when I try …

python django module psycopg2 django-manage.py
Android Studio: “new module -> import existing project” vs. “import module”

What I have: Four independently working Android modules: MyProjectMainModule, a main container application, attached to MyProject MyGradleModule, a library, with …

android module android-studio android-gradle-plugin project-structure
ImportError: No module named serial

I have a script written in Python 3 with 3.3.5 installed, and I am getting this error from the terminal whenever I …

python macos python-3.x module pyserial