Skip to content

Instantly share code, notes, and snippets.

View jroes's full-sized avatar

Jon Roes jroes

  • Streamlit
  • Charlotte, NC
  • X @jroes
View GitHub Profile
#!/bin/bash
machine_name=dev
interface=vboxnet1
sudo route -n delete 192.168.99.0
sudo route -n add -net 192.168.99.0/24 -interface $interface
docker-machine rm $machine_name
docker-machine create --driver virtualbox $machine_name
eval "$(docker-machine env $machine_name)"
@jroes
jroes / with-rosetta-2.txt
Last active December 5, 2020 05:31
Console output attempting to install streamlit with Rosetta 2 and without
jroes@Jons-MacBook-Pro ~ % pip3 install streamlit
Collecting streamlit
Downloading https://files.pythonhosted.org/packages/a3/3b/8b70128553de980a5120b512c8eedc3667deced9554fc399703414b1d8cf/streamlit-0.72.0-py2.py3-none-any.whl (7.4MB)
|████████████████████████████████| 7.4MB 5.4MB/s
Collecting requests (from streamlit)
Downloading https://files.pythonhosted.org/packages/39/fc/f91eac5a39a65f75a7adb58eac7fa78871ea9872283fb9c44e6545998134/requests-2.25.0-py2.py3-none-any.whl (61kB)
|████████████████████████████████| 61kB 16.2MB/s
Collecting numpy (from streamlit)
Downloading https://files.pythonhosted.org/packages/c5/63/a48648ebc57711348420670bb074998f79828291f68aebfff1642be212ec/numpy-1.19.4.zip (7.3MB)
|████████████████████████████████| 7.3MB 46.3MB/s
-----> Python app detected
-----> Installing python-3.6.12
-----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
-----> Installing SQLite3
-----> Installing requirements with pip
Collecting pycaret==1.0.0
Downloading pycaret-1.0.0-py3-none-any.whl (188 kB)
Collecting streamlit==0.58.0
Downloading streamlit-0.58.0-py2.py3-none-any.whl (7.1 MB)
Collecting nltk