Edinburgh-Genome-Foundry / DnaCauldron

:alembic: Simple cloning simulator (Golden Gate etc.) for single and combinatorial assemblies
https://edinburgh-genome-foundry.github.io/DnaCauldron/
MIT License
50 stars 11 forks source link

problem with snapgene_reader #2

Closed jurquiza closed 4 years ago

jurquiza commented 5 years ago

Attempting to install results in the following error for snapgene reader using pip3

Using cached https://files.pythonhosted.org/packages/f6/90/bfd3cc66c6e5045f4156b695708dcec715e9ff18d4aef9493fd7f966f5aa/snapgene_reader-0.1.15.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-kl5wwig5/snapgene-reader/setup.py", line 13, in long_description=open('README.rst').read(), File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1031: ordinal not in range(128)

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-kl5wwig5/snapgene-reader/

Zulko commented 5 years ago

Maybe it doesn't like the "¢" in the README. It doesn't do that with me but maybe it is machine-dependent (what OS are you using?).

I have edited the README on Github, could you try installing directly from Github?

pip3 install git+https://github.com/Edinburgh-Genome-Foundry/SnapGeneReader.git

If it works, you may be able to pip3 install dnacauldron normally. If not also try with Github

pip3 install git+https://github.com/Edinburgh-Genome-Foundry/dnacauldron.git

Let me know what worked and what didn't.

jurquiza commented 5 years ago

yes, it worked. I am using a Docker container with Ubuntu:latest. However if I try DNAcauldron first before trying snapgene_reader it still has the error. if I install snapgene_reder first then it allows me to install DNAcauldron

Zulko commented 5 years ago

Ok thanks for the tests, this seems to confirm that the problem was the "¢" symbol.

I have pushed the fixes to PyPI so you should be able to install simply with "pip install dnacauldron" now. Let me know if that still doesn't work.

Not sure why the problem appeared on Ubuntu:latest though (and not on any Ubuntu machine or Python docker I have tried so far).