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

Publishing hangs at deploying step if no binary/link for python #171

Open
koverholt opened this issue Jun 26, 2019 · 0 comments
Open

Publishing hangs at deploying step if no binary/link for python #171

koverholt opened this issue Jun 26, 2019 · 0 comments
Labels

Comments

@koverholt
Copy link

OS: macOS 10.14.5
Python: 3.7.3 from Python.org
Versions: rsconnect-jupyter==1.2.1.93, notebook==5.7.8

Overview

Publishing Jupyter notebooks with Python installed from Python.org hangs indefinitely at the Deploying... step unless I add a symlink for python.

By default, the version of Python from Python.org only includes python3 and pip3 binaries with no links for python or pip.

Steps to reproduce

  1. Install Python from Python.org
  2. Run /Applications/Python 3.7/Install Certificates.command to install SSL root certificates
  3. Run pip3 install jupyter rsconnect-jupyter
  4. Run commands to enable rsconnect-jupyter extension
  5. Start Jupyter notebook and create a new Python 3 notebook
  6. Publish Jupyter notebook with rsconnect-jupyter, selecting Publish document with source code
  7. Publishing hangs at Deploying... with no additional information

Workaround

Add a symlink from python to python3 where Python is installed. In my case that is:

ln -s /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 /Library/Frameworks/Python.framework/Versions/3.7/bin/python
@mmarchetti mmarchetti added the bug label May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants