Can't find simian-M2Crypto

88 views
Skip to first unread message

Graham Dunn

unread,
May 25, 2016, 12:16:33 PM5/25/16
to Simian Discuss
ElCap 10.11.4 with a vanilla git clone, cd simian, make test fails with "No local packages or download links found for simian-M2Crypto==0.22.3"

An archive search says this was fixed earlier this winter, not sure what else to try now...

 src  git clone https://github.com/google/simian.git
Cloning into 'simian'...
remote
: Counting objects: 2755, done.
remote
: Total 2755 (delta 0), reused 0 (delta 0), pack-reused 2755
Receiving objects: 100% (2755/2755), 7.07 MiB | 5.33 MiB/s, done.
Resolving deltas: 100% (1897/1897), done.
Checking connectivity... done.
 src  cd simian
 simian git:(master) make test
for egg in \
        M2Crypto
-0.22.3-py2.7-macosx-10.9-intel.egg \
        M2Crypto
-0.22.3-py2.7-macosx-10.10-intel.egg \
        M2Crypto
-0.22.3-py2.7-macosx-10.11-intel.egg ; do \
       
[[ -f "simian_${egg}" ]] || curl -o "simian_${egg}" "https://storage.googleapis.com/m2crypto_eggs/${egg}" ; \
       
done
 
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 
Dload  Upload   Total   Spent    Left  Speed
100  390k  100  390k    0     0   681k      0 --:--:-- --:--:-- --:--:--  682k
 
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 
Dload  Upload   Total   Spent    Left  Speed
100  390k  100  390k    0     0   910k      0 --:--:-- --:--:-- --:--:--  911k
 
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 
Dload  Upload   Total   Spent    Left  Speed
100  391k  100  391k    0     0   654k      0 --:--:-- --:--:-- --:--:--  654k
/usr/local/bin/python2.7 -c 'import virtualenv; exit(virtualenv.__version__ != "13.1.2")' || \
       
(sudo easy_install-2.7 -U virtualenv==13.1.2 && \
        sudo easy_install
-2.7 -U setuptools==18.6.1)
[ -d VE ] || \
       
/usr/local/bin/python2.7 /usr/local/bin/virtualenv --no-site-packages VE
New python executable in VE/bin/python2.7
Also creating executable in VE/bin/python
Installing setuptools, pip, wheel...done.
[ -f test ] || \
        VE
/bin/python VE/bin/easy_install-2.7 "/Users/gdunn/src/simian"/simian_M2Crypto-*-py2.7-macosx-10.11*.egg && \
        env SIMIAN_CONFIG_PATH
="/Users/gdunn/src/simian/etc/simian/" \
        VE
/bin/python setup.py google_test && touch test && \
        echo ALL TESTS COMPLETED SUCCESSFULLY
Processing simian_M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg
creating
/Users/gdunn/src/simian/VE/lib/python2.7/site-packages/simian_M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg
Extracting simian_M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg to /Users/gdunn/src/simian/VE/lib/python2.7/site-packages
Adding simian-M2Crypto 0.22.3 to easy-install.pth file


Installed /Users/gdunn/src/simian/VE/lib/python2.7/site-packages/simian_M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg
Processing dependencies for simian-M2Crypto==0.22.3
Searching for simian-M2Crypto==0.22.3
Reading https://pypi.python.org/simple/simian-M2Crypto/
Couldn't find index page for 'simian-M2Crypto' (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 simian-M2Crypto==0.22.3
error: Could not find suitable distribution for Requirement.parse('
simian-M2Crypto==0.22.3')
make: *** [test] Error 1

Maxim Ermilov

unread,
May 25, 2016, 12:22:37 PM5/25/16
to simian-...@googlegroups.com
Hi,

Are you using python2.7 installed from homebrew ? (`which python`)

Thanks,
Maxim

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Graham Dunn

unread,
May 25, 2016, 12:28:36 PM5/25/16
to simian-...@googlegroups.com
yes, I am (/usr/local/bin/python)



--
You received this message because you are subscribed to a topic in the Google Groups "Simian Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/simian-discuss/BRy5Y6v0ctU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to simian-discus...@googlegroups.com.

Maxim Ermilov

unread,
May 25, 2016, 2:34:21 PM5/25/16
to simian-...@googlegroups.com
> yes, I am (/usr/local/bin/python)

simian-M2Crypto is prebuild with system python.

Changing following line in Makefile should fix you problem:

-PYTHON=$(shell type -p python${PYTHON_VERSION})
+PYTHON=/usr/bin/python2.7

Thanks,
Maxim

Graham Dunn

unread,
May 25, 2016, 3:21:55 PM5/25/16
to simian-...@googlegroups.com
That's gotten a little further, but the system python is executing the /usr/local version of virtualenv, so it's still not finding the package:

➜  simian git:(master) ✗ make test
for egg in \
        M2Crypto-0.22.3-py2.7-macosx-10.9-intel.egg \
        M2Crypto-0.22.3-py2.7-macosx-10.10-intel.egg \
        M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg ; do \
        [[ -f "simian_${egg}" ]] || curl -o "simian_${egg}" "https://storage.googleapis.com/m2crypto_eggs/${egg}" ; \
        done
/usr/bin/python2.7 -c 'import virtualenv; exit(virtualenv.__version__ != "13.1.2")' || \
        (sudo easy_install-2.7 -U virtualenv==13.1.2 && \
        sudo easy_install-2.7 -U setuptools==18.6.1)
[ -d VE ] || \
        /usr/bin/python2.7 /usr/local/bin/virtualenv --no-site-packages VE
[ -f test ] || \
        VE/bin/python VE/bin/easy_install-2.7 "/Users/gdunn/src/simian"/simian_M2Crypto-*-py2.7-macosx-10.11*.egg && \
        env SIMIAN_CONFIG_PATH="/Users/gdunn/src/simian/etc/simian/" \
        VE/bin/python setup.py google_test && touch test && \
        echo ALL TESTS COMPLETED SUCCESSFULLY
Processing simian_M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg
removing '/Users/gdunn/src/simian/VE/lib/python2.7/site-packages/simian_M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg' (and everything under it)
creating /Users/gdunn/src/simian/VE/lib/python2.7/site-packages/simian_M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg
Extracting simian_M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg to /Users/gdunn/src/simian/VE/lib/python2.7/site-packages
simian-M2Crypto 0.22.3 is already the active version in easy-install.pth

Installed /Users/gdunn/src/simian/VE/lib/python2.7/site-packages/simian_M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg
Processing dependencies for simian-M2Crypto==0.22.3
Searching for simian-M2Crypto==0.22.3
Couldn't find index page for 'simian-M2Crypto' (maybe misspelled?)
Scanning index of all packages (this may take a while)
No local packages or download links found for simian-M2Crypto==0.22.3
error: Could not find suitable distribution for Requirement.parse('simian-M2Crypto==0.22.3')
make: *** [test] Error 1

Jake Litwicki

unread,
Jun 21, 2016, 2:22:20 PM6/21/16
to Simian Discuss
I'm getting the exact same error using OSX 10.11.5. Anyone able to find a solution?

Maxim Ermilov

unread,
Jun 21, 2016, 2:39:59 PM6/21/16
to simian-...@googlegroups.com
> I'm getting the exact same error using OSX 10.11.5. Anyone able to find a solution?

workaround is to temporary remove python installed by homebrew or switch default to system python.


------Maxim
Reply all
Reply to author
Forward
0 new messages