Skip to content
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

problem with depencie pymongo #34

Open
Clevero opened this issue Apr 11, 2015 · 1 comment
Open

problem with depencie pymongo #34

Clevero opened this issue Apr 11, 2015 · 1 comment

Comments

@Clevero
Copy link

Clevero commented Apr 11, 2015

trying to install cloudtunes-server but pymongo needs to be donwgraded. i have on my debian testing machine python-pymongo=2.7.1-1 installed but exactly 2.7 is needed. so after if execute "cloudtunes-worker worker --loglevel=INFO -c 4 &" to start the server, there is a log messeage like "ImportError: Motor 0.2.1 requires PyMongo at exactly version 2.7. You have PyMongo 2.7.2.".

why is exactly this version needed, and not also a newer version usable? my repo just have this version of pymongo and i don't want to install it manually with a .deb package or something

can anyone please update the code so that also newer versions can be used?

full error log:
marcel@Lara:/cloudtunes/cloudtunes-server$ Traceback (most recent call last):
File "/usr/local/bin/cloudtunes-worker", line 9, in
load_entry_point('cloudtunes==0.0.1', 'console_scripts', 'cloudtunes-worker')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['name'])
File "/home/marcel/cloudtunes/cloudtunes-server/cloudtunes/init.py", line 10, in
from .users.models import User
File "/home/marcel/cloudtunes/cloudtunes-server/cloudtunes/users/models.py", line 10, in
from cloudtunes import async
File "/home/marcel/cloudtunes/cloudtunes-server/cloudtunes/async.py", line 4, in
import motor
File "/usr/local/lib/python2.7/dist-packages/motor/init.py", line 56, in
raise ImportError(msg)
ImportError: Motor 0.2.1 requires PyMongo at exactly version 2.7. You have PyMongo 2.7.2.
^C
[1]+ Exit 1 cloudtunes-worker worker --loglevel=INFO -c 4
marcel@Lara:
/cloudtunes/cloudtunes-server$

@jkbrzt jkbrzt added bug and removed bug labels Apr 24, 2015
@jkbrzt
Copy link
Owner

jkbrzt commented Apr 24, 2015

That is a requirement of the motor dependency. I believe it might be possible to install a newer version of motor (pip install -U motor) that isn't that strict about the PyMongo version. Otherwise try installing CloudTunes using virtualenv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants