CIDARLAB / cello

Genetic circuit design automation
http://www.cellocad.org/
BSD 2-Clause "Simplified" License
808 stars 134 forks source link

Could not run " python cell_client.py submit" #39

Closed danielchen26 closed 6 years ago

danielchen26 commented 6 years ago

When typed " python cell_client.py submit" in terminal in the pycello folder. It gives me the following error. Also, in your README file, it seems that you missed an argument in the command line. How do you install "cello" to the shell?

File "cello_client.py", line 292
    print gb_feature.location, gb_feature.type, gb_feature.qualifiers['label'], gb_feature.extract(gb_record.seq)
                   ^
SyntaxError: invalid syntax
tim-tx commented 6 years ago

Using Python 3 instead of Python 2 would cause this.

Please give a specific reference to the README.

There isn't any kind of install script, it's expected that you run Cello from the source folder where you built it.

danielchen26 commented 6 years ago

Thanks for the reply. I will try python2. for the README file I am referring to the file in the tools/pycello/README. in the REDME file, it writes:

Install:

$ pip install --editable .


Test installation:

+ If successful, the installation creates a shell command called 'cello'.  

$ cello

tim-tx commented 6 years ago

Make sure you include the final period in

$ pip install --editable .

If this doesn't work please post any error messages. I guess you should actually be using pip2 as well.

danielchen26 commented 6 years ago

It works. Now I have installed the command line "cello" in a virtual environment with conda python2. Thanks for your help