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.

Reccomended OSX installation not working

See original GitHub issue
  • OS version and name: MacOS Big Sur 11.3 on M1 Chip Macbook

Issue

File "<stdin>", line 134
    def data_dir(version: Optional[str] = None) -> Path:
                        ^
SyntaxError: invalid syntax

This is all I get in my terminal after running curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python in my terminal.

I’ve tried uninstalling/reinstalling python. I unfortunately cant use deprecated versions of poetry for what I’m working on although curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python for the old version worked fine

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

6reactions
ghostcommented, Oct 18, 2021

Same here; attempted the updated install-poetry version on master docs rather than the get-poetry on 1.1 docs, but only get-poetry works.

it seems that the installation need python link to python3, not python2 which is the default in most linux distros. below instructions work for me.

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 -
2reactions
JosephTLyonscommented, Aug 20, 2021

I ran into the same issue tonight

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to reinstall macOS - Apple Support
Reinstalling macOS does not remove data from your Mac. To begin installation, select Reinstall macOS from the utilities window in macOS Recovery ......
Read more >
Mac Installation Errors You May Encounter and How to Fix Them
In this guide, we will look at some of the installation problems that tend to occur with new releases of the Mac operating...
Read more >
How to fix “The macOS Installation could not be completed” error
1. Boot into Safe mode · Shut down your Mac. · Press and hold the power button, and let go of it when...
Read more >
How to Fix 'macOS Could Not Be Installed on Your Computer ...
You may need to force restart your Mac by holding down the Power button until it shuts down. Afterward, turn the Mac back...
Read more >
What to do if your Ventura update is stuck - Macworld
Another reason why your Mac might not download or install the new update is if it isn't healthy, so if you are encountering...
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