python - Virtualenv on remote machine gives command not found, even after path reset. -


first, background: i'm undergraduate student in physics , mathematics. have experience programming in python, , i've gained lot of experience using various shell programs while trying solve problem.

i'm needing run software on cluster @ university. i'm trying running ssh mac machine. i've been having lot of trouble installing packages because of permissions, thought try using virtualenv.

despite fact other packages not install, virtualenv seemed install. however, when try run it, get

virtualenv: command not found. 

in trying solve problem, tried reinstalling , got

requirement satisfied: virtualenv in ./.local/lib/python3.4/site-packages. 

i though maybe issue path not set right. remote machine using tcsh, , ran

setenv path ${path}/local/local/lib/python3.4/site-packages 

and path is:

/usr/local/texlive/2017/bin/sparc-solaris-10:/local/bin:/usr/plocal/bin:/usr/local/bin/x11: /usr/local/bin:/usr/local/share/bin: /usr/openwin/bin:/usr/dt/bin:/usr/bin/x11: /usr/x11/bin:/usr/local/pbmplus:/usr/local/x11r5/bin:/usr/local/plot79:/usr/java/bin: /usr/local/java/bin: /usr/local/hotjava/bin:/opt/sunwspro/bin: /usr/ccs/bin:/usr/ucb:/usr/sbin:/usr/bin:/bin:/sbin:/usr/5bin: /usr/local/etc:/etc:/usr/plocal/sun/bin:./local/local/lib/python3.4/site-packages 

yet, remains if try run virtualenv, claims command not found!

full disclosure: question similar following question listed here. but, solution there won't work me because can't use sudo:

sudo: unable stat /etc/sudoers: bad file number sudo: no valid sudoers sources found, quitting sudo: unable initialize policy plugin segmentation fault 

as note, have emailed guy in charge of unix stuff me with, have advising professors, , has done nothing. if @ possible, best if there way did not involve me needing permissions him.

having virtualenv in .local/lib/python3.4/site-packages means you've installed using --user option; hence scripts in ~/.local/bin. do

setenv path ${path}:$home/.local/bin 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -