私はWebfactionを使用していますが、これは共有ホストのコマンドラインです。
[zallarak@web198 ~]$ python2.6
Python 2.6.5 (r265:79063, Nov 23 2010, 02:02:03)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import stripe
>>>
[zallarak@web198 ~]$ python2.7
Python 2.7.1 (r271:86832, Dec 1 2010, 06:29:57)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import stripe
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named stripe
Pythonのすべてのバージョンで機能させるための簡単な方法が必要であることを私は知っています。この作品を作る方法/その背後にあるコンセプトについての洞察をいただければ幸いです。
私のバージョンのDjangoは2.7で動作するので、目標は2.7で動作させることです。