Categories
Mastering Development

django runserver command erro

OS: Windows 10 Now, for the project where the runserver command works I get this: Here is my project structure. i have install all the requirements for this project but still getting this error. I’ve found something where there were errors with the run server command, but none were satisfying. If this is a duplicate, […]

Categories
Raspberry Pi User Help

import Spacy on RPI in Pycharm and other IDE gives error

I successfully installed Spacy using pip install spacy and alternatively through Pycharms virtual env, but when I import spacy in my program it’s giving me the following error; home/pi/.virtualenvs/cv/bin/python /home/pi/PycharmProjects/testSpeech/main.py Traceback (most recent call last): File "/home/pi/PycharmProjects/testSpeech/main.py", line 2, in <module> import spacy File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/spacy/__init__.py", line 10, in <module> from thinc.neural.util import prefer_gpu, require_gpu File […]

Categories
Raspberry Pi User Help

import Spacy on RPI in Pycharm and other IDE gives error

I successfully installed Spacy using pip install spacy and alternatively through Pycharms virtual env, but when I import spacy in my program it’s giving me the following error; home/pi/.virtualenvs/cv/bin/python /home/pi/PycharmProjects/testSpeech/main.py Traceback (most recent call last): File "/home/pi/PycharmProjects/testSpeech/main.py", line 2, in <module> import spacy File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/spacy/__init__.py", line 10, in <module> from thinc.neural.util import prefer_gpu, require_gpu File […]

Categories
Raspberry Pi User Help

Python import won’t succeed when script is exec() from Apache PHP

I have a Python3 script (readtemp.py) to read temperature and humidity of a DHT22. I’m using adafruit_dht module. it executes perfectly from terminal command line with: python3 readtemp.py or ./readtemp.py At the head of the Python script I have: #!/usr/bin/python3 import time import board import adafruit_dht I put a line in Apache PHP: $output = […]

Categories
Mastering Development

I installed python 3.9.1 but can not open jupyter notebook or jupyterlab

I just install and even reinstalled but when I try to open jupuyterlab or p notebook it gives following error File "c:\users\v\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\v\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\v\AppData\Local\Programs\Python\Python39\Scripts\jupyter-notebook.EXE\__main__.py", line 4, in <module> File "c:\users\v\appdata\local\programs\python\python39\lib\site-packages\notebook\notebookapp.py", line 49, in <module> from zmq.eventloop import ioloop File […]

Categories
Raspberry Pi User Help

I want to Read out the news out loud using feedparser

I have a RPi 4B running RaspberryPi OS buster and I want to be able to speak out the news using ./speech. I have been following a tutorial and I got everything up and running but I am having some error popping up, again and again, tried everything I could but no luck. Traceback (most […]

Categories
Raspberry Pi User Help

I want to Read out the news out loud using feedparser

I have a RPi 4B running RaspberryPi OS buster and I want to be able to speak out the news using ./speech. I have been following a tutorial and I got everything up and running but I am having some error popping up, again and again, tried everything I could but no luck. Traceback (most […]

Categories
Cryptocurrency Ethereum Mastering Development

Python w/ Brownie

Hi trying to install brownie w/ python using Jupyter getting the following errors: INFO: Could not find files for the given pattern(s). Traceback (most recent call last): File "c:\programdata\anaconda3\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\programdata\anaconda3\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\maria\.local\bin\brownie.exe\__main__.py", line 4, in <module> File "c:\users\maria\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\__init__.py", line 6, […]

Categories
Ask Geographic Information System (GIS)

Merging multiple NetCDF files in python using xarray

I have downloaded monthly mean wind speed of terraclimate data for 10 years (2001-2010) which have NetCDF format, but unfortunately, each year has a single NetCDF file, and I want to have a single wind speed which is from 2001 to 2010. So, I am using xarray in python to join these NETCDF files, and […]

Categories
Mastering Development

I was doing a web automation with python and i came across the following error, I could not find any answer,

Following code supposed to open Google chrome and Walmart page, but I came across the error below. from selenium import webdriver driver = webdriver.Chrome driver.get(‘https://www.walmart.com/’) Traceback (most recent call last): File "/Users/abdushukur/PycharmProjects/cloudacademy/automation.py", line 4, in driver.get(‘https://www.walmart.com/’) TypeError: get() missing 1 required positional argument: ‘url’