import vpythonvpython.box()
/Users/jonschull-MBPR/anaconda3/bin/python3
JonSchull-MBPretina-2:~ jonschull-MBPR$ jupyter --runtime-dir
/Users/jonschull-MBPR/Library/Jupyter/runtime
JonSchull-MBPretina-2:~ jonschull-MBPR$ jupyter --paths
config:
/Users/jonschull-MBPR/.jupyter
/Users/jonschull-MBPR/anaconda3/etc/jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/Users/jonschull-MBPR/Library/Jupyter
/Users/jonschull-MBPR/anaconda3/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/Users/jonschull-MBPR/Library/Jupyter/runtime
JonSchull-MBPretina-2:~ jonschull-MBPR$ conda install -c vpython vpython
Solving environment: done
# All requested packages already installed.
JonSchull-MBPretina-2:~ jonschull-MBPR$ conda update -c vpython vpython
Solving environment: done
# All requested packages already installed.
jupyter notebook [no joy]
--
You received this message because you are subscribed to the Google Groups "VPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vpython-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Pasted_Image_1_24_18__8_50_PM.jpg>
to login with a token:
http://localhost:8889/?token=3b6a8b5d4bd4920041defa1dd23cbecc266b74b1e8cde5f1
[I 23:09:02.370 NotebookApp] Accepting one-time-token-authenticated connection from ::1
[I 23:09:07.931 NotebookApp] Creating new notebook in
[I 23:09:09.460 NotebookApp] Kernel started: 56749eed-9e11-43f8-883d-a36b7ab34f35
[W 23:09:09.473 NotebookApp] 404 GET /nbextensions/nb_anacondacloud/main.js?v=20180127230901 (::1) 10.65ms referer=http://localhost:8889/notebooks/Untitled8.ipynb?kernel_name=vpython
[W 23:09:09.481 NotebookApp] 404 GET /nbextensions/nb_conda/main.js?v=20180127230901 (::1) 2.16ms referer=http://localhost:8889/notebooks/Untitled8.ipynb?kernel_name=vpython
[W 23:09:09.491 NotebookApp] 404 GET /nbextensions/jupyter-leaflet/extension.js?v=20180127230901 (::1) 2.81ms referer=http://localhost:8889/notebooks/Untitled8.ipynb?kernel_name=vpython
[W 23:09:09.500 NotebookApp] 404 GET /nbextensions/nbpresent/js/nbpresent.min.js?v=20180127230901 (::1) 3.11ms referer=http://localhost:8889/notebooks/Untitled8.ipynb?kernel_name=vpython
[W 23:09:09.799 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20180127230901 (::1) 2.12ms referer=http://localhost:8889/notebooks/Untitled8.ipynb?kernel_name=vpython
[I 23:09:10.403 NotebookApp] Adapting to protocol v5.1 for kernel 56749eed-9e11-43f8-883d-a36b7ab34f35
^C[I 23:09:45.748 NotebookApp] interrupted
Serving notebooks from local directory: /Users/jonschull-MBPR
1 active kernel
The Jupyter Notebook is running at:
http://localhost:8889/?token=3b6a8b5d4bd4920041defa1dd23cbecc266b74b1e8cde5f1
Shutdown this notebook server (y/[n])? y
[C 23:09:46.890 NotebookApp] Shutdown confirmed
[I 23:09:46.891 NotebookApp] Shutting down 1 kernel
[I 23:09:47.098 NotebookApp] Kernel shutdown: 56749eed-9e11-43f8-883d-a36b7ab34f35
JonSchull-MBPretina-2:~ jonschull-MBPR$ python3
Python 3.6.3 |Anaconda, Inc.| (default, Dec 5 2017, 17:30:25)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from vpython import *
>>> box()
<vpython.vpython.box object at 0x109b9e3c8>
(vpy) JonSchull-MBPretina-2:anaconda3 jonschull-MBPR$ $PATH
-bash: /Users/jonschull-MBPR/miniconda3/envs/vpy/bin:/Users/jonschull-MBPR/miniconda3/bin:/Users/jonschull-MBPR/Downloads/google-cloud-sdk/bin:/opt/local/bin:/opt/local/sbin:/Users/jonschull-MBPR/anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/chromedrive:/opt/local/bin/dot:/opt/X11/bin:/usr/local/mongodb/bin:/usr/local/bin: No such file or directory
(vpy) JonSchull-MBPretina-2:anaconda3 jonschull-MBPR$ which python
/Users/jonschull-MBPR/miniconda3/envs/vpy/bin/python
(vpy) JonSchull-MBPretina-2:anaconda3 jonschull-MBPR$ which jupyter
/Users/jonschull-MBPR/miniconda3/envs/vpy/bin/jupyter
If this is your first install of dbus, automatically load on login with:
mkdir -p ~/Library/LaunchAgents
cp /Users/jonschull-MBPR/miniconda3/envs/vpy/org.freedesktop.dbus-session.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
If this is an upgrade and you already have the org.freedesktop.dbus-session.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
cp /Users/jonschull-MBPR/miniconda3/envs/vpy/org.freedesktop.dbus-session.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
I've followed those instructions and they don't help, but it does make me wonder about a communication failure between vpython notebook and jupyter...?
C 13:51:01.389 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=e82ec7bce576d705d6d1d3fd7798d76c2dc7a00fa7bb8a5d
[I 13:51:01.518 NotebookApp] Accepting one-time-token-authenticated connection from ::1
[I 13:51:08.453 NotebookApp] Creating new notebook in
[I 13:51:09.764 NotebookApp] Kernel started: da39663c-a6da-43f7-8687-8d6f7858cbfc
[W 13:51:09.780 NotebookApp] 404 GET /nbextensions/jupyter-leaflet/extension.js?v=20180128135100 (::1) 12.61ms referer=http://localhost:8888/notebooks/Untitled2.ipynb?kernel_name=vpython
[W 13:51:09.783 NotebookApp] 404 GET /nbextensions/nb_conda/main.js?v=20180128135100 (::1) 2.48ms referer=http://localhost:8888/notebooks/Untitled2.ipynb?kernel_name=vpython
[W 13:51:09.786 NotebookApp] 404 GET /nbextensions/nb_anacondacloud/main.js?v=20180128135100 (::1) 2.40ms referer=http://localhost:8888/notebooks/Untitled2.ipynb?kernel_name=vpython
[W 13:51:09.792 NotebookApp] 404 GET /nbextensions/scratchpad/main.js?v=20180128135100 (::1) 1.97ms referer=http://localhost:8888/notebooks/Untitled2.ipynb?kernel_name=vpython
[W 13:51:09.796 NotebookApp] 404 GET /nbextensions/nbpresent/js/nbpresent.min.js?v=20180128135100 (::1) 2.58ms referer=http://localhost:8888/notebooks/Untitled2.ipynb?kernel_name=vpython
[W 13:51:09.883 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20180128135100 (::1) 4.83ms referer=http://localhost:8888/notebooks/Untitled2.ipynb?kernel_name=vpython
[I 13:51:11.139 NotebookApp] Adapting to protocol v5.1 for kernel da39663c-a6da-43f7-8687-8d6f7858cbfc
[I 13:51:14.639 NotebookApp] Saving file at /Untitled.ipynb
^C[I 13:53:08.429 NotebookApp] interrupted
I wish I could help, but I’ve never seen this error. And every time I or my students install anaconda and vpython, it works. It’s been very reliable for us.Here are a few questions:1. When you reinstall Anaconda, do you completely destroy your previous Anaconda folder first? If I ever install Anaconda over a previous installation, I completely remove the old Anaconda. This means I have to recreate any conda environments and reinstall packages of course.2. When you install vpython, do you use conda or pip? I’ve settled on using conda; however, pip also worked for me and my students when we used pip.3. Do you ever use Anaconda environments? This is my favorite way to test things. It’s like having a fresh installation of Anaconda. In your case, I think you should use vpython in an environment so you can easily delete the environment without having to reinstall other packages you use in other environments. You can try this:a. conda create -n vpy python=3.6 anacondab. source activate vpyc. conda install -c vpython vpythonThen, open the jupyter notebook. Create a new python3 notebook (not vpython necessarily; you might want to also import the math package if not using a vpython notebook). Then run your test.My best guess is that it’s a path issue of some kind. Working in an environment might avoid this problem.Aaron
On Jan 28, 2018, at 8:33 AM, Jon Schull <jsc...@gmail.com> wrote:
That's my goal. But I'd like to develop and test in Jupyter as well. (Which is why it is so frustrating that It stopped working locally!)
cell: 585-738-6696 skype:jonschullFounder, e-NABLE: volunteers worldwide making free, 3D printed prostheticsInnovation Fellow, JMK Innovation Fund
From: vpytho...@googlegroups.com <vpython-users@googlegroups.com> on behalf of John <john...@shaw.ca>
To unsubscribe from this group and all its topics, send an email to vpython-users+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "VPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "VPython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vpython-users/N5LsMplupoA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vpython-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to vpython-user...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "VPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vpython-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "VPython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vpython-users/N5LsMplupoA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vpython-user...@googlegroups.com.
The following NEW packages will be INSTALLED:
send2trash: 1.4.2-py36_0
The following packages will be UPDATED:
anaconda: 5.0.1-py36h6e48e2d_1 --> custom-py36ha4fed55_0
jupyter_client: 5.1.0-py36hf6c435f_0 --> 5.2.2-py36_0
jupyter_core: 4.3.0-py36h93810fe_0 --> 4.4.0-py36h79cf704_0
notebook: 5.0.0-py36h462289e_2 --> 5.3.1-py36_2
terminado: 0.6-py36h656782e_0 --> 0.8.1-py36_0
Proceed ([y]/n)? y
'5.3.1'but alas, no joy.
To unsubscribe from this group and all its topics, send an email to vpython-users+unsubscribe@googlegroups.com.