无法使用easy_install安装任何软件包

时间:2016-03-27 08:41:40

标签: python python-2.7 pip easy-install

例如,<?php $url = "https://api.mywebsite.com/myapp/customer/verification"; $mh = curl_multi_init(); $handles = array(); $process_count = 10; for($c=1111;$c <= 1121;$c++){ $data_verification = array( "phone" => "+6285643103039", // +6285643103039 9025 "verificationCode" => $c ); $str_verification = json_encode($data_verification); } while ($process_count--) { $ch = curl_init($url); $headers= array('Accept: application/json','Content-Type: application/json'); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($ch, CURLOPT_TIMEOUT, 4000); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_POSTFIELDS,$str_verification); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); ob_start(); curl_multi_add_handle($mh, $ch); $handles[] = $ch; } $running=null; do { curl_multi_exec($mh, $running); } while ($running > 0); for($i = 0; $i < count($handles); $i++) { $out = curl_multi_getcontent($handles[$i]); echo "$i. "; print $out . "\r\n"; echo "<br>"; curl_multi_remove_handle($mh, $handles[$i]); } curl_multi_close($mh); ?> 会导致以下错误:

$('#theIdofInput').bind('keypress blur', function() {

  $(this).val(
             $(this).val().replace(/[^A-Za-z0-9.]/g,'')
             )

});

任何可行的解决方法?以前有人遇到过这个吗?

0 个答案:

没有答案