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.

Installation from sources does not work after Poetry migration

See original GitHub issue

Installation from sources with the following does not work after #216 implementation.

pip install -e .

It fails with the error:

ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: xxxxx (A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.

There are some solutions/workarounds mentioned here, but did not find anything straight-forward https://github.com/python-poetry/poetry/issues/1279 https://github.com/python-poetry/poetry/issues/34

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
danwoscommented, Apr 22, 2021

Yes, have not tested it. My shame…

Another idea: you can leave away the -e option. In this case you have to call ‘pip install .’ everytime a change in the directory is made (e g. by git pull).

1reaction
danwoscommented, Apr 23, 2021

PR for this is on the way #246 😃 So still pip install ., no -e

Read more comments on GitHub >

github_iconTop Results From Across the Web

Poetry from `install-poetry.py` does not install packages to ...
I have the some problem when i use poetry install packages in docker. This is my temporary solution. WORKDIR app COPY ./pyproject.toml ./poetry....
Read more >
Announcing Poetry 1.2.0 | Blog
However, the new installer can install Poetry >= 1.1.7 , so all users should migrate away as soon as possible. Most users will...
Read more >
Failed to install cryptography package with Poetry on Python 3.9
I have an alpine docker container where I pip installed poetry after cargo, with the same error again. Installing cargo does indeed install...
Read more >
Migrating a project to Poetry - browniebroke.com
Poetry is a tool solving the problem of Python packaging. ... I initially installed it via Homebrew, but later realised that Poetry was ......
Read more >
Troubleshooting Agent Issues - Application Migration Service
Installation Failed on Windows Machine · Navigate to Control Panel >System and Security >System >Advanced system settings. · On the System Properties dialog...
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