Open efa opened 9 years ago
ok I searched and replace all strings in 'package.sh' from: "git@github.com:" to "https://github.com/" and the build worked.
Then discovered that I can add my public key to github server to let it authenticate me and use the first discouraged syntax.
with the just build package, installed with: sudo dpkg -i ./scripts/linux/cura_15.01-RC5-debian_i386.deb I got the same error: $ cura Requires wx Try sudo easy_install wx No module named wx
Seems it cannot find the wx library. I checked with synaptic, there are no library named wx. libwxgtk2.8-0, libwxgtk3.0-0, python-wxgtk2.8 and python-wxversion are installed.
the wx library init file init.py is in: /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/ running: $ export PYTHONPATH=/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/:/usr/share/cura/ $ cura results same error
some more info: $ which python /usr/bin/python $ file /usr/bin/python /usr/bin/python: symbolic link to `python2.7' $ python Python 2.7.6 (default, Mar 22 2014, 22:59:38) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import wx Traceback (most recent call last): File "
", line 1, in ImportError: No module named wx import sys print sys.path ['', '/usr/local/lib/python2.7/dist-packages/wx_py-0.9.8.11-py2.7.egg', '/usr/lib/python2.7/dist-packages', '/usr/lib/i386-linux-gnu', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wxPython', '/usr/share/cura', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-i386-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']
Can be a bug in the Ubuntu distro python-wxgtk2.8 package, that while installed, is not visible by python applications?
work with: export PYTHONPATH=/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/:/usr/share/cura/ so the env variable must point to the directory that contain wx directory. Ubuntu completely does not set the variable.
'libwxgtk2.8-0', 'python-wxversion' and 'python-wxgtk2.8' packages are requirements
The cura_14.12.1-debian_i386.deb package doesn't work on my Ubuntu 14.04 32 bit. The error is: $ cura Requires wx Try sudo easy_install wx No module named wx
So I run: $ sudo easy_install wx Searching for wx Reading https://pypi.python.org/simple/wx/ Couldn't find index page for 'wx' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ No local packages or download links found for wx error: Could not find suitable distribution for Requirement.parse('wx')
So I tried to follow the instructions at: https://github.com/daid/Cura to build from sources. After the 'cd Cura', running: $ sudo ./package.sh debian_i386 I got the error: Cloning git@github.com:Ultimaker/Marlin.git into _UltimakerMarlin Cloning into '_UltimakerMarlin'... Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
The command that fail with the same error is the one called in line 140: sudo git clone git@github.com:Ultimaker/Marlin.git _UltimakerMarlin
Any help is appreciated, thank you.