Bitcoin Forum

Bitcoin => Electrum => Topic started by: smartmoney on April 10, 2014, 07:17:00 PM



Title: installation - missing dependency: slowaes on Mint 16
Post by: smartmoney on April 10, 2014, 07:17:00 PM
In trying to install I have a missing dependency - slowaes. If anyone here can help I'd truly appreciate it.

As root here's how I attempted the install:

Code:
apt-get install python-qt4 python-pip

All seemed to go OK, no errors reported. Then I did:

Code:
pip install https://download.electrum.org/Electrum-1.9.8.tar.gz#md5=e3918fec0254267f08e41a1fb8691382

and got:

Code:
Downloading/unpacking https://download.electrum.org/Electrum-1.9.8.tar.gz
  Downloading Electrum-1.9.8.tar.gz (860kB): 860kB downloaded
  Running setup.py egg_info for package from https://download.electrum.org/Electrum-1.9.8.tar.gz
    Including all files
   
Downloading/unpacking slowaes (from Electrum==1.9.8)
  Could not find a version that satisfies the requirement slowaes (from Electrum==1.9.8) (from versions: 0.1a1)
Cleaning up...
No distributions matching the version for slowaes (from Electrum==1.9.8)
Storing complete log in /root/.pip/pip.log

Log file:
Code:
Downloading/unpacking slowaes (from Electrum==1.9.8)

  Getting page https://pypi.python.org/simple/slowaes/
  URLs to search for versions for slowaes (from Electrum==1.9.8):
  * https://pypi.python.org/simple/slowaes/
  Analyzing links from page https://pypi.python.org/simple/slowaes/
    Skipping link https://pypi.python.org/packages/2.4/s/slowaes/slowaes-0.1a1-py2.4.egg#md5=f1371
dc6d46230f3d22b2dfae6f9050e (from https://pypi.python.org/simple/slowaes/); unknown archive format
: .egg
    Skipping link https://pypi.python.org/packages/2.5/s/slowaes/slowaes-0.1a1-py2.5.egg#md5=5fb70
1750887fa4d85b61f92cb439330 (from https://pypi.python.org/simple/slowaes/); unknown archive format
: .egg
    Skipping link https://pypi.python.org/packages/2.6/s/slowaes/slowaes-0.1a1-py2.6.egg#md5=2877d
c9c31352d812bfa390e0d84fc8a (from https://pypi.python.org/simple/slowaes/); unknown archive format
: .egg
    Found link https://pypi.python.org/packages/source/s/slowaes/slowaes-0.1a1.tar.gz#md5=eafee95a
788a795403e972a35e80ce4f (from https://pypi.python.org/simple/slowaes/), version: 0.1a1
  Ignoring link https://pypi.python.org/packages/source/s/slowaes/slowaes-0.1a1.tar.gz#md5=eafee95
a788a795403e972a35e80ce4f (from https://pypi.python.org/simple/slowaes/), version 0.1a1 is a pre-r
elease (use --pre to allow).
  Could not find a version that satisfies the requirement slowaes (from Electrum==1.9.8) (from ver
sions: 0.1a1)

Cleaning up...

  Removing temporary dir /tmp/pip_build_root...
No distributions matching the version for slowaes (from Electrum==1.9.8)

Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 134, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 236, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1085, in prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 309, in find_requirement
    raise DistributionNotFound('No distributions matching the version for %s' % req)
DistributionNotFound: No distributions matching the version for slowaes (from Electrum==1.9.8)


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: Tachikoma on April 10, 2014, 07:20:37 PM
Could you try the following?

Code:
apt-get purge python-pip
wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py
pip install slowaes


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: smartmoney on April 10, 2014, 07:25:51 PM
Could you try the following?

Code:
apt-get purge python-pip
wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py
pip install slowaes

Ran into error on last line, pip isn't in the path.

Code:
 python get-pip.py
Downloading/unpacking pip
  Downloading pip-1.5.4-py2.py3-none-any.whl (1.2MB): 1.2MB downloaded
Installing collected packages: pip
Successfully installed pip
Cleaning up...
a-man # pip install slowaes
bash: /usr/bin/pip: No such file or directory

So...

Code:
# which pip
/usr/local/bin/pip
a-man # /usr/local/bin/pip install slowaes
Downloading/unpacking slowaes
  Could not find a version that satisfies the requirement slowaes (from versions: 0.1a1)
Cleaning up...
No distributions matching the version for slowaes
Storing debug log for failure in /root/.pip/pip.log
a-man  #



Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: Tachikoma on April 10, 2014, 07:31:26 PM
This is really strange. Could you try just downloading and extracting the source and running ./electrum ?


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: smartmoney on April 10, 2014, 07:33:44 PM
This is really strange. Could you try just downloading and extracting the source and running ./electrum ?

Sure, with a little guidance. From what url? Use wget?

Are you talking about a python script or compiling the source for electrum?


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: Tachikoma on April 10, 2014, 07:35:56 PM
Ah sorry.

Code:
wget https://download.electrum.org/Electrum-1.9.8.tar.gz
tar -zxvf Electrum-1.9.8.tar.gz


Just cd in it and try ./electrum.


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: smartmoney on April 10, 2014, 07:43:54 PM
 ;D Thanks Tachikoma, it seems to run, at least I get the initial dialog to create a new wallet.

Who knows if slowaes is really a dependency on all platforms. It doesn't seem to be, but you may hear more from me when I proceed through the GUI and create the wallet. I suspect slowaes has to do with key generation, but there may be several algorithms to do that, slowaes being only one.

As I said, stay tuned as I proceed through the installation.

Thanks for your help!


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: Tachikoma on April 10, 2014, 07:49:09 PM
No problem. The thing is that AES should be included in the tar.gz package already so pip shouldn't need to download it. Glad you got it working. Let me know if there is anything else.


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: smartmoney on April 10, 2014, 07:52:37 PM
I created the new wallet, entered a pw, selected auto server and it says connecting... in a gray box all alone.

Seems to be locked up, unless that process takes very long to complete. I'll check mem & cpu with ps...

Seems to be blocked. No memory increasing, no cpu use.

Also, I'm running electrum from the src as normal user not root.

Wondering what the differences are between pkg install, like menu item installation, docs, man page etc.

---

Decided it was taking far too long so I killed the process.

I restarted it but appended an "&" to run in background. Here's what happened:

Code:
a-man /usr/local/src/Electrum-1.9.8 $ ./electrum &
[1] 23391
a-man /usr/local/src/Electrum-1.9.8 $ "sni-qt/23391" WARN  15:06:48.753 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
**8 addresses were printed, first 5 were the same as listed in the gui plus 3 more**


The main gui started, but I'm not confident this is an install I can trust.


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: Tachikoma on April 10, 2014, 09:27:45 PM
I'm pretty sure it's fine. What you can do is write down the first few characters of your initial addresses and then start with a different wallet path, use your seed and make sure it's generating the same addresses. If they do; it's all good :)

You can load a different wallet with the -w flag. So for instance ./electrum -w ~/.electrum/wallets/test


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: Abdussamad on April 11, 2014, 12:27:06 AM
To install slowaes on a system with pip >= 1.4 you have to use the --pre flag. So as root:

Code:
pip install --pre slowaes
pip install Electrum-1.9.8.tar.gz

You only need to do this for slowaes not for ecdsa.

Of course you should verify the sigs etc. before installing Electrum:

https://bitcointalk.org/index.php?topic=518133.msg5981126#msg5981126


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: dabura667 on April 11, 2014, 12:09:56 PM
I created the new wallet, entered a pw, selected auto server and it says connecting... in a gray box all alone.

Seems to be locked up, unless that process takes very long to complete. I'll check mem & cpu with ps...

Seems to be blocked. No memory increasing, no cpu use.

Also, I'm running electrum from the src as normal user not root.

Wondering what the differences are between pkg install, like menu item installation, docs, man page etc.

---

Decided it was taking far too long so I killed the process.

I restarted it but appended an "&" to run in background. Here's what happened:

Code:
a-man /usr/local/src/Electrum-1.9.8 $ ./electrum &
[1] 23391
a-man /usr/local/src/Electrum-1.9.8 $ "sni-qt/23391" WARN  15:06:48.753 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
**8 addresses were printed, first 5 were the same as listed in the gui plus 3 more**


The main gui started, but I'm not confident this is an install I can trust.

What are your specs? I use Linux on my crappy old laptop, and first start on a wallet takes me 5 minutes of gray screen before it actually pops up. Signing a 10 input tx is like 10 minutes.

Crappy specs can take time... but yeah, so what specs are you at?


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: btcven on April 14, 2014, 10:56:10 AM
try with python-slowaes is the correct slowaes for Saucy Salamander


Title: Re: installation - missing dependency: slowaes on Mint 16
Post by: advanced on August 05, 2014, 07:05:22 AM
same problem here