Welcome! Log In Create A New Profile

Advanced

Pronterface question

Posted by Slou90 
Pronterface question
May 04, 2016 05:43PM
Sorry if this is a basic question. I have almost completed building my first 3D printer and I'm trying to get the software sorted out. I downloaded Pronterface and can't get it to run.

I'm using windows 10 and have both Python 2.7 and 3.5 installed. When I run the pronterface.py program I get a message that says ImportError: no module named numpy.

I am very confused. I think I have it for python 3. I entered pip install numpy and it installed. If I start python 3 in the command prompt and enter import numpy then I get a cursor. I'm assuming that I have numpy for python 3 but not 2. Here's where I'm lost because I can't find a straight forward way to get numpy for 2.

I hope that made sense. I'm trying very hard to learn all this but starting at age 40 I'm a bit slow!

Thanks!
Brian
Re: Pronterface question
May 05, 2016 07:21AM
I messed with this a little more last night. I found the numpy folder in the puthon35 directory. Anyway to use this to install that in 2.7?
Re: Pronterface question
May 05, 2016 01:10PM
Ok, I think I got it started (the pronterface console opened), but I got the following error in the command prompt:

C:\Users\brian\Desktop\3D Print\Printrun-master>pronterface.py
WARNING:root:Memory-efficient GCoder implementation unavailable: No module named gcoder_line
WARNING:root:psutil unavailable, could not import power utils:No module named psutil
[ERROR] 3D view mode requested, but we failed to initialize it.
Falling back to 2D view, and here is the backtrace:
Traceback (most recent call last):
File "C:\Users\brian\Desktop\3D Print\Printrun-master\printrun\gui\viz.py", line 70, in __init__
import printrun.gcview
File "C:\Users\brian\Desktop\3D Print\Printrun-master\printrun\gcview.py", line 22, in
from .gl.panel import wxGLPanel
File "C:\Users\brian\Desktop\3D Print\Printrun-master\printrun\gl\panel.py", line 30, in
from pyglet.gl import glEnable, glDisable, GL_LIGHTING, glLightfv, \
File "C:\Users\brian\Miniconda2\lib\site-packages\pyglet\gl\__init__.py", line 510, in
import pyglet.window
File "C:\Users\brian\Miniconda2\lib\site-packages\pyglet\window\__init__.py", line 1684, in
gl._create_shadow_window()
File "C:\Users\brian\Miniconda2\lib\site-packages\pyglet\gl\__init__.py", line 494, in _create_shadow_window
_shadow_window = Window(width=1, height=1, visible=False)
File "C:\Users\brian\Miniconda2\lib\site-packages\pyglet\window\win32\__init__.py", line 423, in __init__
super(Win32Window, self).__init__(*args, **kwargs)
File "C:\Users\brian\Miniconda2\lib\site-packages\pyglet\window\__init__.py", line 686, in __init__
self._create()
File "C:\Users\brian\Miniconda2\lib\site-packages\pyglet\window\win32\__init__.py", line 523, in _create
self.switch_to()
File "C:\Users\brian\Miniconda2\lib\site-packages\pyglet\window\win32\__init__.py", line 556, in switch_to
self._context.set_current()
File "C:\Users\brian\Miniconda2\lib\site-packages\pyglet\gl\__init__.py", line 345, in set_current
self._info.set_active_context()
File "C:\Users\brian\Miniconda2\lib\site-packages\pyglet\gl\gl_info.py", line 91, in set_active_context
self.vendor = cast(glGetString(GL_VENDOR), c_char_p).value
File "C:\Users\brian\Miniconda2\lib\site-packages\pyglet\gl\lib.py", line 105, in errcheck
raise GLException(msg)
GLException: invalid operation

Edited 1 time(s). Last edit at 05/05/2016 01:11PM by Slou90.
Re: Pronterface question
May 05, 2016 06:19PM
Sorry, wrong forum category. Reposted in the correct category.
Re: Pronterface question
May 05, 2016 07:57PM
You seem to be trying to run it from source code but there should be windows executable version that can just be downloaded and run.


[www.hydraraptor.blogspot.com]
Sorry, only registered users may post in this forum.

Click here to login