Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants