Thanks for the tips they will come in handy in the future! :)

It seems like my web host did a kernel update or something and then gcc 
disappeared because it worked before.  But they have fixed that problem 
now.  So here's my real problem.


dan@debian:~$ *cat .bash_aliases *
alias py27='/home/dan/usr-32/Python-2.7.3/./python'


dan@debian:~/usr-32$ *py27 virtualenv.py ~/.virtualenvs/ENV2*
Traceback (most recent call last):
  File "virtualenv.py", line 17, in <module>
    import zlib
*ImportError: No module named zlib*


How do I import zlib?
I tried this yesterday but it didn't work.
dan@debian:~/usr-32/Python-2.7.3$ *./configure --prefix=/home/dan/usr-32 
--with-zlib*


On Saturday, May 12, 2012 12:45:09 PM UTC+2, Alec Taylor wrote:
>
> Without gcc you can't do anything yourself.
>
> Extract the binary out of the Python package for your platform
>
> Alternatively I think this has a Python interpreter: 
> http://portablelinuxapps.org/development/wireshark
>
> Might be only 2.6 though...
>
>
> On Sat, May 12, 2012 at 8:29 PM, Dan Santos <dansanto...@gmail.com> wrote:
>
>> *1.)*
>> Hi I have downloaded this zip file:  Python-2.7.3.tgz
>>
>> *2.)*
>> And tried to compile it, I think it's called by doing this command:
>>
>> dan@debian:~/usr-32/Python-2.7.3$ *./configure --prefix=/home/dan/usr-32*
>> *
>> *
>> checking for --enable-universalsdk... no
>> checking for --with-universal-archs... 32-bit
>> checking MACHDEP... linux2
>> checking EXTRAPLATDIR... 
>> checking machine type as reported by uname -m... x86_64
>> checking for --without-gcc... no
>> checking for gcc... no
>> checking for cc... no
>> checking for cl.exe... no
>> configure: error: in `/home/dan/usr-32/Python-2.7.3':
>> configure: error: no acceptable C compiler found in $PATH
>> See `config.log' for more details
>>
>>
>> How do I deal with this on my shared host account with no root access?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/django-users/-/i_yNbeu7jQgJ.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/STsg9RKgrt8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to