WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCE python update  (Read 2158 times)

Offline michbil

  • Newbie
  • *
  • Posts: 1
TCE python update
« on: September 07, 2015, 09:25:38 AM »
Hi everyone, i'm new to tiny core linux, i'm using it basically only in boot2docker. After recent python.tcz repository update, can't install pip anymore. I'm using this command line

tce-load -wi python && curl https://bootstrap.pypa.io/get-pip.py | sudo python - && sudo pip install -U docker-compose

Getting this error

Traceback (most recent call last):
  File "<stdin>", line 17759, in <module>
  File "<stdin>", line 162, in main
  File "<stdin>", line 82, in bootstrap
  File "/tmp/tmpbuE2Di/pip.zip/pip/__init__.py", line 15, in <module>
  File "/tmp/tmpbuE2Di/pip.zip/pip/vcs/subversion.py", line 9, in <module>
  File "/tmp/tmpbuE2Di/pip.zip/pip/index.py", line 30, in <module>
  File "/tmp/tmpbuE2Di/pip.zip/pip/wheel.py", line 35, in <module>
  File "/tmp/tmpbuE2Di/pip.zip/pip/_vendor/distlib/scripts.py", line 14, in <module>
  File "/tmp/tmpbuE2Di/pip.zip/pip/_vendor/distlib/compat.py", line 31, in <module>
ImportError: cannot import name HTTPSHandler

Will appreciate for any help. Also would be good if you point me, where i can download old version of python.tcz
I've seen this changes in changelog, so i think it is related.

python.tcz
Description:    Python programming language
Current:        2015/09/04 recompiled for updated openssl (juanito)
Uploaded on Sat Sep 05 10:37
 
####################################################

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: TCE python update
« Reply #1 on: September 07, 2015, 11:41:49 AM »
Boot2docker is a tinycore respin.
Respins are NOT supported here.
Anyone distributing a respin MUST provide their own support.

Offline ikrase

  • Newbie
  • *
  • Posts: 5
Re: TCE python update
« Reply #2 on: September 08, 2015, 07:46:16 PM »
This happened to me as well, using normal Tinycore. However an update today seems to have fixed it (make sure openssl is installed.)