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.

poetry install pendulum --git

See original GitHub issue
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
Poetry
======

 * Version: 0.11.4
 * Python:  3.6.5


Virtualenv
==========

 * Python:         3.6.5
 * Implementation: CPython
 * Path:           /Users/nackjicholson/Library/Caches/pypoetry/virtualenvs/source-data-service-py3.6


System
======

 * Platform: darwin
 * OS:       posix

Issue

Can’t install pendulum from git because it doesn’t have a setup.py…

[VenvCommandError]                                                                                                                                                                
Command ['pip', 'install', '--no-deps', 'git+https://github.com/sdispater/pendulum.git@7de6f28de967ea51d1f283125ecf0f578b35e185#egg=pendulum'] errored with the following outpu   
t:                                                                                                                                                                                
Collecting pendulum from git+https://github.com/sdispater/pendulum.git@7de6f28de967ea51d1f283125ecf0f578b35e185#egg=pendulum                                                      
  Cloning https://github.com/sdispater/pendulum.git (to 7de6f28de967ea51d1f283125ecf0f578b35e185) to /private/var/folders/49/7rty082j7y3gp2_804j7bpbc0000gn/T/pip-build-_dtdo8i   
a/pendulum                                                                                                                                                                        
  Could not find a tag or branch '7de6f28de967ea51d1f283125ecf0f578b35e185', assuming commit.                                                                                     
    Complete output from command python setup.py egg_info:                                                                                                                        
    Traceback (most recent call last):                                                                                                                                            
      File "<string>", line 1, in <module>                                                                                                                                        
      File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py", line 452, in open                                                 
        buffer = _builtin_open(filename, 'rb')                                                                                                                                   
    FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/49/7rty082j7y3gp2_804j7bpbc0000gn/T/pip-build-_dtdo8ia/pendulum/setup.py'                      
                                                                                                                                                                                 
    ----------------------------------------                                                                                                                                     
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/49/7rty082j7y3gp2_804j7bpbc0000gn/T/pip-build-_dtdo8ia/pendulum/                             
You are using pip version 9.0.3, however version 18.0 is available.                                                                                                              
You should consider upgrading via the 'pip install --upgrade pip' command.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sdispatercommented, Oct 26, 2018

Release 0.12.5 should fix the issue.

1reaction
sdispatercommented, Sep 19, 2018

This was actually a bug in my opinion since Poetry should be able to handle itself.

It’s has been fixed in commit 58e3676 and this something that will land in the next 0.12 release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Commands | Documentation | Poetry - Python dependency ...
The remove command removes a package from the current list of installed packages. poetry remove pendulum. If you want to remove a package...
Read more >
poetry - PyPI
Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere. Poetry Install. Poetry replaces ...
Read more >
Poetry - The Blue Book
A https cloned repo: poetry add git+https://github.com/sdispater/pendulum.git; A ssh cloned repo: poetry add git+ssh://git@github.com/sdispater/pendulum.git. If ...
Read more >
Use pip to install poetry group dependencies from VCS
Then we can install the extras with $ pip install git+ssh://git@github.com/my/project.git@main#egg=project[server].
Read more >
Python packaging and dependency management using poetry
Poetry provides a custom installer that will install poetry isolated from the rest of your system by vendorizing its dependencies. This is the...
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