python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Attempted import error: 'useSwiper' is not exported from 'swiper/react/swiper-react'
I am using SwiperJS in Next.js and trying to set up custom navigation. I want to use the useSwiper hook as explained in the docs (https://swiperjs.com/react#use-swiper) but the import is not working.
...
zns_
Votes: 0
Answers: 0
Import Cv2 not working despite opencv installed
I have installed OpenCV with the command pip install opencv-contrib-python and when I run the command pip list I see opencv-contrib-python has been installed and yet import cv2 does not work for me an...
greens trial
Votes: 0
Answers: 1
How to import function from another file?
I recently started learning Python and I am in a bit of a pickle right now.
There are three files.
First file. main.py:
#the morse code
from MorseCode import*
from Check import product, Check_For_Alph...
NervousSaint
Votes: 0
Answers: 3
Windows7 64-bit, Pyside6, PyQt6, ImportError: DLL load failed while importing QtCore: The specified procedure could not be found
I installed PySide6 and PyQt6 by following command:
python -m pip install PySide6
python -m pip install PyQt6
But when I try to run import PySide6.QtCore or import PyQt6.QtCore, then I get this erro...
Stepan0806
Votes: 0
Answers: 1