Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh install broken in Py 3.8 on Local Machine #1655

Closed
2 of 3 tasks
lassiter opened this issue Nov 30, 2019 · 8 comments
Closed
2 of 3 tasks

Fresh install broken in Py 3.8 on Local Machine #1655

lassiter opened this issue Nov 30, 2019 · 8 comments
Labels
kind/bug Something isn't working as expected

Comments

@lassiter
Copy link

lassiter commented Nov 30, 2019

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: Mac OS X - v10.14.5 - Build: 18F132
  • Poetry version: Latest from install instructions
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

This is related to #1377 but for this issue it's running on bare metal or developer machines.

Steps to Reproduce:

  1. Use Python 3.8.0 as local system version using pyenv.
  2. Run curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
  3. Run poetry or any poetry command and see:
Traceback (most recent call last):
  File "/Users/USERNAME/.poetry/bin/poetry", line 12, in <module>
    from poetry.console import main
  File "/Users/USERNAME/.poetry/lib/poetry/console/__init__.py", line 1, in <module>
    from .application import Application
  File "/Users/USERNAME/.poetry/lib/poetry/console/application.py", line 6, in <module>
    from cleo import Application as BaseApplication
ModuleNotFoundError: No module named 'cleo'
@lassiter lassiter added the kind/bug Something isn't working as expected label Nov 30, 2019
@finswimmer
Copy link
Member

Hello @lassiter,

can you please try to install the latest preview version by

curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python - --preview

fin swimmer

@Hultner
Copy link

Hultner commented Dec 1, 2019

I just tried installing poetry on a new machine with Python 3.8.0 and I get the same error. Will try the preview command above and report back with result.

Edit/Update: Tried installing with --preview and now it seems to work, or at least to the point where I can run the poetry command.

@alethiophile
Copy link

I have the same issue. The problem appears to simply be that the latest release tarball does not have a py3.8 directory under poetry/_vendor.

When I install the missing dependencies manually in the local environment, the release Poetry runs fine under Python 3.8, but this obviously defeats the purpose of vendorizing them.

@lassiter
Copy link
Author

lassiter commented Dec 2, 2019

Hello @lassiter,

can you please try to install the latest preview version by

curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python - --preview

fin swimmer

I was able to run that command then source it, then run poetry which allowed me to see all of the commands.

@finswimmer
Copy link
Member

Thanks for coming back and reporting.

So I (or you) can close this issue?

@lassiter
Copy link
Author

lassiter commented Dec 2, 2019

@finswimmer Do you know when the preview is expected to be released?

Happy to close.

@lassiter lassiter closed this as completed Dec 2, 2019
@finswimmer
Copy link
Member

@lassiter Unfortunately I couldn't tell you date for this. There are still a few things to fix before the 1.0 release. See current state here: https://github.com/sdispater/poetry/projects/1

We hope we can release "soon" ;)

Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

4 participants