When installing tahoe-lafs i get the following: File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 805, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pycrypto==2.1.0,==2.3,>=2.4.1 While i actually have pycrypto-2.6.1-r1 installed from portage for both 2.7 and 3.3. ‰ python2 Python 2.7.9 (default, Feb 26 2015, 15:57:54) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Crypto.Cipher.ARC4 >>>
This is likely a broken installation of pycrypto, or some related package.
(In reply to Mike Gilbert from comment #1) > This is likely a broken installation of pycrypto, or some related package. Well, i have reinstalled it to no avail. Also it is pulled by electrum which works fine.
I had this problem too and saw bugreports about a new setuptools version breaking the dependencies. I could indeed fix this by reverting to dev-python/setuptools-7.0.
(In reply to Lionel Bouton from comment #3) > I had this problem too and saw bugreports about a new setuptools version > breaking the dependencies. I could indeed fix this by reverting to > dev-python/setuptools-7.0. Downgrading to setuptools-7.0 haven't resolved the problem for me.
(In reply to Sergey 'L29Ah' Alirzaev from comment #4) > (In reply to Lionel Bouton from comment #3) > > I had this problem too and saw bugreports about a new setuptools version > > breaking the dependencies. I could indeed fix this by reverting to > > dev-python/setuptools-7.0. > > Downgrading to setuptools-7.0 haven't resolved the problem for me. Eh, i've mistaken, it worked, thank you.
Created attachment 400880 [details] build log it builds from git sources mostly upstream , builds to defaults, and no Gentoo patch fixes, pathing etc. >=dev-python/pycrypto-2.6.1-r1 (From Gentoo) however as Sabayon binpkg or removed and rebuilt directly from Gentoo fails too. I originally tried from prism-overlay , (not getting into a Gentoo flavor fight.) I'm no dev but what i get of it i suspect the patch set , is not allowing dev-python/pycrypto >N-version-of: ? to sate to depends , and not call DIE!! unfortunately my py skills are still a touch low, but taking a peek thats my hunch. since its a Privacy/Security package I was hoping build it for bin repo but no dice.
perhaps an app-eselect-python/setuptools down the road?
I get this: >>> Compiling source in /var/tmp/portage/net-fs/tahoe-lafs-1.10.0-r2/work/allmydata-tahoe-1.10.0 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build Traceback (most recent call last): File "setup.py", line 73, in <module> import setuptools File "/usr/lib64/python2.7/site-packages/setuptools/__init__.py", line 12, in <module> from setuptools.extension import Extension File "/usr/lib64/python2.7/site-packages/setuptools/extension.py", line 8, in <module> from .dist import _get_unpatched File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 19, in <module> import pkg_resources File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3080, in <module> @_call_aside File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3066, in _call_aside f(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3093, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pycrypto==2.1.0,==2.3,>=2.4.1' distribution was not found and is required by the application
I am effected too
Following the official build instructions, I can download the distfile and run "python2.7 setup.by build" just fine. I get a working `tahoe` in the bin directory. This is something w/ the distutils stuff. This is also a package I'd like to see not be removed.
Better yet, can tahoe-lafs-1.10.2 get unmasked. It built just fine.
indeed, latest version work, unmasked then and dropped the broken one