mm icon indicating copy to clipboard operation
mm copied to clipboard

Can it support python 3?

Open hh-in-zhuzhou opened this issue 7 years ago • 10 comments

It looks not support python3.

$ pip install marmir
Collecting marmir Using cached https://files.pythonhosted.org/packages/e4/7d/75d7c821c2a9439ccaad6f70d5cfb8ba3a7d5795b9632f3a9b89a3a40e2e/Marmir-0.1.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/private/var/folders/n3/hnw9vdn51qzf29grjgmcyr800000gn/T/pip-install-8fun0y3l/marmir/setup.py", line 3, in import mm File "/private/var/folders/n3/hnw9vdn51qzf29grjgmcyr800000gn/T/pip-install-8fun0y3l/marmir/mm/init.py", line 10, in from document_base import * ModuleNotFoundError: No module named 'document_base'

hh-in-zhuzhou avatar Jun 03 '18 07:06 hh-in-zhuzhou

It's a good idea. I'll take a look at it but might need a week or so.

brianray avatar Jun 04 '18 02:06 brianray

I got the same error, any solutions?

minzhou1003 avatar Aug 06 '18 18:08 minzhou1003

Any updates in the last 2 months?

EOSIT avatar Aug 14 '18 06:08 EOSIT

We have started work on this https://github.com/brianray/mm/tree/python3

brianray avatar Aug 14 '18 14:08 brianray

Try this: https://github.com/brianray/mm/releases/tag/mm3

When us use import mm3 <- with a 3

Let me know if you find any issues, just create an issue here: https://github.com/brianray/mm/issues/

brianray avatar Aug 14 '18 17:08 brianray

I got the same error, any solutions?

MaJuanWH avatar Oct 25 '18 02:10 MaJuanWH

Same error with branch?

https://github.com/brianray/mm/tree/python3

brianray avatar Oct 25 '18 02:10 brianray

yes

MaJuanWH avatar Oct 25 '18 03:10 MaJuanWH

C:\Apython\Anaconda\Lib\site-packages\mm-mm3>python setup.py Traceback (most recent call last): File "setup.py", line 3, in import mm File "C:\Apython\Anaconda\Lib\site-packages\mm-mm3\mm_init_.py", line 9, in from document_base import * ModuleNotFoundError: No module named 'document_base'

still this error

MaJuanWH avatar Oct 25 '18 03:10 MaJuanWH

Default import in py3 is different from py2

hustjiangtao avatar Dec 21 '19 13:12 hustjiangtao