python/anacondaについて、ここに記述してください。
Anaconda3-2.4.0-Linux-x86.sh 277.4M 2015-11-02 16:22:22 423f0300cbec30c206a6c61f7e5dc9bd Anaconda3-2.4.0-Linux-x86_64.sh 285.2M 2015-11-02 16:22:22 48b6d696c73b5f3d573da3300946591d
cryptography (openssl) 周辺の不良を調べるために、
- ひとまずAnaconda3をインストールしてみた。
-- ToshinoriMaeno 2015-11-19 07:51:16
$ python Python 3.5.0 |Anaconda 2.4.0 (32-bit)| (default, Oct 19 2015, 21:55:59) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import OpenSSL >>>
OpenSSLはimportできた。 なにが違うのだろう。
1. virtualenv
anaconda 向きではないとのこと。
$ pip install virtualenv
WARNING: using virtualenv with conda is untested and not recommended.
We suggest using the conda command to create environments instead.
For more information about creating conda environments, please see:
http://docs.continuum.io/conda/examples/create.html
Proceed (y/n)? nhttp://conda.pydata.org/docs/intro.html
2. letsencrypt-auto
やっていることは letsencrypt のための環境設定か。
$ pip install -r py26reqs.txt
Collecting ConfigArgParse from git+https://github.com/kuba/ConfigArgParse.git@python2.6-0.9.3#egg=ConfigArgParse (from -r py26reqs.txt (line 1)) Cloning https://github.com/kuba/ConfigArgParse.git (to python2.6-0.9.3) to /tmp/pip-build-lx0e74bh/ConfigArgParse Installing collected packages: ConfigArgParse Running setup.py install for ConfigArgParse Successfully installed ConfigArgParse-0.9.3
$ pip install -U letsencrypt
Collecting letsencrypt
Using cached letsencrypt-0.0.0.dev20151114.tar.gz
Collecting acme==0.0.0.dev20151114 (from letsencrypt)
Using cached acme-0.0.0.dev20151114.tar.gz
Collecting ConfigArgParse (from letsencrypt)
Using cached ConfigArgParse-0.10.0.tar.gz
Requirement already up-to-date: configobj in /home/tmaeno/anaconda3/lib/python3.5/site-packages (from letsencrypt)
Collecting cryptography>=0.7 (from letsencrypt)
Using cached cryptography-1.1.1.tar.gz
Collecting parsedatetime (from letsencrypt)
Using cached parsedatetime-1.5.tar.gz
Requirement already up-to-date: psutil>=2.1.0 in /home/tmaeno/anaconda3/lib/python3.5/site-packages (from letsencrypt)
Requirement already up-to-date: PyOpenSSL in /home/tmaeno/anaconda3/lib/python3.5/site-packages (from letsencrypt)
Collecting pyrfc3339 (from letsencrypt)
Using cached pyRFC3339-1.0-py2.py3-none-any.whl
Collecting python2-pythondialog>=3.2.2rc1 (from letsencrypt)
Using cached python2-pythondialog-3.3.0.tar.bz2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-iinnr518/python2-pythondialog/setup.py", line 32, in <module>
from dialog import __version__ as VERSION
File "/tmp/pip-build-iinnr518/python2-pythondialog/dialog.py", line 264
except OSError, e:
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-iinnr518/python2-pythondialogpython2 むけか。 anaconda2 も必要かな。
-- ToshinoriMaeno 2015-11-19 12:52:43
