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.

Windows 10 Installation

See original GitHub issue

Hi All,

I am trying to install terracotta on the Windows 10 by following the steps in here : https://terracotta-python.readthedocs.io/en/latest/tutorials/windows.html

I am using Miniconda3 Windows 64-bit with python v3.8

I got this error when running this command “conda env create -f environment.yml”

Pip subprocess output:
Obtaining file:///D:/Wadugs-Alpha/Webmap/terracotta (from -r D:\Wadugs-Alpha\Webmap\terracotta\condaenv.w2irkg_2.requirements.txt (line 1))
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'

Pip subprocess error:
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      C:\Users\zufry\miniconda3\envs\terracotta\lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "D:\Wadugs-Alpha\Webmap\terracotta\setup.py", line 20, in <module>
          setup(
        File "C:\Users\zufry\miniconda3\envs\terracotta\lib\site-packages\setuptools\__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "C:\Users\zufry\miniconda3\envs\terracotta\lib\site-packages\setuptools\_distutils\core.py", line 147, in setup
          _setup_distribution = dist = klass(attrs)
        File "C:\Users\zufry\miniconda3\envs\terracotta\lib\site-packages\setuptools\dist.py", line 476, in __init__
          _Distribution.__init__(
        File "C:\Users\zufry\miniconda3\envs\terracotta\lib\site-packages\setuptools\_distutils\dist.py", line 280, in __init__
          self.finalize_options()
        File "C:\Users\zufry\miniconda3\envs\terracotta\lib\site-packages\setuptools\dist.py", line 900, in finalize_options
          ep(self)
        File "C:\Users\zufry\miniconda3\envs\terracotta\lib\site-packages\setuptools\dist.py", line 920, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
        File "d:\wadugs-alpha\webmap\terracotta\.eggs\setuptools_scm-7.0.5-py3.10.egg\setuptools_scm\integration.py", line 90, in version_keyword
          _assign_version(dist, config)
        File "d:\wadugs-alpha\webmap\terracotta\.eggs\setuptools_scm-7.0.5-py3.10.egg\setuptools_scm\integration.py", line 59, in _assign_version
          maybe_version = _get_version(config)
        File "d:\wadugs-alpha\webmap\terracotta\.eggs\setuptools_scm-7.0.5-py3.10.egg\setuptools_scm\__init__.py", line 163, in _get_version
          dump_version(
        File "d:\wadugs-alpha\webmap\terracotta\.eggs\setuptools_scm-7.0.5-py3.10.egg\setuptools_scm\__init__.py", line 78, in dump_version
          with open(target, "w") as fp:
      FileNotFoundError: [Errno 2] No such file or directory: 'terracotta\\_version.py'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

failed

CondaEnvException: Pip failed

Are there any extra steps to overcome this error message? Thank you in advance

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
panakouriscommented, Aug 16, 2022

I couldn’t reproduce this using Miniconda3 Windows 64-bit with python v3.8. The environment was created successfully in my case

0reactions
panakouriscommented, Aug 16, 2022

No worries, glad you found the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

Download Windows 10 - Microsoft
Create Windows 10 installation media · Select Download tool now, and select Run. · If you agree to the license terms, select Accept....
Read more >
How to install Windows 10 | Tom's Guide
1. Check your device meets the Windows 10 system requirements · 2. Create USB installation media. · 3. Run the installer tool. ·...
Read more >
How to Install Windows 10 Using a USB Drive - Business Insider
How to install Windows 10 · 1. Insert your 8 GB or larger USB drive. · 2. Open the Download Windows 10 website...
Read more >
How to Install Windows 10 (with Pictures) - wikiHow
1. Connect a blank USB flash drive or insert a blank writable DVD. You can install Windows 10 by creating a bootable USB...
Read more >
[SOLVED] Windows 10 Installation Has Failed - Driver Easy
The first quick fix you can try is to unplug any unnecessary peripheral devices from your PC and try to install Windows 10...
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