Comments (16)
Good morning.
Apparently, there is a mismatch between the version of pyasn1 installed and the version required by pyasn1-modues (this has happened before.) I have updated the version in setup.py and requirements.txt. Could you fetch the latest on the develop branch and check if that solves your issue?
Cheers,
// Ola
from calvin-base.
@olaan Hello!!
Thank you very much for your answer, modify the file "requirements.txt" and "setup.py" as you described in Install: Attempt to fix issue # 95, but when I run again (python setup.py install) in my console the error :
File "setup.py", line 17
import os
^
IndentationError: unexpected indent
Sorry I'm a novice on this subject, thank you for your patience.
from calvin-base.
It appears there are some unexpected changes in your setup.py file. I suggest you fetch the repo again, removing any changes you have done yourself.
You should also get a basic tutorial on python. It would help with issues such as this.
from calvin-base.
@olaan
I could find the error and it worked perfect, but in the following command (py.test -m essential calvin) in https://github.com/EricssonResearch/calvin-base/tree/develop/extras/install#debian-based-systems-manual-installation there are many errors of which appear to be classes of the same calvin-base. I would like to show you something of all this:
from calvin-base.
Could you re-run the tests with py.test -sv
and attach the entire log (as text, not screenshot)?
Cheers.
from calvin-base.
Of course I attach the text. You will see my console does not show me from the beginning of py.test -sv but I think most of it I could rescue.
from calvin-base.
Not seeing the entire log, it is difficult to say the exact cause of this problem. It seems that one or more runtimes fail to connect to each other.
Could you
-
verify that you are using the latest version on the develop branch?
git checkout develop && git pull --rebase
will ensure this (unless you have made changes, in which case these will have to be removed first.) -
run just the test_calvin.py tests and save the log to a file? From the calvin-base directory, execute
py.test -sv calvin/tests/test_calvin.py >& tests.log
and attach the file tests.log.
Cheers,
from calvin-base.
@olaan
I send the step by step, each command executed and the results of the tests. I would like to ask you if the branch I choose varies in something, I chose "develop".
I can not find the result of (py.test -sv calvin / tests / test_calvin.py> & tests.log) to send it to you. Sorry that I did not understand.
step-by-step.pdf
pytest -m essential calvin.TXT completed
from calvin-base.
Hello @olaan,
Sorry,
I do not want to seem annoying. Could you see the files I sent him?
from calvin-base.
I am really sorry. It appears my previous response was lost.
I think there is an issue with the installation, and the best way forward is probably to uninstall Calvin and start over using the instructions for installing in a virtual environment.
I am currently on vacation, but will take a closer look at it later this week.
Sorry for the delay.
// Ola
from calvin-base.
Hey @Tatiana-runco ,
How did it go? Have you tried reinstalling Calvin?
// Ola
from calvin-base.
Hello @olaan
I was able to make it work under a virual environment. However, it would be ideal to install it as described in https://github.com/EricssonResearch/calvin-base/tree/develop/extras/install#debian-based-systems-manual-installation but I had no luck with that installation the previous errors that I showed you.
from calvin-base.
Hello @olaan how are you?
As I told you, I could install it with the vitual environment as you told me. I must thank you very much for that. I was trying the Hello Word and Button - Light examples, I'm really interested in Calvin. I want to make a project where an application developed in Calvin interacts with devices such as rasberry pi or arduino boards and these with sensors. My idea will be possible to develop with Calvn and the virtual environment?
It would be of vital importance to have knowledge of this to be able to completely defend myself in the development of said application.
Thank you very much for your help.
Tatiana
from calvin-base.
Good afternoon.
What you describe is certainly possible. There are a number of examples of this in the examples/sensor-kit folder - see also the wiki page on Sensor kit on how to connect some common sensors to a raspberry pi.
Cheers,
// Ola
from calvin-base.
Thank you @olaan , your help has been very useful!
from calvin-base.
Good to hear! Then I'm closing this issue now.
Cheers,
// Ola
from calvin-base.
Related Issues (20)
- Missing documentation for `context` and `data` actors HOT 1
- Problematic simultaneous runtimes HOT 35
- Deleting Applications doesn't seem to work HOT 5
- MQTT readme file not up to date
- Port tests call fixtures directly
- BaseException.message used in tests.
- Draft of stand-alone actorstore HOT 1
- cscontrol connection refused (err:111) distributed environment HOT 5
- 'Did not received reply for msg id within 5 seconds' HOT 16
- Sensor Virtual Weather Not Found HOT 6
- Unknown actor type HOT 1
- ImportError: DLL load failed: The specified procedure could not be found. Import win32api
- Replication of components is not working
- Suggested methods for adding non actor functionalities HOT 5
- Error running script on windows, path delimiter issue HOT 1
- On Windows: ImportError: No module named win32api HOT 6
- Force rpcudp version to 2.0 HOT 1
- web3 integration HOT 2
- Application with raspberry pi and sensors to send data HOT 4
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 calvin-base.