You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
installing library code to build/bdist.linux-i686/egg
running install_lib
warning: install_lib: 'build/lib.linux-i686-2.7' does not exist -- no Python modules to install
root@darkmatter# cpp2python sample.c
Traceback (most recent call last):
File "/usr/local/bin/cpp2python", line 9, in
load_entry_point('cpp2python==0.2.0', 'console_scripts', 'cpp2python')()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2682, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2355, in load
return self.resolve()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2361, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
ImportError: No module named cpp2python
root@darkmatter:~/Desktop/CTF-Challenges
Activity
andreikop commentedon Aug 23, 2015
@stuaxo, maybe you can look at this?
I'm having the same problem on Mint 16
stuaxo commentedon Aug 23, 2015
Sure, I've got a mint vm, will give it a go ..
stuaxo commentedon Aug 23, 2015
It "works for me" on Mint 17, 32 Bit ... I'll need to get a version 16 VM and retry.
Can you paste the exact commands you used to grab the source and their output ?
Here is what I did:
$ sudo apt-get install python python-setuptools git $ git clone https://github.com/hlamer/cpp2python $ cd cpp2python $ sudo python setup.py installAfter that I'm able to run
cpp2python(I haven't pasted the full output as I need to sort out the guest extensions)
andreikop commentedon Aug 23, 2015
@stuaxo, I also do
sudo python setup.py install, repo is cloned, packages are installed.Hmm, but my box should not be used as a reference since I have Mint 16 + trusty repositories enabled. It can be considered as broken installation.
@thezakman, which distribution do you use?
thezakman commentedon Aug 23, 2015
I used Debian, will post The output when i get home.
andreikop commentedon Aug 27, 2015
@stuaxo, here is my output on Linux Mint 17.2 (based on Ubuntu 14.04)
stuaxo commentedon Aug 27, 2015
It looks like those are two different pythons - when you use sudo it's using the one in /usr/local and when you are the user it's using the /usr
stuaxo commentedon Aug 27, 2015
If
$ which pythonoutputs/usr/bin/pythonthen install it withsudo /usr/bin/python setup.py installandreikop commentedon Aug 28, 2015
cpp2pythonis installed tolocal, but I have only 1 Python interpreter at/usr/binstuaxo commentedon Aug 28, 2015
Oh, yeah - weird.
I can try and get an iso of 17.2 and see what happens, certainly on the 17.1 version I'm able to install git, python-setuptools and install it fine ..
stuaxo commentedon Aug 29, 2015
Yay, reproduced it.. think it only worked as I was testing from a particular directory .. testing fix now ..
thezakman commentedon Sep 8, 2015
Thanks for fixing this!