πŸ”¬
EIM Academy
  • πŸ‘Welcome to EIM Learning Center
  • Electronics Engineering
    • Electronics Enegineering
    • πŸ‘01-Basic Electricity
      • Before Your First Circuit
      • Measure electricity
      • Electromagnetic Induction
    • πŸ‘02-Electrical Circuits
      • Ohm's Law
      • Series and Parallel Circuits
      • Voltage and Current Divider
      • Watt’s Law
      • Kirchhoff's laws
    • πŸ‘03-Analog Circuits and Semiconductors
    • πŸ‘04-Digital Circuits and FPGA
      • Chapter 3 Code
      • Chapter 4 Code
      • Chapter 5 Code
      • Chapter 6 Code
      • Design for Simulations
    • ✍️05-Engineering Signals and Analog Filters
  • Skill Development
    • πŸ‘01-Breadboarding Skills
      • Tools & Accessories
      • Breadboard Projects
    • πŸ‘‰02-Electronics Soldering
      • Practice Projects
    • ✍️03-Perfboard Prototyping
  • Project-based Learning
    • πŸ‘Green Electrical Energy
    • πŸ‘Smart Traffic Light
      • Board Design
      • STEPico & Micropython
      • STEPFPGA & Verilog
      • Demos
    • ✍️Electronic Pinao with FPGA
    • ✍️Semiconductor Cooler
      • What You'll Learn
      • Technical Docs
      • Project Demo
    • πŸ‘Smart Greenhouse
      • Irrigation System
      • Lighting System
      • Temperature Control System
      • Humidity Control System
    • πŸ‘AI with Hardware
      • Finger Detection
      • LCD control by Hand Gesture
      • Robotic Hand
      • Facial Recognition Security System
      • Common Questions
      • Video Tutorial
  • ✍️Bio-medical Applications
    • Blood Oximeter
    • Electrocardiogram
    • Electromyography
  • Educational Development
    • πŸ‘‰Educational Development
    • Educators' Repository
    • Basic Electronics Lesson Plan
      • Electronics Components
      • Ohm's Law
      • Series & Parallel Circuit
      • Watt's Law
      • Kirchhoff's Law
Powered by GitBook
On this page
  • About Cursor IDE
  • About Thonny IDE
  • Still have question?

Was this helpful?

  1. Project-based Learning
  2. AI with Hardware

Common Questions

Some solutions for coding environment set up and hardware trouble shooting

PreviousFacial Recognition Security SystemNextVideo Tutorial

Last updated 2 months ago

Was this helpful?

About Cursor IDE

My Cursor IDE looks different.

According to our tutorial book, users expect to find these options

in the Cursor IDE console. However, after the Cursor IDE 0.45.11 update, they may see these instead

"Since Cursor IDE is frequently updated, its user interface (UI) design may change as well.

Click "Open Project" and select a folder to locate your project. The following procedures should remain the same as in the tutorial book.

I cannot create virtual environment.

When you creating a virtual environment in Cursor IDE, you may be notified that python is not installed:

This issue might occur due default Python installation setting.

During Python installation, make sure to check "Add Python to PATH"

If you need to run the installer again, you can select "Modify" and check "Add Python to environment variables".

After installation, you might need to restart your command prompt or computer for the PATH changes to take effect.

If adding Python to PATH cannot solve the issue, try to use

python -m venv venv

to create your virtual environment.

The module 'venv' could not be loaded.

If your Cursor IDE shows this message

PS C:\Users\EIM\Desktop\AI proejcts> venv\scripts\activate.bat
venv\scripts\acrivate.bat : The module 'venv' could not be loaded. For more information, run 'Import-Module venv'.
At line:1 char:1
+ venv\scripts\activate.bat
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (venv\scripts\acrivate.bat:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoLoadModule

This error might occur since Cursor IDE's integrated terminal typically defaults to PowerShell on Windows systems.

To active your virtual environment in PowerShell, try to use the following commend:

.\venv\Scripts\Activate.ps1

Using PowerShell is a common practice in many modern IDEs (like VS Code) because PowerShell offers more advanced features compared to the traditional Command Prompt (cmd.exe).

About Thonny IDE

My STEPico is not shown in Thonny IDE

Sometimes, your STEPico may not be detected or displayed in the Thonny IDE.

You could use the following methods to solve the problem:

  1. Try using the USB cable included in the learning kit (some cables are power-only and don’t support data transfer)

  2. Try using a different USB port

  3. Check whether your Stepico is functioning properly. In some extreme cases, STEPico may be damaged due to solder joints falling off.

My STEPico is detected but the program does not work

This commonly happens when the interpreter is not properly set.

Make sure to select the MicroPython interpreter before running any MicroPython program.

Still have question?

To help our technicians better understand your issue, please provide the following information.

The operating system (OS) version is important for our technicians.

Different OS versions support different software, drivers, and features. Knowing the version helps determine if an application or device is compatible.

For example, you could tell our technician that you are using a

  • Win 11 Family

or

  • MacOS Monterey version 12.6.2

Providing error logs can significantly help our technicians understand what happened on your device.

It is better to copy and paste the error log text, as shown below,

// Some codePS C:\Users\EIM\Desktop\AI proejcts> venv\scripts\activate.bat
venv\scripts\acrivate.bat : The module 'venv' could not be loaded. For more information, run 'Import-Module venv'.
At line:1 char:1
+ venv\scripts\activate.bat
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (venv\scripts\acrivate.bat:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoLoadModule

rather than taking a screenshot.

If your problem is complex, in addition to providing the operating system details and error log, you may also take screenshots or photos to give our technicians more comprehensive information.

When taking screenshots, please ensure the image resolution is not too low.

For circuit photos, choose a suitable shooting angle or provide multiple angles to clearly demonstrate the hardware condition.

If your question is not answered in the previous responses, join our community, and our technicians will be happy to assist you.

πŸ‘
Discord