-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
A little bug that I ran into #34
Comments
Hi, Please provide the following information:
|
Hey, I had this exact same issue and the exact same error message. I'm on a MacBook and even after I tried @cpeeler2023 solution, I continued receiving it. I'm on Python version 3.11.5. I would be so happy if you could help me fix this as it would be a great help for my science fair project and I am happy to give you any other details you need. |
@Jezze84 Please provide me the above information I initially asked @cpeeler2023 to give me. Also include the whole error message itself. |
Thank you so much for responding! Here's all the specifications:
Another problem that may be helpful to know is that when I run "source ./env/bin/activate" on its own it will give me "zsh: permission denied" but it doesn't occur for me when I run the installation commands and then the ./src/qbr.py command.
I often get "ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects" and after I run that set of commands and then run "./src/qbr.py" I always get the same response as @cpeeler2023 which is: Traceback (most recent call last): So if any of this helps I would really appreciate some feedback. Thank you!!! |
@Jezze84 Sorry for the late reply, I was very busy recently. Regarding your path problem, please provide me the output of the following commands:
Regarding the other error
Rearding macOS, I even removed all my pip3 packages and completely reinstalled python3 on my system. It might be the way how you initially installed python3 on your system. I personally installed python3 through Perhaps you can try installing |
@kkoomen No worries about your late reply, in fact it's the same reason it's taken me a long time to get back to you because I've also been super busy. Regarding the outputs you wanted me to provide you with here they are (in order of what you asked):
(The "examplename" are all the exact same name and format I just censored them because idk if its safe to share that information publicly) In regards to the "ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects" and the solutions you suggested: I don't know how to go about reinstalling python3 since I've read that its not safe to complexly uninstall python 3 on Macs and that it could harm the system. But if you think that could be the key issue then I would be happy to reinstall it with |
@Jezze84 You confirm whether you've installed python3 through brew by doing
if this outputs something starting with |
@kkoomen I used the command you gave me and I received |
@Jezze84 First of all, please provide me with the output of the following command:
Second, now that I'm reading your initial problem again:
You're saying with a set of commands you can get it to work again but apparently the config directory isn't expanded correctly, so perhaps if I just fix the config then everything is solved. |
@kkoomen Again sorry for the late response but here it is: /Users/bryanjones |
@Jezze84 Please pull from the master branch and run |
@kkoomen Instead of just updating the program by pulling the changes from the master branch I was dumb and just reinstalled the whole thing. Regardless, it did update the changes you made such as the misplaced parenthesis and changing pillow to 10.01 which seems to have resolved that initial error I had because that no longer comes up when installing or trying to run
If you know how to fix this I figured asking here first but I'll continue trying to resolve this on my own. I think all I have to do is go in and install the kociemba program off GitHub and direct it there but if you know how to fix this I would be very appreciative. Anyways thanks for all the help! |
Just run |
I did and I got the same results. I did some testing and when I install
And when I try to install this individually I get the error:
Again, I don't know if this is just the PATH being messed up because its in a virtual environment or because it is the wrong version of Python which the modules are installing to but as I try to troubleshoot this error I'll update. EDIT: In case you ask when I run |
Error such as |
First off, this is an amazing project. I used it to also make my own mechanical Rubix Cube solver and the scanner works great. I modified it to fit exactly what I needed, and it was easy to follow.
When I was working on installing it, one problem kept occurring. I ran the installation on multiple computers and got the same errors. Maybe this was just on my computer but I think it could also happen on others (or I could just be wrong, not sure). This was the error I was receiving:
Traceback (most recent call last):
File "/Users/__________/qbr/./src/qbr.py", line 8, in
from video import webcam
File "/Users/qbr/src/video.py", line 6, in
from colordetection import color_detector
File "/Users//qbr/src/colordetection.py", line 8, in
from config import config
File "/Users//qbr/src/config.py", line 37, in
config = Config()
^^^^^^^^
File "/Users//qbr/src/config.py", line 20, in init
os.mkdir(self.config_dir)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/________/.config/qbr'
I figured out how to solve the problem, but I thought it anyone else runs into the same problem, this might help.
1: Go to config.py, then on line 11 change "
/.config/qbr" to "/qbr/src"I belive that the way that it is structured right now does not get the correct file, but the qbr/src selects the correct file
2: The next step I did was move the demo photos from outside the src files into it moving it from the qbr file to src. I also think this is because it is not finding the photos due to its location.
I worked on this with a partner who helped me figure some of this stuff out so I could be wrong, but it worked for me and it may come in handy for some if running into a similar problem.
The text was updated successfully, but these errors were encountered: