Question: Unable to execute a python file with API
gravatar for jchen015
3.8 years ago by
jchen01580 wrote:

Hi guys

Ok, so referencing from , I tried out the first example of retrieving all the histories of users.

The link below consist of 2 images:


Image1.png contains the code (similar from the bioblend link) with my API key.

Image2.png contains the result after i executed the command

Here's what I did, i have a python script and placed it at the desktop. Hence, I cd to desktop and executed "./" but the error shows Permission Denied.


**I already installed bioblend by executing the command "sudo pip install bioblend" , is there anything else that i missed that had causes this problem?




ADD COMMENTlink modified 3.8 years ago by Dannon Baker3.7k • written 3.8 years ago by jchen01580
gravatar for Dannon Baker
3.8 years ago by
Dannon Baker3.7k
United States
Dannon Baker3.7k wrote:

The python file isn't executable.  It needs a shebang and to have the executable bit set to execute like that from the command line (

That said, an easier way to run this would be to do:


ADD COMMENTlink written 3.8 years ago by Dannon Baker3.7k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 165 users visited in the last hour