I'm attempting to setup a UART communication between an ESP32 and STM32 using the Espressif IDF through VScode on a macbook pro using the M1 processor. Below I have provided an image of one of the problems I've been encountering and cant seem to find anything on the internet with a similar situation to my own. I previously had this example working but that no longer seems to be the case and I havent made any changes to the code since it's last usage.
Another error I seem to be recieving is in relation to my processor I believe but I have no idea how to go about fixing it? I can't seem to build any projects in VS code or even run python scripts that previously worked. Any help would be greatly appreciated.
I've attempted to uninstall VS code from my mac and looked through a ridiculous amount of forums and webpages but nothing specific enough to my problem that has helped.
after uninstalling my anaconda3 files and reinstalling I'm now receiving this error.
enter image description here
Related
I'm a beginner at all this code stuff so recently I have been trying to get this hole excel and python thing working using visual studio code and anaconda but without fail sup lexes me into the moon, I mean just doesn't work searching around to find a way to fix but nothing its been annoying and I have been at it for months now so whenever I try to get it to work it doesn't I'm using this guide https://code.visualstudio.com/docs/python/data-science-tutorial to help work it but nothing in the end if someone could tell me the problem or an alternative I would appreciate it here is an image to accompany it
basically I open the anaconda prompt and enter the command that was given to me by the guide but it just didn't work
so I'm pretty new to both swift and stack, but I have a problem with implimenting Pythonkit. But basically to provide a short summary, the kit basically allows you to be able to utilize python inside of swift (using certain swift functions in order to save variables, do functions, however, can execute the code of a .py file).
In the process of doing this however this error pops up
Fatal error: Python library not found. Set the PYTHON_LIBRARY environment variable with the path to a Python library.: file /Users/****/Library/Developer/Xcode/DerivedData/Y******L-
So I tried updating my Python software to 3.0 and above (I'm not quite sure, I think it was 3.7), however when I run python it shows it is at version 2.7. This kind of confused me a bit, however it was until the error did I notice something was wrong. Why does it show that error? What does it mean?
(I did find a similar post with a similar error in stack overflow, however I don't have enough reputation to comment as well as I don't think the answer was addressed to what I wanted so I'm just going to continue writing here)
The swift code itself has updated (xcode11) and following the steps a lot of the functions have changed within Xcode, what is it that I did wrong that caused the error? Following the link it seems I have to utilize pyto? Checking that link the functions of pyto are different than the ones pf PythonKit. In PythonKit you can utilize python within your swift code, while pyto seems to be a python integration for iOS?
Any advice? And please ask if anything needs clarification, or if there's a different solution please tell me. Thanks,Vince
I am computational chemist and use python codes (through jupyter notebook) to make analysis of my system. Today, while doing Principal Component Analysis and trying plot some results, it returns MemoryError.
I try to find cause by googling, the suggestions were to look if I am not using 34 bit version, but I am sure that this is not my problem (and in addition - I am using PC with Linux). Another suggestion - to delete something...so, I deleted some bigger files, which were not needed anymore - it doesnt help.
Then I found some suggestins, which were made for the specific task the other people ask and those were not my topic.
In particular, MemoryError occurs using mdanalysis package for PCA and using matplotlib inline.
Any time I run any experiment, including the demos included with PsychoPy, the only data that appears is the log file. I haven't changed anything, I restarted my computer, and the experiments were all running fine previously.
I don't get an error message or any indication that anything is wrong (no crashes), but nothing appears. I have checked the experimental settings and trials loop dialogue, although this shouldn't matter, since the demos are having the same problem. Again, these are independent experiment files in different directories that previously saved .csv, .xls., etc. without issue.
Does anyone have any idea why this could be happening? Is there a problem with a Python module that PsychoPy relies on? I'm running OSX with the latest version of PsychoPy.
I was looking for an appropriate Python IDE for a long time. When googling and looking for a desired one in this forum and on the other websites I finally realised Eclipse is being suggested by the majority of the professional programmers. So as you would understand I downloaded Eclipse and the Pydev plugin for that purpose and started trying to configure and prepare Eclipse for usage and programming. As a beginner and a new one to Python, frankly I faced so many serious obstacles for installing and configuring the Eclipse and specifically for installing the Pydev plugin. After so much struggle, I finally succeeded in getting through with the configuration and installation but when I run the Eclipse and try to build a new project, when I introduce a new module and code, when I debug and run my code I get such error "
"Exception occurred executing command line.
Cannot run program "C:\Program Files\Python3\python.exe" (in directory "C:\EclipseWorkspace\csse120\Hello world"): CreateProcess error=3, The system cannot find the path specified"
I looked for Identical or similar issues in the forum and topics but the only suggestions were that this might be due to python 3.0(means I should be choosing Python 2.6 or 2.7 while choosing a new project), but this didn't solve my problem.
Would anybody please assist me: what should I be doing to solve this issue and problem. I be appreciating and thankful toward ant guidance and assistance.
I Thank you all in advance for your kind help
I haven't used eclipse in a while, but normally that error simply means that eclipse can't find the specified file in the specified path.
it might sounds stupid, I know, but are you sure you have C:\Program Files\Python3\python.exe in your system?