importerror

import error; no module named Quandl

限于喜欢 提交于 2019-12-03 23:57:38
I am am trying to run the Quandl module on a virtualenv which I have uninstalled packages only pandas and then Quandl, I am running Python 2.7.10 - I have uninstalled all other python versions, but its still giving me the issue of 'ImportError: No module named Quandl'. Do you know what might be wrong? Thanks Try with lower case, import is case sensitive and it's as below: import quandl Did you install with pip? If so ensure quandl is among the listed installed modules with pip list Otherwise try help('modules') To make sure it was installed properly. If you don't see quandl listed , try to

Python — read_pickle ImportError: No module named indexes.base

非 Y 不嫁゛ 提交于 2019-12-03 22:11:25
I write a numeric dataframe to .pkl file in a machine (df.to_pickle()), for some reason, I have to open this file in a different machine (pd.read_pickle()), I get an Import Error saying: No module named indexes.base, and when I try to import indexes, there doesn't seem to have one. When I tried to_csv in a machine and read_csv in a different one, it worked. Many Thanks! ImportError Traceback (most recent call last) <ipython-input-199-2be4778e3b0a> in <module>() ----> 1 pd.read_pickle("test.pkl") C:\Users\AppData\Local\Continuum\Anaconda2\lib\site-packages\pandas\io\pickle.pyc in read_pickle

ImportError when using rpy2 with numpy.testing

ε祈祈猫儿з 提交于 2019-12-03 20:19:15
I've run into a rather strange error when doing unit testing with the numpy.testing module. I'm running an iPython notebook in a VM. In my code, I have one test where I compare my output to that in R. This requires me to load the rpy2 modules like so: import rpy2.robjects as robjects from rpy2.robjects.packages import importr fastclime = importr('fastclime') grdevices = importr('grDevices') However when I run ! py.test , I get the following error: ==================================== ERRORS ==================================== _____________________ ERROR collecting test_fastclime_R.py ________

“ImportError: No module named tkinter” when using Pmw

倖福魔咒の 提交于 2019-12-03 18:10:24
问题 Here's my problem: I'm running the code in this example. I have Python 2.7 and 3 installed on my RaspberryPi but I have checked and double-checked, and I am running the code in 2.7. I've installed Pmw 2.0.0 under 2.7, not 3, but when I try to run, I get the "ImportError: No module named tkinter" error. I use Tkinter all the time, so it usually works fine, and I've done a search to verify that I'm definitely calling "Tkinter", not "tkinter", so I think it has to be a problem with Pmw, which

ImportError: libcblas.so.3: cannot open shared object file: No such file or directory

坚强是说给别人听的谎言 提交于 2019-12-03 16:58:12
问题 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: No such file or directory." I have the computer vision software downloaded onto the raspberry pi, though it seems that it is still not working. I'm not sure what other information is viable to this project, but if there is something else I should be specifying please let me know. Thanks in advance! 回答1:

setting import module path in Jython - strange behavior

人盡茶涼 提交于 2019-12-03 16:21:24
I'm building Java to Jython bridge class. The task I'm trying to solve is to make Jython to look for python modules in my application working directory (also known as program execution directory). I'm doing so by appending System.getProperty("user.dir") value to the sys.path: pySysState = new PySystemState(); //add working directory into sys.path pySysState.path.append(new PyString(System.getProperty("user.dir"))); log_.info("Jython sys state initialized. sys.path: " + this.pySysState.path); I get ImportError exception: python module 'user_module' was not found. sys.path: ['<other jars>\\Lib',

Problem trying to install PyCurl on Mac Snow Leopard

送分小仙女□ 提交于 2019-12-03 16:08:33
My app needs to use PyCurl, so I tried to install it on my Mac but I found a lot of problems and errors. Requirement: First of all I have to say that the version of Python working on my Mac is 32 bit based, because I need to use WxPython, that needs 32 bit Python. For doing this I used: defaults write com.apple.versioner.python Prefer-32-Bit -bool yes To install PyCurl I used: sudo env ARCHFLAGS="-arch x86_64" easy_install setuptools pycurl And the terminal returned: Best match: setuptools 0.6c11 Processing setuptools-0.6c11-py2.6.egg setuptools 0.6c11 is already the active version in easy

How can i import urlparse in python-3? [duplicate]

那年仲夏 提交于 2019-12-03 14:33:37
问题 This question already has answers here : no module named urllib.parse (How should I install it?) (11 answers) Closed last year . I would like to use urlparse . But python3.4.1 is not finding the module. I do import urlparse , but it gives me this error importError: no 'module' named ulrparse 回答1: The urlparse in Python 2.7.11 was renamed to urllib.parse in Python 3. So, if you have a code such from urlparse import urljoin , I suggest you change it to from urllib.parse import urljoin 回答2: As

NumPy library ImportError: DLL load failed: The specified procedure could not be found

丶灬走出姿态 提交于 2019-12-03 13:51:07
I'm learning python using Visual Studio 2017 on Windows 10. When I'm trying to import NumPy library into my code, this error appears. I have tried uninstalling and reinstalling, looking for libiomp5md.dll per instruction in ImportError: DLL load failed when importing Numpy installed in conda virtual environment but to no prevail. Traceback (most recent call last): File "C:\Program Files\Python36\lib\site-packages\numpy\core\__init__.py", line 16, in <module> from . import multiarray ImportError: DLL load failed: The specified procedure could not be found. During handling of the above exception

Ubuntu add directory to Python path

爱⌒轻易说出口 提交于 2019-12-03 12:26:56
I want to run third part tool written in python on my ubuntu machine ( corgy tool ). However I don't know how to add additional modules to Python path. cat doc/download.rst There is currently no setup.py, so you need to manually add the download directory to your PYTHON_PATH environment variable. How can I add directory to PYTHON_PATH? I have tried: export PYTHON_PATH=/home/user/directory:$PYTHON_PATH && source .bashrc export PATH=/home/user/directory:$PATH && source .bashrc python import sys sys.path.append("/home/user/directory/") But when I try to run this tool I get: Traceback (most recent