New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named gmv.gmv_cmd #44
Comments
@manuelmeurer How did you install Gmvault (binary distribution or src distribution). What is the plateform ? It looks to be linux but I would like to be sure. I would also need to know which version of Gmvault you have installed. Many thanks. |
I first installed |
So it is version 1.5-beta of Gmvault ? I have fixed some deployment issue for the src distribution. thanks |
Sorry, yes, it's 1.5-beta. I'd be happy to test a new version! Thanks for your effort! |
I'm also getting this issue (installed from source, Debian 6.0.5). I'd also be happy to test a new version when it's ready. Thanks. |
Does it make sense to test 1.6-beta or wait for 1.7-beta? (this issue is labelled 1.7-beta) |
@manuelmeurer Normally it has not been solved in 1.6-beta. I don't get the problem. It is probably because the python libs are in strange places in ubuntu.
Thanks. |
@manuelmeurer as you have 2 python versions 2.6 and 2.7 probably Gmvault has been installed in one of them and the gmvault bash script calls it with the other python interpreter. In the mean time you could install virtualenv (pip install virtualenv), create a sandboxed python and install gmvault with the pip in your sandboxed bin dir (cd myvirtualenv/bin; ./pip install gmvault). Still I would like the install to work on ubuntu so I would appreciate if you can send me the printout of the sh -x ./gmvault command. Many thanks. |
Here's the output:
Neither In #52 you mentioned that Gmvault looks for Python 2.7 by default, not 2.6. I reinstalled Python 2.7 (
After installing
I don't have much experience with Python, so unfortunately I can't be of much help troubleshooting this. Thanks for your help with this! |
@manuelmeurer Thanks for all the information. I have installed gmvault from pypi on ubuntu 12.04 on the default python distribution and it was working perfectly so I think that it is due to your environment. Now looking at your next experiments with a freshly installed python2.7. pip install gmvault installed gmvault to work with the default python distribution (the 2.6.5) and you try to run it with python2.7 which doesn't know about it. So I would uninstall python2.7 and modify the script to support python2.6. #look for python2.7 first otherwise try python2.6 It seems also that there is something missing as 2.7 includes by default argparse but not 2.6. I will modify the setup.py to have it working properly for 2.6 and 2.7 in the next version. Let me know if that solve the issue for you and I will close it. |
Brilliant, uninstalling 2.7 and using the new script did it! |
Great |
Getting this after installing via
pip
:I noticed Python 2.6 and 2.7 installed:
So I uninstalled
python2.7
andpython2.7-minimal
and now I getEven if I set
PYTHON_BIN
it doesn't work:I might have messed it up and it might now be directly related to Gmvault but I would appreciate any ideas how I could solve this...
Thanks!
The text was updated successfully, but these errors were encountered: