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

MacOS install ( cd lewansoul-lx16a-terminal && python setup.py install ) PyQt5 #4

Open
unknowntpo opened this issue Sep 7, 2019 · 7 comments

Comments

@unknowntpo
Copy link

Hey, I found this problem,
I'm using MacOS
and when I run this command
( cd lewansoul-lx16a-terminal && python setup.py install )
And after a few seconds it showed up this result.
What should I do?
running install running bdist_egg running egg_info writing lewansoul_lx16a_terminal.egg-info/PKG-INFO writing dependency_links to lewansoul_lx16a_terminal.egg-info/dependency_links.txt writing requirements to lewansoul_lx16a_terminal.egg-info/requires.txt writing top-level names to lewansoul_lx16a_terminal.egg-info/top_level.txt reading manifest file 'lewansoul_lx16a_terminal.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'lewansoul_lx16a_terminal.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.14-x86_64/egg running install_lib running build_py creating build/bdist.macosx-10.14-x86_64/egg copying build/lib/lewansoul_lx16a_terminal.py -> build/bdist.macosx-10.14-x86_64/egg byte-compiling build/bdist.macosx-10.14-x86_64/egg/lewansoul_lx16a_terminal.py to lewansoul_lx16a_terminal.cpython-37.pyc installing package data to build/bdist.macosx-10.14-x86_64/egg running install_data creating build/bdist.macosx-10.14-x86_64/egg/resources
copying resources/ServoTerminal.ui -> build/bdist.macosx-10.14-x86_64/egg/resources copying resources/ConfigurePositionOffset.ui -> build/bdist.macosx-10.14-x86_64/egg/resources copying resources/ConfigurePositionLimits.ui -> build/bdist.macosx-10.14-x86_64/egg/resources copying resources/ConfigureVoltageLimits.ui -> build/bdist.macosx-10.14-x86_64/egg/resources copying resources/ConfigureId.ui -> build/bdist.macosx-10.14-x86_64/egg/resources copying resources/ConfigureMaxTemperature.ui -> build/bdist.macosx-10.14-x86_64/egg/resources creating build/bdist.macosx-10.14-x86_64/egg/EGG-INFO installing scripts to build/bdist.macosx-10.14-x86_64/egg/EGG-INFO/scripts running install_scripts running build_scripts creating build/bdist.macosx-10.14-x86_64/egg/EGG-INFO/scripts copying build/scripts-3.7/lewansoul_lx16a_terminal -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO/scripts changing mode of build/bdist.macosx-10.14-x86_64/egg/EGG-INFO/scripts/lewansoul_lx16a_terminal to 755 copying lewansoul_lx16a_terminal.egg-info/PKG-INFO -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO copying lewansoul_lx16a_terminal.egg-info/SOURCES.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO copying lewansoul_lx16a_terminal.egg-info/dependency_links.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO copying lewansoul_lx16a_terminal.egg-info/requires.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO copying lewansoul_lx16a_terminal.egg-info/top_level.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating 'dist/lewansoul_lx16a_terminal-0.1-py3.7.egg' and adding 'build/bdist.macosx-10.14-x86_64/egg' to it removing 'build/bdist.macosx-10.14-x86_64/egg' (and everything under it) Processing lewansoul_lx16a_terminal-0.1-py3.7.egg Removing /usr/local/lib/python3.7/site-packages/lewansoul_lx16a_terminal-0.1-py3.7.egg Copying lewansoul_lx16a_terminal-0.1-py3.7.egg to /usr/local/lib/python3.7/site-packages lewansoul-lx16a-terminal 0.1 is already the active version in easy-install.pth Installing lewansoul_lx16a_terminal script to /usr/local/bin
Installed /usr/local/lib/python3.7/site-packages/lewansoul_lx16a_terminal-0.1-py3.7.egg Processing dependencies for lewansoul-lx16a-terminal==0.1 Searching for lewansoul_lx16a Reading https://pypi.org/simple/lewansoul_lx16a/ Reading https://pypi.org/simple/lewansoul-lx16a/ Couldn't find index page for 'lewansoul_lx16a' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ No local packages or working download links found for lewansoul_lx16a error: Could not find suitable distribution for Requirement.parse('lewansoul_lx16a')

@maximkulkin
Copy link
Owner

You need to do ( cd lewansoul-lx16a && python setup.py install ) first

@maximkulkin
Copy link
Owner

Also, I published packages to PyPI, you should be able to install them with simple pip install lewansoul-lx16a lewansoul-lx16a-terminal

@jconallen
Copy link

I managed to get things working if I used python3 instead.

I also had problems with PyQt5, but got around that buy unstalling (i.e. pip3 uninstall PyQt5) and reinstalling. After that all is working great.

Thank you so much for this project, I am teaching myself python at the same time, so having something that works initially is a great benefit.

@jacobmcclellan
Copy link

So I installed the libraries (pip install lewansoul-lx16a lewansoul-lx16a-terminal) and (pip install lewansoul-lx16a lewansoul-lx16a) however when I run the command: lewansoul-lx16a-terminal it says command not found. DId I skip something?

@maximkulkin
Copy link
Owner

@jacobmcclellan The script name is actually "lewansoul_lx16a_terminal". Try that one. I have fixed README to show correct script name.

@jacobmcclellan
Copy link

That worked, thanks!

@jacobmcclellan
Copy link

I have a question. I came back to this for a project I am working on and when I tried to access the UI through the "lewansoul_lx16a_terminal" command it says "'/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/resources/ServoTerminal.ui'". I uninstalled everything and reinstalled it. Is this an issue with my directory or did I miss something? Thank you in advance. Also, @maximkulkin thank you for making this it helped a lot with my last project.

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

4 participants