Linked Questions
12 questions linked to/from Trace Python imports
0
votes
0
answers
54
views
Working with Python caffe and library path [duplicate]
Currently I am working with pycaffe and more specifically is working with faster rcnn library.
Faster rcnn has caffe-fast-rcnn caffe library.
I have a few caffe libraries built in my PC like ...
8
votes
4
answers
121k
views
ImportError: No module named pytesseract
I was following this guide https://realpython.com/blog/python/setting-up-a-simple-ocr-server/ and got to the part where I run cli.py python flask_server/cli.py but I get
python cli.py
Traceback (...
2
votes
3
answers
18k
views
How to uninstall TensorFlow completely?
I accidentally installed TensorFlow for Ubuntu/Linux 64-bit, GPU enabled. When I installed with Linux 64-bit CPU only, I am getting Segmentation fault while importing tensorflow from python console.
1
vote
2
answers
6k
views
Calling python script from a Bash script
I'm trying to call a python script from a bash script. I get import errors only if I try to run the .py from the bash script. If I run with python myscript.py everything is fine. This is my bash ...
3
votes
2
answers
5k
views
Error 'html5lib not found' when using pandas.read_html() function in conda env
Current code:
import requests
import pandas as pd
url = 'https://docs.anaconda.com/anaconda/user-guide/getting-started/'
html = requests.get(url, verify=False).content
df_list = pd.read_html(html, ...
2
votes
1
answer
2k
views
Import working in console but not in pyCharm
I had a python project with a lot of imports like:
from src.main.fr.some.module import someclass
and it was working good but my colleagues wanted the imports to be like:
from fr.some.module import ...
3
votes
1
answer
713
views
what is the correct import query for pocketsphinx ? [closed]
I cant use pocketsphinx api
while compiling decoder_test.py:
from pocketsphinx.pocketsphinx import *
ImportError: No module named pocketsphinx
I have installed pocketsphinx and sphinxbase correctly ...
0
votes
1
answer
777
views
How to call Verbose Imports?
how to pass a -v (verbose imports) flag to the embedded Python interpreter. Have given in the documentation.
I have tried with pyinstaller -v wxpython.py. It was displaying pyinstaller version. I am ...
2
votes
0
answers
532
views
caffe python layer error
When I run train, I get this error:
I0522 17:28:07.201007 2378 layer_factory.hpp:77] Creating layer binary_sim
*** Aborted at 1495441687 (unix time) try "date -d @1495441687" if you are using GNU ...
1
vote
2
answers
96
views
Fast/interactive development environment for python
I just posted a question here why python imports take as long as they do. Are there environments that don't require reinitializing modules? If so, what are they?
Details: I'm trying to learn basic ...
0
votes
0
answers
125
views
Python diagnose/log what the `import` statement does
In debugging some module issues, I would like to have insight into what exactly happens when I run import google (or any import modules).
Was it loaded or did it come from cache?
Where did it get ...
0
votes
0
answers
67
views
how can I find the line of code where a module is being imported
Somewhere in my library code I have a matplotlib.pyplot import. When I import one of my library modules I see that pyplot ends up getting imported (as evidenced by the fact that, in ipython notebook, ...