-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iepy command not recognized #139
Comments
Did you install iepy in a virtualenv?
Are you running the iepy command with such virtualenv activated?
In such case you shouldn't need to use sudo
…On Tue, Nov 21, 2017 at 2:07 AM, gowthambalachandhiran < ***@***.***> wrote:
I gave java home path inside my virtual environment but its not able to
create instance
JAVAHOME=/usr/lib/jvm/java-7-openjdk-amd64/bin/java
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/bin/java iepy --create iepy
Traceback (most recent call last):
File "/home/gowtham/my_app/bin/iepy", line 11, in
sys.exit(execute_from_command_line())
File "/home/gowtham/my_app/lib/python3.4/site-packages/iepy/
instantiation/command_line.py", line 43, in execute_from_command_line
InstanceManager(opts["<folder_path>"], lang=lang).create()
File "/home/gowtham/my_app/lib/python3.4/site-packages/iepy/
instantiation/instance_admin.py", line 57, in create
self._run_steps()
File "/home/gowtham/my_app/lib/python3.4/site-packages/iepy/
instantiation/instance_admin.py", line 51, in _run_steps
step()
File "/home/gowtham/my_app/lib/python3.4/site-packages/iepy/
instantiation/instance_admin.py", line 98, in create_folders
os.makedirs(self.bin_folder, exist_ok=not self.creating)
File "/home/gowtham/my_app/lib/python3.4/os.py", line 227, in makedirs
makedirs(head, mode, exist_ok)
File "/home/gowtham/my_app/lib/python3.4/os.py", line 237, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: 'iepy'
(my_app) ***@***.***:/usr/lib/jvm/java-7-openjdk-amd64$ sudo
JAVAHOME=/usr/lib/jvm/java-7-openjdk-amd64/bin/java
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/bin/java iepy --create iepy
sudo: iepy: command not found
(my_app) ***@***.***:/usr/lib/jvm/java-7-openjdk-amd64$
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#139>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAd04-gf1g3Jwgd0PjkyL87coRX0p7sBks5s4lqggaJpZM4QlSn1>
.
--
Javier Mansilla - CTO
www.machinalis.com
|
Yes I installed everything following the document below https://media.readthedocs.org/pdf/iepy/latest/iepy.pdf and I even activated only then I used the above commands |
Issue is resolved javapath was not configured properly. |
Hi i am getting the below error administrator@INKEO02263LNPR:~$ iepy Original exception was: |
I gave java home path inside my virtual environment but its not able to create instance
JAVAHOME=/usr/lib/jvm/java-7-openjdk-amd64/bin/java JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/bin/java iepy --create iepy
Traceback (most recent call last):
File "/home/gowtham/my_app/bin/iepy", line 11, in
sys.exit(execute_from_command_line())
File "/home/gowtham/my_app/lib/python3.4/site-packages/iepy/instantiation/command_line.py", line 43, in execute_from_command_line
InstanceManager(opts["<folder_path>"], lang=lang).create()
File "/home/gowtham/my_app/lib/python3.4/site-packages/iepy/instantiation/instance_admin.py", line 57, in create
self._run_steps()
File "/home/gowtham/my_app/lib/python3.4/site-packages/iepy/instantiation/instance_admin.py", line 51, in _run_steps
step()
File "/home/gowtham/my_app/lib/python3.4/site-packages/iepy/instantiation/instance_admin.py", line 98, in create_folders
os.makedirs(self.bin_folder, exist_ok=not self.creating)
File "/home/gowtham/my_app/lib/python3.4/os.py", line 227, in makedirs
makedirs(head, mode, exist_ok)
File "/home/gowtham/my_app/lib/python3.4/os.py", line 237, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: 'iepy'
When I gave sudo infront of it its not accepting iepy as command
(my_app) gowtham@ubuntu:/usr/lib/jvm/java-7-openjdk-amd64$ sudo JAVAHOME=/usr/lib/jvm/java-7-openjdk-amd64/bin/java JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/bin/java iepy --create iepy
sudo: iepy: command not found
(my_app) gowtham@ubuntu:/usr/lib/jvm/java-7-openjdk-amd64$
The text was updated successfully, but these errors were encountered: