• Register

Recent questions tagged module

0 votes
1 answer 2 views
Problem: How to fix this error: module' object has no attribute HELP! I need help understanding this error: module' object has no attribute Can someone please help fix this, I am new in python().
asked 1 day ago Mashhoodch 9.9k points
0 votes
1 answer 2 views
Problem: How to fix this error: unable to import module 'lambda_function' HELP! I need help understanding this error: unable to import module 'lambda_function' Can someone please help fix this, I am new in python() : unable to import module 'lambda_function'
asked 1 day ago Mashhoodch 9.9k points
0 votes
1 answer 2 views
Problem: How to fix this erro: attributeerror: module 'enum' has no attribute 'intflag' HELP! I need help understanding this error: attributeerror: module 'enum' has no attribute 'intflag' Can someone please help fix this, I am new in python: attributeerror: module 'enum' has no attribute 'intflag' Any ideas on what I need to do to fix this? Thanks!
asked 2 days ago Mashhoodch 9.9k points
0 votes
1 answer 11 views
Problem: If you happen to have from <module> import * in the middle of your program (or module), you would get the warning: /tmp/foo:100: SyntaxWarning: import * only allowed at module level I understand why import * is discouraged in general (namespace ... not shared with anyone. So, can anyone explain precisely in detail why from <module> import * should be prohibited in all possible cases?
asked Feb 20 Mashhoodch 9.9k points
0 votes
1 answer 10 views
Problem: I have an IntelliJ 14.1.2 Project consisting of two modules - one is an Android Gradle based module and the other is a Spring Java-based module with Maven. gps-trackman.v1 is my root project and I've not configured any outputs or facets for this project ... Project. I want to be able to build everything all together. Is it possible? I now get this error message in my IntelliJ Eventlog
asked Feb 20 Ali 5.4k points
0 votes
1 answer 17 views
Problem: fatal error: openssl/opensslv.h: no such file or directory
asked Feb 18 charles mathews 3.8k points
0 votes
1 answer 12 views
Problem: I have tried import urllib.request or import urllib The path for my urllib is /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/__init__.py I am wondering where is urlopen, or is my python module pointing to the wrong file?
asked Feb 18 Mashhoodch 9.9k points
0 votes
1 answer 10 views
Problem: I've added one task to launchd on Mac and during executing it I have an error which provided below: Traceback (most recent call last): File "/Users/develsites/packt_grabber/src/packtPublishingFreeEbook.py", line 10, in <module> import configparser ImportError: ... If I run the script inside in the src folder directly in terminal then it works correctly. How to solve this issue?
asked Feb 17 Mashhoodch 9.9k points
0 votes
1 answer 21 views
Problem: I'm trying to learn Python and am trying to execute a python file in terminal. I'm using 2.7.3 python version on my OS X. I've changed the directory in terminal to where the file is located, but I'm getting an error in terminal: >>> python ex1.py File "<stdin>", line 1 python ex1.py ^ SyntaxError: invalid syntax
asked Jan 27 Mashhoodch 9.9k points
0 votes
1 answer 37 views
Problem: I am working on an Angular 2 project. I am currently trying to install Angular CLI in my current project with the following npm install --save-dev @angular/cli@latest npm install Problem on startup ng serveI get the error The "@angular/compiler-cli" package was not ... at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19)
asked Dec 7, 2020 sasha 13.2k points
0 votes
1 answer 142 views
I am trying to pip install the MySQL-python package, but I get an ImportError. Jans-MacBook-Pro:~ jan$ /Library/Frameworks/Python.framework/Versions/3.3/bin/pip-3.3 install MySQL-python Downloading/unpacking MySQL-python Running setup.py egg_info for package ... /T/pip-build/MySQL-python Storing complete log in /Users/jan/.pip/pip.log Jans-MacBook-Pro:~ jan$ Any ideas?
asked Oct 24, 2020 psandprop 2.4k points
0 votes
1 answer 1.3K views
Problem: I am very new to Cucumber. Recently I was reworking my project in the Intellij into my modules and suddenly I came across below error: "C:\Program Files\Java\jdk1.8.0_181\bin\java.exe" "-Dorg.jetbrains.run.directory=C:\Users\Raphael\Documents\1_Code Stuff ... guru-pet-clinic" Error: Could not find or load main class cucumber.cli.Main Can some Cucumber expert help me in fixing above error?
asked Jul 27, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 77 views
Problem: I am very new to Keras. Now a days I am trying to use Keras (Sequential) but I am facing below error if I try to import it: File "kaggle_titanic_keras.py", line 3, in <module>     from keras.models import Sequential  File "/anaconda/lib/python2.7/site- ... 2.0.3 and recently 'upgraded' to Pandas 0.20.1 which I doubt is causing a problem but above error message says nothing about it.
asked Jul 21, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 516 views
Problem: Hello good soul, I have recently come to know with python &ldquo;lxml&rdquo; module. I was willing to use this toolkit in my python script. Thus I wrote from lxml import etree ImportError: No module named lxml and got that above error. Then I ... the development packages of libxml2 and libxslt are installed ** What&rsquo;s wrong in my procedure? Could you please figure it out? Thanks.
asked May 18, 2020 adamSw 11.3k points
1 vote
1 answer 102 views
Problem: I am using a MacBook pro for my python development work. Right now I&rsquo;ve installed the nltk module on my machine by following a tutorial on YouTube. once I am trying to import the module in my script it&rsquo;s producing an error of: ImportError: No module ... . Do you know I am having this kind of error? Please, pull me up from this problem. I appriciate your concern Thanks, mate.
asked May 18, 2020 adamSw 11.3k points
1 vote
1 answer 1.3K views
Problem: Hello there, I am using Python 3.5 in my Ubuntu 18.04 LTS based computer. I am trying to import a module named openpyxl in my script but somehow it&rsquo;s not happening for me. It says, module not found error: no module named 'openpyxl' Traceback ... the solution to this specific issue. Therefore, I come to this forum. Hopefully, you&rsquo;ll solve the problem and save my time. Thanks.
asked May 18, 2020 adamSw 11.3k points
1 vote
1 answer 123 views
Problem: Hello Kodlogs, Could any of you, please tell me what is module not found error: no module named 'quandl' error? I am trying to import the quandl module in Python-3.5.2 but it&rsquo;s not working in my case and produces an error. Here is the error I ... on my Ubuntu-based machine. Could you please find the error and give me a legit solution? I am looking forward to hearing for you. Thanks.
asked May 18, 2020 adamSw 11.3k points
0 votes
2 answers 268 views
Problem : When I open python and enter import mapnik, the following error comes and python exits: >>> import mapnik Fatal Python error: PyThreadState_Get: no current thread Abort trap: 6
asked Oct 22, 2019 peterlaw 6.9k points
To see more, click for the full list of questions or popular tags.