Linked Questions

12 questions linked to/from Trace Python imports
0 votes
0 answers
54 views

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

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 (...
Bogdan Daniel's user avatar
2 votes
3 answers
18k views

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

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 ...
Levenlol's user avatar
  • 415
3 votes
2 answers
5k views

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

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 ...
Luc Giffon's user avatar
3 votes
1 answer
713 views

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 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

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 ...
MoneyBall's user avatar
  • 2,633
1 vote
2 answers
96 views

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

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 ...
George Mauer's user avatar
0 votes
0 answers
67 views

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, ...
unsorted's user avatar
  • 3,294