-
Notifications
You must be signed in to change notification settings - Fork 7
Installation Issues #10
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
Comments
Good morning everyone, I'm also receiving the same error of installation that heyelle is receiving, on both windows and mac operating systems. |
Error(s) I receive copied below: (myenv) C:\Users\Quade>python -m morphometrix After pip install PyQtWebEngine: |
I am also having the same issue. Fresh install on a Windows 10, followed all directions, but getting the same exact error message as both folks above. No need to share here again since it's exactly the same. We are super interested in being able to use this program this summer, so thanks in advance! |
hi y'all, great to hear there is interest in using the package and sorry for the delayed response. I have had time off for the last few months, and am just now catching up on things. @heyelle thanks for the detailed look into the install details. Your 5) approach, i.e. git cloning directly, will fetch the most up-to-date version of the package including the PyQt6 update and some bug fixes. Installing via Anaconda would be using older code (PyQt5) that I would not expect to be supported by Apple M1, but weird that it does not work on your Intel mac, as that's what I used to build and test that version awhile ago... I was really hoping that by this point PyQt6 would be available as an anaconda package so I could just update the morphometrix conda package and make it easily downloadable via conda install. Unfortunately, that hasn't happened yet, so I will just update the install instructions to recommend downloading via git clone, pip install, etc. I will try a fresh install now using git clone and update the README instructions assuming things are working as expected. also @heyelle thanks for letting me know about the Bezier curve issue, hopefully we can get that sorted in the other thread. |
hi everyone, i updated the install instructions. Can everyone try to install it directly from github following the README.md and report back when you get a chance? I was able to get it to work on a fresh environment on an Apple M1 MacOS Monterey 12.4 but haven't tried Windows. @AshleighNovak @Quade-CBEL let me know if there any issues. |
Hello! Thanks so much for updating!! I was able to successfully get the program to work on my Windows 10 computer. I didn't start fresh from what I had tried previously. I'm adding my steps here for the other folks, like me, that also may not be great with figuring out programming languages/working with the command lines of different programs.
I did get the attached error message, but I tested the program and all seems fine and it exports measurements so I am very happy! Thanks so much for the help on this! |
hey @AshleighNovak thanks for giving it a go and providing clear instructions to others! Once others have confirmed it works I'll go ahead and close the ticket. |
@AshleighNovak Would you mind explaining Step 5 in your instructions. I am very new to the world of programming so I'm not sure how to navigate to the morphometrix folder. I tried Set-Location to the unzipped folder, but receive "no module named morphometrix" when I do so. @wingtorres, @AshleighNovak I have been using the Anaconda Powershell Prompt however, so this may be an issue later on that I will update the thread with. I was able to run conda install git successfully, git clone successfully, as well as the pip install line of code for PyQt6, PyQt6-WebEngine numpy scipy. If I try to immediately run the python -m morphometrix the error I receive is " No module named morphometrix.main; 'morphometrix' is a package and cannot be directly executed". When I tried/failed to set the location, the error is "no module named morphometrix" My apologies for the rambling. The world of python/gitclone is nearly brand new to me. |
@Quade-CBEL, all you need to do for step 5 is open up a regular command prompt on your computer (can type command prompt into your search bar - I'm not using conda or the Anaconda powershell prompt, you shouldn't need to do anything with Python except install the latest version on your computer) and then navigate to where the morphometrix folder is on your computer. When you open up the command prompt you should already be in your C:\Users\YourName so you can type |
@AshleighNovak Success! Thank you. |
Great to see y'all were able to sort it out! Another thing one can do is add the following line to your ~/.bash_profile script to make it so you don't have to navigate to the morphometrix directory every time. This line automatically adds morphometrix to your path whenever you open a new terminal window. I'm not sure what the analog is on Windows however.
|
Hi Walter!
Thanks to you and KC so much for all your work on this incredibly useful package. A few things:
The text was updated successfully, but these errors were encountered: