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

pyvenv-3.4 pip freeze showing multiple packages in new environment

I am using pyvenv-3.4 on Ubuntu 12.04 and just created my first virtual environment. After activating i checked to see that no packages had been installed using pip freeze and found the following...

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

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

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

How to install Python 3.6 on Ubuntu 19.04?

I've recently installed Ubuntu 19.04 which has Python 3.7 by default. I need to work on multiple projects that use Python 3.6. Is there a way to install it on Disco Dingo? I tried which works on...

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