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
ABSOLUT PATH ON S3A #46
Comments
Hi,
Could you please explain how the path is preventing you from modifying s3-extend? I would be happy to help you find a solution to your problem, but I first need to understand the specifics of the problem. |
Hi, I don't have a pyproject.taml file, but I do have a pyprojecttaml.py file which doesn't specify "project.scripts".
I'm using python 3.12, could this be the problem? I'll tell you more about what we did during the python configuration: In PC1, I use the python embed zip : First of all, everything runs correctly locally. We take our PC1 computer, we create a portable python, with pip we install the extensions then we run "s3a.exe" with cmd from its folder. To check its portability, we follow the same steps but on a different machine, PC2. We create our portable python directly in a USB key called "LA_BLEU". The same windows open as on our PC1 to show us that everything works. To make sure the problem doesn't come from installing Python on the LA_BLEU USB key, we take our portable python that we created on PC1 and move it to our other USB key called LA_VERTE. However, we suspect that python has created dependencies, so we test the portability of our python on a VIRGIN PC. Ok, python is working, so we run s3a.exe : We find the same error as with the LA_BLEU key. I hope I've been clear in my explanations, thanks again for helping me. |
Thanks for the detailed information. You will need to create a virtual environment on the USB stick. Information about virtual environments can be found here, and here are the steps to do so:
After the installation is completed, you should be able to run s3a. So you know, the drive letter for the USB stick must be the same when plugging it in from one computer to another. If you did the installation above on drive D: then if you use the same USB stick on another computer, it must also assign the USB stick the same drive letter—in this case, D:. Also, as shown in step 2 above, you must activate the virtual environment each time you power up the computer or close the terminal window. You might be able to put that in a .bat file. Please let me know if this solves your issue, and if so, please close the issue. |
I am closing this issue. If you have any further questions about it, please enter them here, and I will look at them. |
Hello,
I'm a french student doing an internship and I'm developing a software that allows us to use scratch with an arduino board.
We import s3-extand and pigpio but the problem is that the s3-extand path seems to be absolute and prevents us from embedding our python.
Is there a way around this problem?
Best regards Guillaume DŒUVRE
The text was updated successfully, but these errors were encountered: