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

error when building docker #26

Open
faridamousa opened this issue Feb 3, 2025 · 2 comments
Open

error when building docker #26

faridamousa opened this issue Feb 3, 2025 · 2 comments
Labels
question Further information is requested

Comments

@faridamousa
Copy link

i am using windows operating system and i seem to have an issue that says:
/usr/bin/env: ‘python3\r’: No such file or directory
how can i solve this?

@iomz iomz added the question Further information is requested label Feb 4, 2025
@iomz
Copy link
Owner

iomz commented Feb 4, 2025

Can you provide the full error message and the command you ran?

@faridamousa
Copy link
Author

it comes up when i try to make my own container
however when i run: docker compose up -d influxdb and then go to directory where influx_client.py is present and run; python influx_client.py

i get this error:
Traceback (most recent call last):
File "C:\Users\Farida\Downloads\myoband\dl-myo\examples\influxdb\influx_client.py", line 161, in
asyncio.run(main(args))
File "C:\Users\Farida\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\Farida\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Farida\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 685, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\Farida\Downloads\myoband\dl-myo\examples\influxdb\influx_client.py", line 73, in main
ic = await InfluxClient.with_device(mac=args.mac)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Farida\AppData\Local\Programs\Python\Python312\Lib\site-packages\myo\core.py", line 243, in with_device
self = cls(aggregate_all=aggregate_all, aggregate_emg=aggregate_emg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: InfluxClient.init() got an unexpected keyword argument 'aggregate_all'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants