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.

Fail to install the dev version following the install instructions

See original GitHub issue

Description of the problem

The install instructions say users can install the development version using:

pip install https://github.com/GenericMappingTools/pygmt/archive/master.zip

However, the command doesn’t work and gives me the following error:

...
    LookupError: setuptools-scm was unable to detect version for '/private/var/folders/mz/d3wtwjtx4fg8qlds5lgt1c240000gn/T/pip-req-build-85cqz2ok'.

    Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

    For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
...

Possibly related to https://github.com/GenericMappingTools/pygmt/pull/695.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
seismancommented, Feb 12, 2021

Good. I prefer 0+unknown, although it makes little difference for most users.

0reactions
weiji14commented, Feb 12, 2021

I can add the fallback version to PR #685 if that helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Visual Studio installation and upgrade issues
This troubleshooting guide includes step-by-step instructions that should resolve most installation issues.
Read more >
Unable to install xcode command line developer tools
This prompts me to install the command line developer tools. When I click install I get the following error. Can't install the software...
Read more >
Installing the development version of scikit-learn
This section introduces how to install the main branch of scikit-learn. This can be done by either installing a nightly build or building...
Read more >
Ubuntu Packages For R - Full Instructions - R Project
Note that in order to install R 4.1 packages, a new and different ... versions of the following packages as up-to-date as the...
Read more >
Install UFT Developer for Windows - ADM Help Centers
The installation will fail if the file paths of the individual ... After downloading the UFT Developer installation file, install UFT ...
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