croqaz / scrambled-egg

Easily encrypt your messages using AES, ARC2, Blowfish, CAST, DES3 or RSA, then encode the result in a printable form, using Base64, Base32, HEX, Quopri, string escape, UU, XML or Json.
1 stars 0 forks source link

Problem running script in Ubuntu 10.10 #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run this command in term:: python "scrambled_egg.py"
2.
3.

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "scrambled_egg.py", line 19, in <module>
    from collections import OrderedDict
ImportError: cannot import name OrderedDict

What version of the product are you using? On what operating system?

scrambled-egg-0.4 on ubuntu linux 10.10

Please provide any additional information below.

not sure if i am running it right but thats the error i get... i have been 
unable to run on linux.... xp works good

Original issue reported on code.google.com by dale...@gmail.com on 27 May 2012 at 3:13

GoogleCodeExporter commented 9 years ago
Hi!

http://docs.python.org/library/collections.html#collections.OrderedDict

OrderedDict is for Python 2.7.
Your version of Ubuntu has Python 2.6.

Unfortunately, OrderedDict is very important, so you must use the new version 
of Py.

Original comment by prah...@gmail.com on 28 May 2012 at 7:54

GoogleCodeExporter commented 9 years ago
alright, ... i did sudo apt-get install python2.7
...it installed
then i did... python2.7 "scrambled_egg.py"
and i get this:
Traceback (most recent call last):
  File "scrambled_egg.py", line 23, in <module>
    from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher

any ideas

Original comment by dale...@gmail.com on 29 May 2012 at 10:58

GoogleCodeExporter commented 9 years ago
You need Python Crypto and Python Qt4.

sudo apt-get install pip
sudo pip install pycrypto

sudo apt-get install python-qt4

Original comment by prah...@gmail.com on 29 May 2012 at 1:19

GoogleCodeExporter commented 9 years ago
sudo apt-get install pip -> unable to locate package 
sudo pip install pycrypto -> unable to locate package

sudo apt-get install python-qt4  --->installed fine 30somthin megs

i try to run SE again --> python2.7 scrambled_egg.py
and get...

Traceback (most recent call last):
  File "scrambled_egg.py", line 23, in <module>
    from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher

Original comment by dale...@gmail.com on 31 May 2012 at 11:42

GoogleCodeExporter commented 9 years ago
I tried using python3......... python3 scrambled_egg.py
and i get this

  File "scrambled_egg.py", line 172
    print 'RSA encryption must specify a valid path !'
                                                     ^
SyntaxError: invalid syntax

I am at a loss of ideas. 

Original comment by dale...@gmail.com on 2 Jun 2012 at 2:39

GoogleCodeExporter commented 9 years ago
*sudo apt-get install python-pip

Original comment by d...@syntaxmonster.com on 11 Mar 2013 at 12:39

GoogleCodeExporter commented 9 years ago
#sudo apt-get install python-pip

Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-pip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Original comment by dale...@gmail.com on 17 Mar 2013 at 12:22