From virtualenv, pip freeze > requirements.txt give TONES of garbage! How to trim it out?

I'm following this tutorial: http://devcenter.heroku.com/articles/django At some point I'm suposed to do: pip freeze > requirements.txt (Ofc. from virtualenv created instance of python) And I...

Why is the command 'sudo pip uninstall' not working?

When I type the following command in Ubuntu, it is showing all list of python packages: $ sudo pip list adium-theme-ubuntu (0.3.2) apt-xapian-index (0.44) apturl (0.5.1ubuntu3) argparse...

Unmet dependencies when trying to install python and Django on Ubuntu 14.04

I am new in python/django and following How To Install the Django Web Framework on Ubuntu 14.04 and "Global Install through pip(section)" for installation, when I run apt-get install python-pip, I...

Python ImportError for installed packages

Installing numpy says that it is already the newest version, and it shows up in the list returned by pip list too, but importing it gives import error (and this problem is there for every other...

mkvirtualenv --no-site-packages still finds and installs global packages in new environment

I am using virtualenvwrapper to create/manage my virtual environments. Upon running pip freeze on my environments, I was surprised to find that several tens of Python modules and packages...

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 61: ordinal not in range(128)

Im using python3 in windows 10 I try to use pyshark, but i get this error: Python 3.6.2rc1 (heads/3.6:268e1fb, Jun 17 2017, 19:01:44) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright",...

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): ...

pip3 Crashing with Import Error

Python 3.5.2 Ubuntu 16.04 LTS Trying to use pip3 to install some packages and it returns the following regardless of argument: Traceback (most recent call last): File...

ImportError: No module named 'config.settings'; 'config' is not a package

I'm trying to get my cookiecutter-django app running under Apache with mod_wsgi installed via pip. python3 manager.py runserver works. But after running it in Apache, I got an error saying Module...

Can't `pip3 install -r requirement.txt`

I'm getting dependency error while installing dependency for django project Here is my part of requirement...

How to install dependencies for an application in Heroku?

When trying to implement [my application] 1 in Heroku I had the following error ModuleNotFoundError: No module named 'requests' ---------------------------------------- ...

Why do Python plots look so different on different remote machine?

I have a python script that produces a plot, and I run it on a remote machine. The panels and font in the plot are perfectly proportioned, and look as I want them to. I have recently run the...

Python pip find out basic requirements from output of pip freeze

My friend just started learning Python and Flask, and is missing a lot of "best practices", e.g., a requirements.txt file. He has recently asked me for assistance, and to make the project clean, I...

Can't install anything on ubuntu

I've been trying to install pip and when I did, when I tried using it, I get an error 'Threading' module not found Then I decided to remove all my python since I had 2.7, 3.4 and 3.6 and...

Cuda Runtime Error cudaErrorNoDevice: no CUDA-capable device is detected

I am using Chainer, Cupy for CUDA 8.0 . I am trying to train machine learning model using python3.5 script, but I got this error: cupy.cuda.runtime.CUDARuntimeError: cudaErrorNoDevice: no...

pip3 requirements.txt full of garbage

I'm currently running Ubuntu 18.04 and whenever I do pip3 freeze > requirement.txt I get the following huge list. From my research, it seems as though the dependencies for certain installations...

Missing tkinter package on ubuntu 18.04

This python script has a problem with tkinter but I don't know how to fix it as tkinter is installed, searched on the web but didn't find anything useful [email protected]:~$ python3 predict.py...

Segmentation fault with tensorboard 1.14

I am using deeplab network. I think it is using tensorflow 1.14 since there are still packages of slim, which is removed from tensorflow 2.0. The python version is always Python 3.6.8 in my...

Uninstall all Python packages in Ubuntu 18.04 having multiple python versions

When I type python and hit tab the following packages are shown python python3 python3.6m python3m python2 python3.6 python3.6m-config ...

ImportError: cannot import name 'downsample' while importing lasagne in python 3.6

I am getting the above error with the following import statements on Google Colab GPU: import argparse #import cPickle import _pickle as cPickle import time import os import numpy as np import...

During deploying Django blog on heroku showes me errors

When I deploy app in heroku show me this error remote: ERROR: Could not find a version that satisfies the requirement apturl==0.5.2 (from -r...

no django file in the site packages

**Traceback (most recent call last): File "manage.py", line 15, in <module> execute_from_command_line(sys.argv) File...

Could not find a version that satysfies the requirement pytz

i have Linux Ubuntu 18.04. I need to install Django offline on this machine. I had some problems with pip and python, but i guess i solved it. So, i download asgiref, sqlparse and pytz for...

Python 3.8 unable to find installed modules

I have Python 3.8 installed along with Pip3. When I try to install a package with Pip3, it says it is successful but then the package cannot be found by Python. I have posted the terminal output...

Python: TypeError: required field "type_ignores" missing from Module in Jupyter notebook

I have been having issues with my jupyter notebook for a few days. I didn't fix them at the time but have decided to now. Earlier whenever I executed anything in the jupyter notebook, It showed a...

Segmentation fault (core dumped) on training the deep neural network /torch/cuda/__init__.py", line 172 in _lazy_init

python3 -q -X faulthandler test.py --model.backbone=resnet18 2021-02-07 20:14:21.198583: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library...

Error when running executable generated by pyinstaller [pyvisa-py]

I'm trying to build an executable from a simple python script using pyvisa-py but I'm running into error after I run the executable generated by pyinstaller. Here what my small python code looks...

Im trying to build mediapipe on my jetson nano

So Im trying to build a mediapipe whl file for my jetson nano by following this guide https://github.com/jiuqiant/mediapipe_python_aarch64 I am successful on building it with my raspberry pi 4. By...

Sudden Tensorflow / Keras Google Colab dependency problems `AttributeError: module 'tensorflow._api.v1.compat.v2' has no attribute '__internal__'`

I have running a machine learning model (Matterport's Mask R-CNN) in google colab for a couple of weeks. All of a sudden today I am unable to run any of my notebooks due to I think some kind of...

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...