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

Steps in readme not enough to run pronterface on Windows #743

Closed
ohhmm opened this issue Apr 30, 2016 · 9 comments
Closed

Steps in readme not enough to run pronterface on Windows #743

ohhmm opened this issue Apr 30, 2016 · 9 comments

Comments

@ohhmm
Copy link

ohhmm commented Apr 30, 2016

No description provided.

@VanessaE
Copy link
Contributor

Could you be more specific about this issue?

What version or commit ID are you trying to use?
What version of Windows is this?
What exactly happens when Printrun fails?

@Tinchus2009
Copy link

I have the same problem, I have win 10, I followed the instructions posted here, downloaded all files, installed them in the specified order. All of them intalled correctly.
Then I go to the folder where I unpacked the .zip file I downloaded from here, containing all pronterface files. I double click on pronterface.py and it fails, this is what I get in a console messaage:

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\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gui\viz.py", line 70, in init
import printrun.gcview
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gcview.py", line 22, in
from .gl.panel import wxGLPanel
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gl\panel.py", line 21, in
import numpy
ImportError: No module named numpy

Traceback (most recent call last):
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\pronterface.py", line 59, in
app = PronterApp(False)
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\pronterface.py", line 2216, in init
self.mainwindow = PronterWindow(self)
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\pronterface.py", line 218, in init
self.reload_ui()
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\pronterface.py", line 280, in reload_ui
self.settings.controlsmode == "Mini")
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gui__init__.py", line 256, in createGui
viz_pane = VizPane(self, vizpanel)
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gui\viz.py", line 79, in init
from printrun import gviz
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gviz.py", line 18, in
import numpy
ImportError: No module named numpy

@kliment
Copy link
Owner

kliment commented May 4, 2016

Okay, I think I know what's happening - numpy is needed for the 3d view to work, but it's not included in the installation instructions. Can you check if installing numpy fixes the problem? If it does, I'll update the instructions to reflect that.

On Tue, May 03, 2016 at 05:51:20PM -0700, Tinchus2009 wrote:

I have the same problem, I have win 10, I followed the instructions posted here, downloaded all files, installed them in the specified order. All of them intalled correctly.
Then I go to the folder where I unpacked the .zip file I downloaded from here, containing all pronterface files. I double click on pronterface.py and it fails, this is what I get in a console messaage:

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\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gui\viz.py", line 70, in init
import printrun.gcview
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gcview.py", line 22, in
from .gl.panel import wxGLPanel
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gl\panel.py", line 21, in
import numpy
ImportError: No module named numpy

Traceback (most recent call last):
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\pronterface.py", line 59, in
app = PronterApp(False)
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\pronterface.py", line 2216, in init
self.mainwindow = PronterWindow(self)
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\pronterface.py", line 218, in init
self.reload_ui()
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\pronterface.py", line 280, in reload_ui
self.settings.controlsmode == "Mini")
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gui__init__.py", line 256, in createGui
viz_pane = VizPane(self, vizpanel)
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gui\viz.py", line 79, in init
from printrun import gviz
File "C:\Users\Martin\Downloads\instalacion pronterface\Printrun-master\Printrun-master\printrun\gviz.py", line 18, in
import numpy
ImportError: No module named numpy


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#743 (comment)

@Tinchus2009
Copy link

Ok. I did it, you need to install numpy. From source is a nightmare of dependencies, so I found this binaries for windows (I used the 32 bit version, despite I have win 10 64, but the 64 bits version didnt worked): http://www.lfd.uci.edu/~gohlke/pythonlibs/
To install that package you need to uso PIP, wich is already installed in python (probably you will need to use it finding the full path )
I run pronterface.py , and it started. Will later try if it actually works, but at least it started. In the console I get this warning:

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

@ohhmm
Copy link
Author

ohhmm commented May 4, 2016

also wxPython-phoenix is only available through pip for Windows

@rockstorm101
Copy link
Collaborator

Hi @iHateInventNames and @Tinchus2009, any updates on this? Did you finally manage to compile printrun on Windows?

@pcarew
Copy link

pcarew commented Feb 28, 2017

Problem running/starting Pronterface.py

This is under Windows 10

I have installed the packages listed in the Readme, but when I try and start Pronterface, I get two warnings and then nothing..
Here is what I receive:
c:\Users\Carew\Downloads\Printrun-master\Printrun-master>python 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

At this point nothing else happens.

@Googliola
Copy link

Just wasted a loooot of time achieving nothing following the "run from source" instructions for windows (8x64). As there has been no release for 2+ years for windows, I think it would be appreciated by the community to at least provide a working set of requirements and instructions!

@kliment
Copy link
Owner

kliment commented Mar 23, 2018

This is now improved in the 2.x branch - it builds much more easily on Windows. See https://github.com/kliment/Printrun/blob/2.x/buildinstructions.txt for instructions

@kliment kliment closed this as completed Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants