Comments (4)
If you have installed 'cpppo' using 'pip install cpppo', but then your Python cannot find it -- make sure you are using the same Python. This indicates that there is some issue with your Python installation, not with cpppo.
You might try 'python -m pip install cpppo'. This will ensure that (at least) the same version of Python is being used to perform the pip install.
If, after a 'pip install whatever', you run python, get a '>>> ' prompt, and try 'import whatever'. If this doesn't succeed, then the module you just installed didn't get installed correctly. I'd recommend following some Python getting started documentation to get your feet wet, and work out all of the basic issues with working with Python, and then have another go...
Don't give up. Working with Python on Windows is especially difficult vs. Mac or Linux. But, once you've got all the Windows-y issues worked out, it seems to work OK. Getting the "command line" to work right is especially problematic, but there are work-arounds in the https://github.com/pjkundert/cpppo.git documentation README.org.
Hope that helps.
from cpppo.
Hi pjkundert, thanks for the quick reply, I've pip uninstall cpppo and then python -m pip install cpppo but I'm getting the same error, forgot to mention that I'm working on Virtual Box and Debian 8.3.0. on Windows 7.
from cpppo.
I would recommend using the command-line. It's probably an issue with your
IDE, not using the same version of Python as on your Debian installation,
or something.
I'd recommend installing other (simpler) modules, and testing them out,
'til you get it to work. Then resume working with cpppo. Follow the
getting started documentation for your IDE, perhaps?
-pjk
On Sat, Feb 20, 2016 at 5:14 PM, jonwolf-ibisa [email protected]
wrote:
Hi pjkundert, thanks for the quick reply, I've pip uninstall cpppo and
then python -m pip install cpppo but I'm getting the same error, forgot
to mention that I'm working on Virtual Box and Debian 8.3.0. on Windows 7.[image: virtualbox_debian 8 3 0_20_02_2016_19_41_16]
https://cloud.githubusercontent.com/assets/17366073/13200003/04695aa0-d80a-11e5-8243-4c92f0b47ef4.png—
Reply to this email directly or view it on GitHub
#11 (comment).
from cpppo.
you were right datasim, running the program in terminal runs well, the problem is in Eric IDE, i need to configure some sort of path. Thanks
from cpppo.
Related Issues (20)
- Connection manager: unconnected send
- Receiving (not pulling or writing) data from AB Compact GuardLogix PLC
- Question: Getting single attribute
- Question: read an array of structures in one request
- Question: write to structure field
- CIP Class 0x66
- AssertionError on harvest HOT 1
- Simulate Omron Adapter
- (Question) Duplicate Responses to CIP Discovery Packet HOT 3
- Sending SINT write request using client results in error
- Python 3.11 import problem HOT 1
- Question: What is the meaning of "Tag communications capability"
- Question: CPPPO Server configuration as Generic Ethernet Module in Studio 5000
- Client import problem HOT 1
- SMC JXC91 write HOT 5
- Question: How to call vendor specific services?
- Question: How to send Instance Service "reset (0x05)" instead of "get_attributes_all (0x01)" using Cpppo? HOT 1
- AssertionError: Failed to receive any response
- Implicit (cyclic) communication for lower latency
- Can we have a simple example of writing a single register to a ControlLogix please
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 cpppo.