Menu

Starting pycam in Windows

Help
ingear
2010-08-11
2013-03-08
  • ingear

    ingear - 2010-08-11

    This may be a very DUMB question, but here goes… I installed pycam in Windows Vista. Appeared to install correctly. I'm just not start how to launch the application- there are no shortcuts installed in the Start Menu, etc. Sorry, just not if Python apps work differently.

     
  • ingear

    ingear - 2010-08-11

    p.s. excuse the bad editing in my request, missing words etc. above!

     
  • Lars

    Lars - 2010-08-12

    Hi ingear,

    thanks for your feedback!

    I tested the installation on windows xp only (I don't have access to other machines), so I can only guess, what went wrong.

    Here are some questions:
    1) is there an installation log file C:\Programs\Python25\pycam-wininst.log available? The last five lines should mention the "*.lnk"-files created in the start menu. Do they exist?
    2) does C:\Programs\Python25\Scripts\pycamGUI exist?
    3) what happens if you open a commandline ("Run 'cmd'") and type: "C:\Programs\Python25\pythonw.exe C:\Programs\Python25\Scripts\pycamGUI"?
    4) scan your whole harddisk for a file called "Run PyCAM.lnk". Where is it?

    (please check the above for obvious spelling mistakes - I was typing them out of my head)

    good look,
    Lars

     
  • ingear

    ingear - 2010-08-12

    Thanks for your help Lars. I had a few problems with my install- didn't see the requirements re needing Python 2.5, GTK, etc. So I reinstalled following the requirements list.

    After doing this I did get Pycam folder in the Start Menu. However, the "Run PyCAM" link didn't work. I checked out the link target and it is (exactly):
    "C:\Program Files\Python25\pythonw.exe" C:\Program Files\Python25\Scripts\pycamGUI

    It looks like the space in "Program Files" is causing the problem. Vista's default location for apps is "Program Files" with a space, it may vary with different versions of Windows. So, your installer puts quotes around the first argument, you just need quotes around the 2nd argument, "C:\Program Files\Python25\Scripts\pycamGUI" and it will work. Might be a helpful change.

    Thanks again. Looks like an amazing program, keep up the good work.
    Robin

     
  • Lars

    Lars - 2010-08-16

    thanks for the details, ingear!

    You are right about the space issue: the function that I used, assumed that I take care for quoting of arguments myself (the program's location was quoted automatically).

    The issue is fixed in svn and it will be fixed with the new release (to be published today).

    thanks for your comment!

    Lars

     
  • Anonymous

    Anonymous - 2010-09-05

    I am having difficulties running pycamGUI as well.  The link didn't work so I followed the instructions found above with the following resutls:

    C:\Users\Owner>C:\Python26\python.exe C:\Python26\Scripts\pycamGUI
    Traceback (most recent call last):
      File "C:\Python26\Scripts\pycamGUI", line 64, in <module>
        deps_gtk = GuiCommon.dependency_details_gtk()
    AttributeError: 'module' object has no attribute 'dependency_details_gtk'

    C:\Users\Owner>

    Thoughts?

     
  • Lars

    Lars - 2010-09-06

    Hi,
    did you install the most recent version of PyCAM (v0.3)?
    This version does not use "pycamGUI", but "pycam" as the startup script. I guess, the "pycamGUI" script was left by the installer after an upgrade from a previous version. You can remove it manually, if you like.

    Can you give more details, why the link (I guess, you are talking about the start menu link) does not work?

    cheers,
    Lars

     

Log in to post a comment.