Why is "pip install tornado" not installing the tornado module?

I am trying to install tornado onto my virtual environment, so I can get Jupyter to work. I tried pip install tornado and it seems like it runs but it only installs other modules. I even tried to...

Google foobar The Cake is not a lie

The cake is not a lie! Commander Lambda has had an incredibly successful week: she completed the first test run of her LAMBCHOP doomsday device, she captured six key members of the Bunny...

MySQL, JSON, Python, Django - error totally whack

I'm trying to populate JSON data fields in a MySQL database from python. I'm using MySQL 5.7.17 which supports the JSON datatype and Python 2.7. I have defined 6 columns in my table as JSON. One...

Install requirements.txt with pip

I am trying to install remote environment like on remote server using requirements.txt. So first I went to Server went to virtualenv by source bin/activate and typed: pip freeze > requirements.txt...

pip3 install not working - No module named 'pip._vendor.pkg_resources'

When trying to install a package for Python 3 (in Ubuntu), using pip3 install packageName (or sudo pip3 install packageName), I get the following error message: Traceback (most recent call last): ...

PyInstaller Missing Module Errors Even After Including Specifically

Pyinstaller compiles my app into an .exe on Windows fine, but I'm not able to build a working .app on Mac. I've tried --onefile and --onedir, but no dice, the app just opens and then closes...

I can't install Jupyter and Matplotlib in my anaconda env

I have an environment of Anaconda (apart of root) and I'm trying to install this two libraries with no success. I tried: Install libraries by the environment tools of Anaconda Navigator...

PyTorch Cuda with anaconda not available

I'm using anaconda to regulate my environment, for a project i have to use my GPU for network training. I use pytorch for my project and i'm trying to get CUDA working. I installed cudatoolkit,...

Failed building wheel for mujoco-py with OpenAI Gym

I followed the installation instructions for OpenAI Gym, but the full install gives the error "Failed to build wheel for mujoco-py" pip install gym and import gym work fine on my laptop and import...

How to get messages from googles Pub/Sub sytsem by using the current pubsub subsciber

I need to receive published messages from googles Pub/Sub system by using a python based subscriber. For this I did the following steps: On the web console I created a project, a registry, a...

Jupyter Notebook - Cannot Connect to Kernel

I've tried installing jupyter notebook using pip3 install jupyter. Every time i launch a new jupyter notebook, the notebook is unable to connect to the kernel. See screenshot below Attaching my...

No Module Named 'apscheduler'

I can't figure out why apscheduler comes up with ModuleNotFoundError: No module named 'apscheduler' I have tried uninstalling it, used earlier versions. I am running python 3.7.4, pip version...

Conda downgrade numpy version

I need to downgrade numpy version: python -c "import numpy; print(numpy.__version__)" 1.16.4 conda install numpy==1.14.3 Collecting package metadata (current_repodata.json): done Solving...

Get a specific number from a very long string

How can I write a python program to find all the consecutive numbers of pi with a million digits in a txt file by Python? eg, if I want to find all the six-digit consecutive numbers, I can run the...

how to make cv2.videoCapture.read() faster?

My question : I was working on my computer vision project. I use opencv(4.1.2) and python to implement it. I need a faster way to pass the reading frame into image processing on my Computer(Ubuntu...

No matching distribution found for torch==1.5.0+cpu on Heroku

I am trying to deploy my Django app which uses a machine learning model. And the machine learning model requires pytorch to execute. When i am trying to deploy it is giving me this error ERROR:...

mognoengine and bson package not work together

I have one project which is depend on mongoengine and I am using one library which was using bson library. It structure like below. bsNotify/ ├── setup.cfg ├── setup.py └── src ...

Update AWS Glue Python Shell Job Boto3 Version

I need to use a newer boto3 package for an AWS Glue Python3 shell job (Glue Version: 1.0). I included the wheel file below from S3 as external Python Library: boto3-1.13.21-py2.py3-none-any.whl...

Apple M1: install psycopg2 package Symbol not found: _PQbackendPID

pg_config venv ❯ which pg_config /Applications/Postgres.app/Contents/Versions/latest/bin/pg_config pip3 install -r requirements.txt requirements.txt venv ❯ cat requirements.txt -i...

tensorflow image detection package installation problem

I am trying to install the image detection https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2.md When I am running this final command: python -m pip install...

Problems with installing plotly on Windows 10 with Python 3.8.5

I am having problems installing plotly on Windows 10 with Python 3.8.5. The command line prompt is in admin mode. The package manager pip3 here seems to be installing the package retrying-1.3.3...

Unable to install pip azure-cognitiveservices-speech within a docker container

Original Issue I'm unable to install azure-cognitiveservices-speech within a docker container using pip. My container is running fine and is able to install all other packages (django,...

Troubleshooting pycocotools installation

I'm trying to use object detection models from Tensorflow and need to get pycocotools installed. I'm doing this from a python (3) virtual environment on a Windows 10 machine. There seems to be...

Not able to install seaborn libraries in python : Spyder

i am fairly new to this python programming language. i have installed anaconda, python and spyder (each separately) in my system. When working in spyder environment i am using the following...

ModuleNotFound: dateutil.parser

Here's what I'm running into: (.venv) PS C:\Users\<redacted>\onedrive\dev\python\code\kb4> py kb4.py Traceback (most recent call last): File...

Tensorflow Object Detection Api M1 Macbook Conflict Error

Machine: MacBook Air M1 2020 OS: macOs BigSur 11.4 Python version of venv: Python 3.8.6 Tensorflow version: ATF Apple Tensorflow 0.1a3 Pip version: 21.2.4 I have installed Tensorflow from...

Package streamlit app and run executable on windows

this is my first question on Stackoverflow. I hope my question is clear, otherwise let me know and don't hesitate to ask me more details. I'm trying to package a streamlit app for a personal...

Getting DLL error when running tensorflow/keras program on python gpu 3.8

I am trying to run my simple AI program but I keep getting this DLL error: ImportError: Could not find the DLL(s) 'msvcp140_1.dll'. TensorFlow requires that these DLLs be installed in a...

Tensorflow Object Detection API taking forever to install in a Google Colab and failing

I am trying to install the Tensorflow Object Detection API on a Google Colab and the part that installs the API, shown below, takes a very long time to execute (in excess of one hour) and...

pycharm error happening at random time: Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

I am working with pycharm community on a tensorflow model with keras backend, sometimes this error appears in a random time, specially after I call pyplot and close the window: Exception ignored...