Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] New Catalina install gives python 2.7.16 error standard and brew installed python 3.7.17 error #346

Open
wakatara opened this issue Feb 13, 2020 · 1 comment

Comments

@wakatara
Copy link

I just moved over to a new Mac laptop and am on OSX 10.15.3. I have gmvault working fine on my old one, but with Python 2.7 end-of-lifed and the removal of the python@2 brew formula from homebrew (which appears to be what is keeping gmvault on my older machine), I am getting the following error on my new lappie on the gmvault cli command (using 1.9.1 gmvault).

Odd. Use default python2.7.x or 2.6.x distribution.
Traceback (most recent call last):
  File "/tmp/gmvault.bootstrap.27789", line 1, in <module>
    import gmv.gmv_cmd as runner
ImportError: No module named gmv.gmv_cmd

I get this whether using brew python3 ahead of the gmvault command to run it or the /use/bin/python stock in the Catalina install.

The system stock python is Python 2.7.16 (note there is no pip for python 2.x installed
The brew installed version of python is Python 3.7.6
gmvault was installed via pip3 with pip3 install gmvault (all dependencies are fine).

I noted there has been no code updates in ~5 years so wondering whether someone needs to wade in and simply update this to python 3 properly (yeah, I might look at that, though am no pythonista.).

Ideas on how to fix this in the meantime?
I do like having the backups and run them daily via cronjob on my old lappie.

Would prefer to stick with brew installed python rather than go with pyenv or similar for globals unless that is the only way (oh, one other minor thing... I use fish shell rather than bash or zsh but figure that is incidental to the problem.).

@wakatara
Copy link
Author

I guess the big question is... what is the status of gmvault with python 3.x? Is it usable? Trying to figure out how to sort this as it's the last thing I need to get working on my new system. =]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant