question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing zip archives

See original GitHub issue

How do you install zip archives?

$ pipenv install https://github.com/divio/django-cms/archive/release/3.4.x.zip
Creating a Pipfile for this project…
Installing https://github.com/divio/django-cms/archive/release/3.4.x.zip…
Collecting https://github.com/divio/django-cms/archive/release/3.4.x.zip
  Downloading https://github.com/divio/django-cms/archive/release/3.4.x.zip (6.0MB)
  Requirement already satisfied (use --upgrade to upgrade): django-cms==3.4.5rc2 from https://github.com/divio/django-cms/archive/release/3.4.x.zip in /Users/helder/.local/share/virtualenvs/pip-XBl5Wj6A/lib/python3.6/site-packages
Requirement already satisfied: Django<2.0,>=1.8 in /Users/helder/.local/share/virtualenvs/pip-XBl5Wj6A/lib/python3.6/site-packages (from django-cms==3.4.5rc2)
Requirement already satisfied: django-classy-tags>=0.7.2 in /Users/helder/.local/share/virtualenvs/pip-XBl5Wj6A/lib/python3.6/site-packages (from django-cms==3.4.5rc2)
Requirement already satisfied: django-formtools>=1.0 in /Users/helder/.local/share/virtualenvs/pip-XBl5Wj6A/lib/python3.6/site-packages (from django-cms==3.4.5rc2)
Requirement already satisfied: django-treebeard>=4.0.1 in /Users/helder/.local/share/virtualenvs/pip-XBl5Wj6A/lib/python3.6/site-packages (from django-cms==3.4.5rc2)
Requirement already satisfied: django-sekizai>=0.7 in /Users/helder/.local/share/virtualenvs/pip-XBl5Wj6A/lib/python3.6/site-packages (from django-cms==3.4.5rc2)
Requirement already satisfied: djangocms-admin-style>=1.0 in /Users/helder/.local/share/virtualenvs/pip-XBl5Wj6A/lib/python3.6/site-packages (from django-cms==3.4.5rc2)
Requirement already satisfied: pytz in /Users/helder/.local/share/virtualenvs/pip-XBl5Wj6A/lib/python3.6/site-packages (from Django<2.0,>=1.8->django-cms==3.4.5rc2)

Adding https://github.com/divio/django-cms/archive/release/3.4.x.zip to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Traceback (most recent call last):
  File "/Users/helder/.local/bin/pipenv", line 11, in <module>
    load_entry_point('pipenv==8.2.0', 'console_scripts', 'pipenv')()
  File "/Users/helder/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/helder/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/helder/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/helder/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/helder/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/helder/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/cli.py", line 1808, in install
    do_lock(system=system, pre=pre)
  File "/Users/helder/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/cli.py", line 1071, in do_lock
    pre=pre
  File "/Users/helder/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/utils.py", line 418, in resolve_deps
    resolved_tree.update(resolver.resolve())
  File "/Users/helder/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/patched/piptools/resolver.py", line 88, in resolve
    self.their_constraints))
  File "/Users/helder/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/patched/piptools/resolver.py", line 125, in check_constraints
    raise UnsupportedConstraint(msg, constraint)
piptools.exceptions.UnsupportedConstraint: pip-compile does not support URLs as packages, unless they are editable. Perhaps add -e option? (constraint was: https://github.com/divio/django-cms/archive/release/3.4.x.zip (from -r /var/folders/2v/nmb819xx3wsb7hcqvd68230w0000gn/T/pipenv-FHm_hi-requirement.txt (line 1)))

Produces this Pipfile:

[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]

[packages]
"e682b37" = {path = "https://github.com/divio/django-cms/archive/release/3.4.x.zip"}

Editable?

$ pipenv install -e https://github.com/divio/django-cms/archive/release/3.4.x.zip
Creating a Pipfile for this project…
Installing -e https://github.com/divio/django-cms/archive/release/3.4.x.zip…
⠦
Error:  An error occurred while installing -e https://github.com/divio/django-cms/archive/release/3.4.x.zip!
https://github.com/divio/django-cms/archive/release/3.4.x.zip should either be a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kennethreitzcommented, Sep 29, 2017

django-cms = {git = "https://github.com/divio/django-cms.git", ref = "release/3.4.x", editable = true} should be fine

1reaction
kennethreitzcommented, Sep 29, 2017

landed a fix in master

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Install Software from ZIP Files - VoiceX
How to Install Software from ZIP Files · Click on the provided download link (URL) and choose the Save option if prompted ·...
Read more >
How do I install an application from a zip folder?
Open File Explorer and find the zipped folder. · To unzip the entire folder, right-click to select Extract All, and then follow the...
Read more >
List of installation ZIP archive files - IBM
You can install Liberty by extracting a ZIP archive file. After you install Liberty, you can install additional features by using the installUtility...
Read more >
How to Install Zip File in Linux - Ubiq BI
Sometimes you may need to install zip file in Linux if you want to install software using its source code, which is typically...
Read more >
Installing using ready-built ZIP files | The TeX FAQ
On a Windows system that is modern enough that it has a built-in ZIP unpacker, simply double-click on the file, and browse to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found