What is in /home/bmike1/pythonbrew/etc/bashrc?
so should I now disablde pythonbrew?--On Wed, Mar 21, 2012 at 2:03 PM, Michael Havens <bmike1@gmail.com> wrote:
> What is your complete /home/bmike1/.bashrc?there is one line in my .bashrc file. it is:that is all that the file has in it.
[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source
$HOME/.pythonbrew/etc/bashrcThat isn't what was weird..... weird thing is it tried to mkdir when I 'su bmike1'.
>>
>> This is weird; look at what happened in the shell:
>> bmike1@Michaels-Laptop ~ $ sudo su
>> [sudo] password for bmike1:
>> Traceback (most recent call last):
> This is the known python virtualenv error (that we tried to fix with
> pythonbrew:
>
bmike1@Michaels-Laptop ~ $ sudo su
[sudo] password for bmike1:
Traceback (most recent call last):File "<string>", line 1, in <module>
ImportError: No module named virtualenvwrapper.hook_loader
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader, check
that virtualenv has been installed for VIRTUALENVWRAPPER_PYTHON=/usr
/bin/python and that PATH is set properly.
Michaels-Laptop bmike1 # nano ~/.bashrc
Michaels-Laptop bmike1 # su bmike1
mkdir: cannot create directory `/root': Permission deniedbmike1@Michaels-Laptop ~ $ nano ~/.bashrc
> Did you also make sure that that /home/bmike1/.pythonbrew/etc/venv.runIt is there.
> exists and is writable?
>
> $ ls -al /home/bmike1/.pythonbrew/etc/venv.run
> $ chmod ug+ /home/bmike1/.pythonbrew/etc/venv.run
>REally? No, that isn't something I've been doing. Thanks for tellikng me.
>> What do you mean?
>
>
> After each TEST or change of files, you would logout and log back in -
> completely to see if your shell python error was fixed?
>
....<logout>
....<login>
Nope still get the error.
Is it cool to login/out from tty (I don't want to lose all of the stuff on my desktop).
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss