I have problems installing d3py.
easy_install from https://github.com/mikedewar/d3py/tarball/master says it's all ok, cloning the repo and setup.py'ing say it's all ok as well, Pandas an Numpy works great (I also use Networkxs working good as well), bu when I try to import d3py come this Error:
Traceback (most recent call last):
File "C:\Documents and Settings\whoauser\Desktop\python\sofia\sofia.py", line 2, in <module>
import d3py
File "C:\Python34\lib\site-packages\d3py-0.2.3-py3.4.egg\d3py\__init__.py", line 1, in <module>
ImportError: No module named 'pandas_figure'
Is this a bug in the installation script? Where I can find a working egg?
Do anyone had the same problem?
Thanks
I think you need to install the pandas module for python. Have you done that?
Related
I downloaded this library: https://github.com/bufferapp/buffer-python
Ran the setup.py install, and then tried to run some code using the newly installed library.
What happens though is I get this error:
Traceback (most recent call last):
File "twitter-quote-bot.py", line 14, in <module>
from buffpy.managers.profiles import Profiles
ImportError: No module named managers.profiles
The only way I've found to fix it is to move my program (twitter-quote-bot) into the downloaded folder from Buffer and run it there.
Did I do something wrong in the installation? It seems like I should be able to do these imports globally.
Thanks in advance!
I really really need your help please. The fact is my problem should seem pretty simple to you.
So I have a macbook with Lion, I use python 3.3. In order to use GDAL for GIS? I downloaded the package on this website, which is recommended everywhere:
http://www.kyngchaos.com/software/frameworks
Then I install it. It is ok, but I cannot import it in my project, here is my error.
When I type import osgeo, I have the following :
Traceback (most recent call last):
File "<pyshell#11>", line 1, in <module>
import osgeo
ImportError: No module named 'osgeo'
I know my path is not good, wherecan I change it ?
Any ideas?
I installed this library called Polygon, in Python 2.7.3. But, each time I import it I get the next error message :
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "Polygon/__init__.py", line 5, in <module>
from Polygon.cPolygon import *
ImportError: No module named cPolygon
I have no idea about what could be going wrong. And also, I have already tried to contact the original author of this on his personal webpage.
but he hasn't replied though :( I wonder if someone can help me with this issue please.
It sounds like you didn't in fact install it, but instead just copied it to your working directory. As always, run setup.py with the appropriate arguments to install.
This error can happen if you try to run python from inside the directory you used to install Polygon. Move to a different directory and try again.
Here is a snippets from my python shell, i can't understand what is wrong there, if somebody has any suggestion i would be glad to hear.
>>> import pydbg
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\pydbg\__init__.py", line 47, in <module>
from pydbg import *
File "C:\Python27\lib\pydbg\pydbg.py", line 32, in <module>
import pydasm
ImportError: DLL load failed: The specified module could not be found.
>>> import pydasm
>>>
how come that i can't import pydbg since there it can't import pydasm, and i can import pydasm directly ?
I was able to fix this by deleting pydasm.pyd in the site-packages directory for pydbg.
Move your pydbg directory from C:\Python27\lib\ to C:\Python27\lib\site-packages\, the standard installation location for 3rd party packages. Alternatively, try the unofficial pydbg binaries from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pydbg.
Find pydasm for the python version you are running. I think that pydbg comes with pydasm for python2.6. I don't know why.
I found pydasm for python 2.7 on the Internet. You can also find information about how to convert it yourself. I am not getting any errors but I still struggle with pydbg so I am not sure if this is the solution.
If you are running python2.7 try this: http://blog.csdn.net/qq_lhz/article/details/6922130
Maybe you can try my precompiled binaries of PyDasm for Python 2.7:
https://breakingcode.wordpress.com/2012/04/08/quickpost-installer-for-beaenginepython/
I get this error on running SimpleCV:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.7-intel/egg/SimpleCV/__init__.py", line 1, in <module>
File "build/bdist.macosx-10.7-intel/egg/SimpleCV/base.py", line 22, in <module>
ImportError: No module named cv
What could be going wrong? Please suggest..
Just an FYI SimpleCV has a help forum at help.simplecv.org. It looks like python doesn't know where the opencv packages got installed. Doing a sudo easy_install probably won't work. What you need to do is figure out where the cv libraries live on your system, and where python is looking for them and then symbolically linking the two.
Recently, I just set up the environment to study SimpleCV and write the blog to record the steps as SimpleCV environment setup on Mac. Maybe it could help you :)