Giter VIP home page Giter VIP logo

python-plugin's People

Contributors

milesj avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rotu

python-plugin's Issues

proto install python seems to always fail

proto install python failed for me on macOS with pyenv installed. The below output shows multiple issues.

  • It's not obvious that the presence of pyenv should affect whether to install prebuilt or build from source. This is documented in the readme but probably should be part of the tool output.
  • I don't know why it installs to a temporary directory.
  • The "timeout" error is odd, especially after indicated it did install the tool (and there is indeed a resulting python binary in that directory)

Uninstalling pyenv first seems to allow proto install python to succeed.

proto install python       
━━━        Installing Python 3.12.0                                             python-build: use openssl@3 from homebrew
python-build: use readline from homebrew
━━━━       Installing Python 3.12.0                                             Downloading Python-3.12.0.tar.xz...
-> https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tar.xz
━          Installing Python 3.12.0                                             Installing Python-3.12.0...
━━         Installing Python 3.12.0                                             python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use ncurses from homebrew
━━━━━━━━   Installing Python 3.12.0                                             Installed Python-3.12.0 to /Users/dan/.proto/temp/python/3.12.0-1697857960155
Error: plugin::failed

  × "timeout"

Consider renaming repo

The name of this repo, python-plugin is somewhat lacking and does not communicate what it is and does.

I'd recommend renaming to proto-python or proto-plugin-python and changing the first line of the readme from

Python WASM plugin for proto.

To something like

proto is a pluggable version manager, supporting many tools across different languages. This plugin implements support for Python.

Bin symlinks omit the major version number

proto install python <version> creates symlinks in bin with the minor version but omitting the major version. e.g.

  • python.9 -> .proto/tools/python/3.9.17/install/bin/python3.9
  • python.10 -> .proto/tools/python/3.10.12/install/bin/python3.10
  • python.11 -> .proto/tools/python/3.11.6/install/bin/python3.11

Proto 0.25.3 on macOS

Proto fails when using Python plugin

When invoking proto install python, we get

Error: plugin::call_func::failed
  × No pre-built available for version 3.12.1!moonrepo/python-plugin/master/releases.json","headers":{},"method":null}
  │ <omitted path>"},"proto_dir":{"athZ

This occurs on both Mac M1 and Ubuntu 22.04.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.