Comments (6)
I tried on a Mac x86 interl i5 cpu, also not work. But definitely works well on Linux and Windows.
from pysoem.
works on Linux and windows, I also tried on a Mac, but it seems not work. Have you tried on a virtual machine on mac?
from pysoem.
I have not tried on a virtual machine for mac yet. I was thinking the problem was probably with my chip architecture since I'm on an M1. I'll try in a virtual machine and update here.
from pysoem.
pip install pysoem on Intel Mac also results in
No matching distribution found for pysoem
any tricks to roll this on mac? (no VM)
from pysoem.
@tom9672
Hi, I tried on a Mac x86 intel i7 cpu, and it works well for me.
What I did was download the source code and add some code for platform adaptation.
elif sys.platform.startswith('darwin'):
soem_macros = []
soem_lib_dirs = []
soem_libs = ['pthread', 'pcap']
os_name = 'macosx'
Then, you can use the following command to install the pysoem library in the same directory as the setup.py
file.
pip install .
ps: I changed the version number to 1.1.5.
Oh, If you find that master.open(ifname)
fails, please modify the read and write permissions of the mac's network port.
For example, I use the following command to open the permissions of four thunderbolt ports.
sudo chmod 777 /dev/bpf*
Enjoy it!
from pysoem.
Thank you @Ice-Panda for sharing, this was already available on a branch: https://github.com/bnjmnp/pysoem/blob/add_macos/setup.py
I just merged it into mainline. Now also binary wheels are build for macOS, so no build step is needed during the install.
With that I think we can close this now.
from pysoem.
Related Issues (20)
- IO-Link Ethercat module (EL6224) HOT 2
- Returning PDO frame late (Windows) HOT 2
- Handle Safety HOT 2
- ConnectionError: could not open interface on Ubuntu HOT 3
- Motion control HOT 1
- read and write PDOS question HOT 2
- Add meaning of 'network adapter ID' to documentation HOT 3
- Script crashes when Python debugger inspects `CdefSlave` HOT 3
- OD version bug HOT 1
- maybe a BUGm needs deeg in HOT 1
- How to pack / unpack single `BIT`s in PDO `input` / `output` HOT 3
- Open function returns always None HOT 2
- slave.write_eeprom() bug? HOT 2
- Transfer `pysoem` into the `OpenEtherCATsociety` Github group HOT 2
- Code completion / Intellisense not working HOT 3
- Setuptool version clash HOT 1
- no SDO info for slave device
- no SDO info for slave device
- ReadTheDocs documentation is not updating
- Servo State Change
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysoem.