importerror Questions
4
Solved
I am working with pycrypto. It works fine on my local windows machine, but when I move it to my python box I get an error with importing the module:
from Crypto.Cipher import ARC4
ImportError: N...
Berhley asked 5/2, 2015 at 22:35
3
Solved
I built a .pyd in Visual Studio 2019 (Community) that provides a wrapper for some functionality that's only present in the LibRaw. The solution compiles successfully without any warnings or errors....
Atalee asked 22/1, 2020 at 13:6
5
Solved
I'm trying to convert some code from 2 to 3 and the following simple script
import types
from types import NoneType
Results in
ImportError: cannot import name NoneType
How can I convert the...
Gaitskell asked 5/4, 2013 at 22:34
5
Solved
I am using maven to develop a java project within visual studio code, and am currently trying to write a test class.
I have added junit as a dependency to my pom.xml file:
<dependency>
&l...
Leonhard asked 28/5, 2020 at 22:16
7
Solved
I have a problem when I run a .py file on a Macbook Air M1:
[Running] python3 -u "/Users/kaiyuwei/Documents/graduation project/metaheuristics/run_CRO.py"
Traceback (most recent call last)...
Pyrargyrite asked 9/7, 2022 at 10:19
5
This isn't the first time I am cringing over imports in Python. But I guess this one is an interesting use case, so I thought to ask it here to get a much better insight. The structure of my projec...
Knowledge asked 18/6, 2021 at 10:46
8
I'm trying to implement Dagger as a dependency injector in an IntelliJ project, but my code is failing on:
import javax.inject.Inject;
Intellij is finding the 'javax' package, but not the 'injec...
Glottochronology asked 31/10, 2013 at 23:55
10
Solved
Recently I start to get ImportError: DLL load failed: error when I import different libraries (for example scikit-learn or scipy and some others).
My assumptions is that I have broken something whe...
Photoengrave asked 28/12, 2016 at 15:51
3
As far as I can tell, I don't even need pytz for what I'm doing.
I'm re-learning python for image processing using the O'Reilly book 'Programming Computer Vision with Python' for work (and I'm als...
Abba asked 14/10, 2014 at 10:52
4
Solved
I'm using the transformers library in Google colab, and
When i am using TrainingArguments from transformers library i'm getting Import error with this code:
from transformers import TrainingArgumen...
Clomp asked 10/6, 2023 at 21:51
6
Solved
Can anyone help me solve this issue?
ImportError: dlopen(/Users/......./venv/lib/python3.6/site-packages/recordclass/mutabletuple.cpython-36m-darwin.so, 2): Symbol not found: __PyEval_GetBuiltinId...
Sportsmanship asked 19/3, 2020 at 16:22
7
Solved
I am building a webapp using Flask. I imported the flask-login library to handle user login. But it shows an ImportError.
Below is my folder structure:
>flask_blog1
>flaskblog
>static
&...
Adah asked 2/10, 2023 at 11:7
11
Solved
I use Spyder, with Python 2.7, on a windows 10. I was able to install the PyPDF2 package with a conda command from my prompt. I said installation complete. Yet, If I try to run a simple import comm...
Scottie asked 31/8, 2016 at 5:47
11
Solved
This is my first post and I am new to coding, so please let me know if you need more information. I have been running some AI to generate artwork and it has been working, but when I reloaded it the...
Opulence asked 6/2, 2022 at 21:54
4
I can't import scipy.stats and get the following error, but somehow
import scipy as sp
still works correctly.
Other library such as numpy, pandas can be imported without any problem.
I have t...
Consequent asked 12/4, 2019 at 22:4
8
Traceback (most recent call last):
File "g:\mydrive\ \pdftotext_pdfminer.py", line 3, in <module>
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter
File "...
Oleoresin asked 22/11, 2022 at 15:47
8
I followed the step how to install dlib python on Windows and it works on CMD but in Python's IDE it said ImportError: No module named 'dlib'
Scibert asked 16/10, 2018 at 6:52
4
Solved
I am trying to run an Arducam MT9J001 camera on a raspberry pi 3b+. I am getting the following error when I try to run the program, "ImportError: libcblas.so3: cannot open shared object file: ...
Unbacked asked 17/11, 2018 at 2:50
4
I know that it looks like duplicate, but the solutions which I found don't work for me.
I uninstalled MySQL 5.1 and installed 5.6, and I would like to import a previously exported SQL file back. Bu...
Passage asked 13/1, 2015 at 9:28
7
Error:
ImportError: DLL load failed while importing _ctypes : The specified module could not be found
Need: How to resolve this error? And launch jupyter notebook and use pip from the specific envi...
Edsel asked 23/8, 2022 at 12:12
8
Whenever I run my code with requests or do a pip install I get this message
/usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.2) or chardet (3.0.4...
Nelidanelie asked 15/5, 2019 at 18:29
18
Solved
I'm upgrading an application from Django 1.11.25 (Python 2.6) to Django 3.1.3 (Python 3.8.5) and, when I run manage.py makemigrations, I receive this message:
File "/home/eduardo/projdevs/upgr...
Tenno asked 12/11, 2020 at 15:48
8
I am getting ImportError : no module named 'requests'.
But I have installed the requests package using the command pip install requests.
On running the command pip freeze in the command prompt, ...
Jovia asked 29/5, 2015 at 17:13
3
I have a test setup file, which I made for a simple "hello world" script. I have a package named mytest which has a function hello. Now, I have a very simple setup.py. Everything works fine, if I j...
Paleobiology asked 10/12, 2010 at 3:23
2
I'm trying to import a module in a web worker that imports another module and getting the following error Uncaught SyntaxError: Cannot use import statement outside a module.
My web worker is import...
Nationwide asked 1/9, 2021 at 21:38
1 Next >
© 2022 - 2025 — McMap. All rights reserved.