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

"pip install https://github.com/django-nonrel/mongodb-engine" => "Cannot unpack file" #217

Open
BurnieZyZT opened this issue Jul 19, 2015 · 3 comments

Comments

@BurnieZyZT
Copy link

Hi there,
i am absolutly knew to python, django, anaconda and mongodb so please be soft to me.
I have the following problem i use anaconda admin consol and i followed the setup process django-mongodb-engine from here https://django-mongodb-engine.readthedocs.org/en/latest/topics/setup.html

I skipped the virtualenv step because iam using anaconda.
I managed to install django-nonrel and djangotoolbox.
However i am not able to install mongodb-engine i tried everything "i" could think of now

if i use the command
"pip install https://github.com/django-nonrel/mongodb-engine"
i get the following error

Cannot unpack file "C:"MyPath"\AppData\Local\Temp\pip-e4iq4ujq-unpack\mongodb-engine (
Local\Temp\pip-28w51uov-build, content-type: text/html; charset=utf-8); cannot detect archiv
Cannot determine archive format of C:"MyPath"\AppData\Local\Temp\pip-28w51uov-build.

Iam using Windows 7.

I hope someone could help me out on that one.
Thanks.

@aburgel
Copy link
Member

aburgel commented Jul 19, 2015

Thanks for reaching out, but this is not the right place for asking questions. This is for filing bugs or other problems with mongodb-engine. You should post to the forum: https://groups.google.com/forum/#!forum/django-non-relational

But to answer your question, the command is pip install git+https://github.com/django-nonrel/mongodb-engine. Looks like you were missing the git+ at the beginning of the url.

mongodb-engine is also a pretty advanced library to start with, especially if you're not familiar with python or mongo. I would recommend starting with some basic django tutorials on a regular sql database.

@BurnieZyZT
Copy link
Author

Hey thank you very much that was a fast answer!
To me i am quite familiar with SQL-Databases and i have "some" Python experience but mostly i worked in c++ and vba(banking job...). However iam absolutly knew to the WebDevelopment stuff but i figured out together with some more advanced
mongodb users that for the project i have in mind mongodb fits the best.
When i use your suggested git+ i get the following error

"Error [WinError 2] Das System kann die angegebene Datei nicht finden while executing command git clone -q https://github.com/djang
o-nonrel/mongodb-engine C:\Users\Burnie\AppData\Local\Temp\pip-xhf6ir33-build
Cannot find command 'git'"

The first part "Das System kann die angegebene Datei nicht finden" is german and means "The System could not find the file"
Thank you for your help that

@aburgel
Copy link
Member

aburgel commented Jul 19, 2015

Looks like you need to install git on your computer. Or you can try installing directly from pip

pip install django-mongodb-engine

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