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

sumominer.py not running on ubuntu 17.04 #10

Open
yeahia2508 opened this issue Dec 22, 2017 · 11 comments
Open

sumominer.py not running on ubuntu 17.04 #10

yeahia2508 opened this issue Dec 22, 2017 · 11 comments

Comments

@yeahia2508
Copy link

python sumominer.py command giving exception :

Traceback (most recent call last):
  File "sumominer.py", line 10, in <module>
    from main import main
  File "/home/y34h1a/Downloads/SumoEasyMiner/main.py", line 10, in <module>
    from app.QSingleApplication import QSingleApplication
  File "/home/y34h1a/Downloads/SumoEasyMiner/app/QSingleApplication.py", line 58
    except Exception, err:
	            ^
SyntaxError: invalid syntax
@zausnerd
Copy link

I think you need to run sumominer.py with python 2, not python 3. You can check your version by running

python --version

@Tan-tan-san
Copy link

I've run it with python2 and python 3 with the same results.

python --version
Python 2.7.6

Traceback (most recent call last):
File "sumominer.py", line 10, in
from main import main
File "/home/chase/SumoEasyMiner/main.py", line 10, in
from app.QSingleApplication import QSingleApplication
File "/home/chase/SumoEasyMiner/app/QSingleApplication.py", line 12, in
from PySide.QtGui import QApplication
ImportError: No module named PySide.QtGui

@zausnerd
Copy link

@Tan-tan-san , that would be a different issue. The error is saying you need the PySide module. You can take a look at https://pypi.python.org/pypi/PySide, that will give you instructions on installing based on your OS.

@yeahia2508
Copy link
Author

I also teseted in python 2 but same issue like before.

@zausnerd
Copy link

@yeahia2508 If you run
python2 sumominer.py, what error do you see?

@canteboi
Copy link

i encountered this one also, even when using python2

python2 sumominer.py

Traceback (most recent call last):
  File "sumominer.py", line 10, in <module>
    from main import main
  File "/home/xx/gitprojects/SumoEasyMiner/main.py", line 10, in <module>
    from app.QSingleApplication import QSingleApplication
  File "/home/xx/gitprojects/SumoEasyMiner/app/QSingleApplication.py", line 12, in <module>
    from PySide.QtGui import QApplication
ImportError: No module named PySide.QtGui

python --version

Python 2.7.12

@noraj
Copy link

noraj commented Dec 30, 2017

  1. Using PySide for Qt bindings is a bad idea because it's officially a dead project. Use PyQt instead.

  2. Using PySide for Qt bindings is a bad idea because it's doesn't support python 3.5 and 3.6.

$ sudo pip install pyside

Collecting pyside
  Downloading PySide-1.2.4.tar.gz (9.3MB)
    100% |████████████████████████████████| 9.3MB 133kB/s
    Complete output from command python setup.py egg_info:
    only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-jd4etxjc/pyside/

$ python --version
Python 3.6.4

@ghost
Copy link

ghost commented Feb 16, 2018

I need step by step method to build it in ubuntu, am kind of confused

@pangdiin
Copy link

This is hard to set up in linux, there is no proper guide WTF!!

@ghost
Copy link

ghost commented Feb 20, 2018

Everything is possible, there is a way

@Moogly
Copy link

Moogly commented Mar 2, 2018

Use apt-get to install pyside and psutil:

sudo apt-get install python-pyside python-psutil

Lastly you'll need the cryptonite_hash library. Idk why the devs didn't just use tk for the UI it's not like this UI is all that fancy and tk has better support throughout Python and is easy to install.

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

7 participants