FrancoisSchnell / GPicSync

:earth_americas::globe_with_meridians: GPicSync: inserts location in your pictures metadata from a GPS tracklog.
https://github.com/metadirective/GPicSync
Other
164 stars 43 forks source link

Is possible release a MacOS version? #10

Open poorfish opened 7 years ago

cosmincc commented 7 years ago

You can use it on a Mac by using the source code. You just need to install the dependencies:

pip install unidecode pillow
pip install --ignore-installed -U wxPython

See the Linux wiki section for other dependecies.

otmezger commented 5 years ago

I'm trying to run it with mac, unsuccessfully so far.

I get the following if I run python gpicsync-GUI.py

(GPicSync) olmos-MacBook-Pro:src olmo$ python gpicsync-GUI.py
(4, 0, 4, '')
wxversion ['3.0-osx_cocoa']
Python verion is 2.7.15 | packaged by conda-forge | (default, Feb 27 2019, 20:44:16)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]
This program needs access to the screen. Please run with a
Framework build of python, and only when you are logged in
on the main display of your Mac.

if I run pythonw2.7 gpicsync-GUI.py however, I get:

Traceback (most recent call last):
  File "gpicsync-GUI.py", line 29, in <module>
    from unidecode import unidecode # unicode to ascii (see issue 117 regarding Python 2.x and command line to exiftool containing unicode)
ImportError: No module named unidecode

unidecode is installed, I can run from unidecode import unidecode from python in the same virtual environment.

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: unidecode in /anaconda3/envs/GPicSync/lib/python2.7/site-packages (1.0.23)

can you help?

otmezger commented 5 years ago

here is the requirements.txt with packages I've created:

certifi==2019.3.9
Pillow==6.0.0
six==1.12.0
Unidecode==1.0.23
wxPython==4.0.4
FrancoisSchnell commented 5 years ago

Hi. It's seems you' re using anaconda Python instead of Python. I'm not very familiar with it but did you install unidecode this way? https://anaconda.org/anaconda/unidecode conda install -c anaconda unidecode I will try to remove the unidecode requirement in the future.

otmezger commented 5 years ago

Yes. That’s how I did it. And also with pip. It is strange.

FrancoisSchnell commented 5 years ago

Maybe try, which python which pip pip list to know which python and pip are used in that folder.