michaelaye / nbplanetary

A nbdev-based approach to create a core library for planetarypy
https://michaelaye.github.io/nbplanetary/
MIT License
7 stars 1 forks source link

Pip Update error #45

Closed michaelaye closed 1 year ago

michaelaye commented 1 year ago

From zulip:

Ich bekomme eine Fehlermeldung beim Update von planetarypyüber pip:

(psyco) [swalter@curta calibration]$ pip install planetarypy --upgrade
Collecting planetarypy
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/4b/72/ea551c2841d266cfd101ce44e3af3047e70df192f838b2b6995f43bd6b7a/planetarypy-0.27.5.tar.gz (67kB)
    100% |████████████████████████████████| 71kB 1.0MB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-ByUd9D/planetarypy/setup.py", line 52
        'nbdev': [f'{cfg.get("lib_path")}={cfg.get("lib_path")}._modidx:d']
                                                                         ^
    SyntaxError: invalid syntax
swalterfub commented 1 year ago

This error was resulting from a misconfiguration (using Python-2) and the issue should be closed.