Try ERPNext Buy Support Partners Foundation

Can not install LDAP ERPNEXT version-13-beta ./env/pip: No such file or directory

i did as in the Doc

https://docs.erpnext.com/docs/user/manual/en/erpnext_integration/ldap-integration

but
i got this

~/erpnext/frappe-bench$ ./env/pip install ldap3
bash: ./env/pip: No such file or directory

please how to solve it?

Says exactly what it means…

ls -al . shows the following:

total 36
drwxr-xr-x  7 frappe frappe 4096 Jul  7 07:51 ./
drwxr-xr-x 11 frappe frappe 4096 Oct  7 20:49 ../
drwxr-xr-x  8 frappe frappe 4096 Oct  7 19:45 apps/
drwxr-xr-x  3 frappe frappe 4096 Jul  7 07:51 config/
drwxr-xr-x  6 frappe frappe 4096 Jul  7 07:46 env/
drwxr-xr-x  2 frappe frappe 4096 Oct  8 00:29 logs/
-rw-r--r--  1 frappe frappe  194 Oct  2 19:41 patches.txt
-rw-r--r--  1 frappe frappe  431 Jul  7 07:51 Procfile
drwxr-xr-x  4 frappe frappe 4096 Oct  3 00:34 sites/

Peeking inside of env/, we find:

frappe@ubuntu:~/frappe-bench/env$ ls
bin  include  lib  share

pip is a binary, so we would probably find it inside bin/

frappe@ubuntu:~/frappe-bench/env/bin$ ll | grep pip
-rwxrwxr-x 1 frappe frappe     246 Sep 30 23:26 pip*
-rwxrwxr-x 1 frappe frappe     246 Sep 30 23:26 pip3*
-rwxrwxr-x 1 frappe frappe     246 Sep 30 23:26 pip3.6*

Sure enough it is there.

Try running ./env/bin/pip install ldap3

1 Like