Skip to main content

All Questions

Tagged with
0 votes
1 answer
696 views

Exposing 11434 port in Docker container to access Ollama local model

I am trying to connect local Ollama 2 model, that uses port 11434 on my local machine, with my Docker container running Linux Ubuntu 22.04. I can confirm that Ollama model definitely works and is ...
Piotr Grochowski's user avatar
0 votes
0 answers
63 views

Why can't I connect to the default port on localhost when using Milvus?

I'm just starting to use Milvus, but cannot connect to the port given in the example. I am running directly on my machine (i.e. not a Docker image), but cannot get initial exampe to work: $ python ...
user1245262's user avatar
  • 7,388
0 votes
1 answer
39 views

Trouble renewing Tor IP address on Windows 11 using stem library

I'm trying to automate the renewal of Tor IP addresses using Python on Windows 11 with the stem library. However, I keep encountering the following error: Error renewing Tor IP: [WinError 10061] No ...
anjoyer's user avatar
0 votes
0 answers
63 views

Connect DJI Ryze Tello drone to WSL through ROS

I am a beginner programmer in Python and I am currently carrying a project that involves connecting a Tello drone to WSL (Ubuntu 22.04), using ROS2 (Humble distro). I am using the DJItelloPy library, ...
Ingrid maéva Chekam's user avatar
0 votes
0 answers
59 views

Python port scanning with asyncio too many open files

I am trying to build a port scanner in python using asyncio for asynchronous handling. When trying in the PyCharm env, i don't get any error and ports and shown open as it should. When trying in ...
GabiDev's user avatar
  • 11
0 votes
1 answer
91 views

OSError: [WinError 10049] The requested address is not valid in its context Python code

I am trying to connect to an ip and listen to that port. I keep getting this error message OSError: [WinError 10049] The requested address is not valid in its context It was working when I was using ...
SimplyRaph's user avatar
0 votes
0 answers
34 views

Python port checker not working on Linux; just returns all ports

#Python code for simple port scanning import socket #importing library listofports = [] ip = socket.gethostbyname (socket.gethostname()) #getting ip-address of host for port in range(65535): #...
Stuart Dyer's user avatar
2 votes
0 answers
45 views

Why is only the port version not printed in the output?

I was trying to automate the NMAP Port Scanning using Python. When I executed the script, all went good, excepting the version of the port. Here's the code: import nmap nm = nmap.PortScanner() ...
Tzfast's user avatar
  • 21
0 votes
0 answers
45 views

Achieving proper timeout in python

Currently in my python code, I'm reading data from device via creating serial communication as mentioned below: import serial com_port = serial.Serial("COM1", 9600, timeout = 0.5) here, ...
mehul makwana's user avatar
0 votes
1 answer
65 views

Why does using Data in R ,having different results when using same in Python

There are different types of json inputs which needs to be transformed. Inputs: Sample#1: { "table_name": [{ "id": 1, "name": "john" },{ "id": 2, &...
sourabh's user avatar
  • 33
0 votes
1 answer
35 views

Threaded Flask app gives OSError: [Errno 98] Address already in use in Jenkins job

I am starting my Flask app in the thread and when I test it in local environment it works perfectly but whenever I run on Jenkins it gives an already in use error. Here is my main test application to ...
Efe's user avatar
  • 88
0 votes
1 answer
122 views

Retrieve data from interactive brokers from inside a docker container

I have a docker container and a script with the following code: import backtrader as bt import pandas as pd class MyStrategy(bt.Strategy): def __init__(self): ...
Herwini's user avatar
  • 409
0 votes
0 answers
296 views

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) PostgreSQL

It says: sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) Im using FastAPI in miniproject, and trying to run "database.py" from sqlalchemy import create_engine from sqlalchemy....
John Dow's user avatar
0 votes
0 answers
31 views

Max retries exceeded with url (GTM server side)

I have setup GTM server side following this guide: https://aws-solutions-library-samples.github.io/advertising-marketing/using-google-tag-manager-for-server-side-website-analytics-on-aws.html Now, ...
x89's user avatar
  • 3,198
0 votes
0 answers
57 views

Getting com ports in Python

I ran into the same problem. When I try to get com ports through Python, I get an empty list. I'm trying to get it using this code: import serial.tools.list_ports class Ports(): @staticmethod ...
Grinya's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
31