Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9105551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:08:16+00:00 2026-06-17T02:08:16+00:00

below is a terminal session illustrating the problem: $ pip install scrappy –user Requirement

  • 0

below is a terminal session illustrating the problem:

$ pip install scrappy --user
Requirement already satisfied (use --upgrade to upgrade): scrappy in /home/louist/Documents/Python/Scrappy
Downloading/unpacking guessit (from scrappy)
  Downloading guessit-0.5.3.tar.gz (45Kb): 45Kb downloaded
  Running setup.py egg_info for package guessit

Downloading/unpacking tvdb-api (from scrappy)
  Downloading tvdb_api-1.8.2.tar.gz
  Running setup.py egg_info for package tvdb-api

Downloading/unpacking hachoir-metadata (from scrappy)
  Downloading hachoir-metadata-1.3.3.tar.gz (52Kb): 52Kb downloaded
  Running setup.py egg_info for package hachoir-metadata
    Warning: unable to recompile dialog.ui to dialog_ui.py using pyuic4
    (use command "-c egg_info --egg-base pip-egg-info --disable-qt" to disable this warning)


Downloading/unpacking hachoir-core (from scrappy)
  Downloading hachoir-core-1.3.3.tar.gz (91Kb): 91Kb downloaded
  Running setup.py egg_info for package hachoir-core

Downloading/unpacking hachoir-parser (from scrappy)
  Downloading hachoir-parser-1.3.4.tar.gz (359Kb): 359Kb downloaded
  Running setup.py egg_info for package hachoir-parser

    warning: no files found matching 'metadata_csv.py'
Installing collected packages: guessit, tvdb-api, hachoir-metadata, hachoir-core, hachoir-parser
  Running setup.py install for guessit

  Running setup.py install for tvdb-api

  Running setup.py install for hachoir-metadata
    Warning: unable to recompile dialog.ui to dialog_ui.py using pyuic4
    (use command "-c install --single-version-externally-managed --record /tmp/pip-3OxvBD-record/install-record.txt --install-headers /home/louist/.virtualenvs/test/include/site/python2.7 --user --disable-qt" to disable this warning)

    changing mode of build/scripts-2.7/hachoir-metadata from 664 to 775
    changing mode of build/scripts-2.7/hachoir-metadata-gtk from 664 to 775
    changing mode of build/scripts-2.7/hachoir-metadata-qt from 664 to 775
    deleting hachoir_metadata.egg-info/requires.txt

    changing mode of /home/louist/.local/bin/hachoir-metadata to 775
    changing mode of /home/louist/.local/bin/hachoir-metadata-gtk to 775
    changing mode of /home/louist/.local/bin/hachoir-metadata-qt to 775
  Running setup.py install for hachoir-core

  Running setup.py install for hachoir-parser
    deleting hachoir_parser.egg-info/requires.txt

    warning: no files found matching 'metadata_csv.py'
Successfully installed guessit tvdb-api hachoir-metadata hachoir-core hachoir-parser
Cleaning up...
(test)louist@ltpc:~/Documents/Python/Scrappy$ python
Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import scrappy.core as scrappy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "scrappy/core.py", line 10, in <module>
    import guessit
ImportError: No module named guessit

In a nutshell, I did the following:

  1. start a virtualenv with mkvirtualenv test
  2. try to install the package i’m developing via pip install scrappy --user
  3. start python terminal and then try to import scrappy.core

Here is my setup.py file:

#!/usr/bin/env python
from setuptools import setup

setup(
    name='Scrappy',
    version="0.2.7 alpha",
    author='Louis Thibault',
    author_email='louist87@gmail.com',
    packages=['scrappy'],
    include_package_data=True,
    install_requires=['guessit', 'tvdb_api', 'hachoir-metadata', 'hachoir-core', 'hachoir-parser'],
    url='https://github.com/louist87/scrappy',
    license='GPL 3.0',
    description='Rename video files based on information scraped from thetvdb.com',
    keywords=["TVDB", "thetvdb", "rename", "broadcatching", "media"],
    long_description=open('README.rst').read()
)

Any ideas as to what’s going on?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T02:08:17+00:00Added an answer on June 17, 2026 at 2:08 am

    By default new virtualenv doesn’t include packages installed outside of it (created without --system-site-packages option). Therefore your test virtualenv doesn’t see packages installed to ~/.local (due to --user option).

    Either create virtualenv with –system-site-packages option or don’t use –user while installing within activated virtualenv.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Below is the code from a plugin I use for sitemaps. I would like
Below is the example of a log that I use and I want to
I'm building the below example boost-consuming user-mode app with the WDK, but I'm getting
Below is my do while loop with cin There a bit of problem, when
I have Linux Ubuntu 10.10 and when i run the below in a terminal:
We are trying to install an app thru Applescript using terminal commands as mentioned
I have installed libuuid using the command below. sudo apt-get install uuid-dev And is
I am able to run the code below in terminal which is in respondPalindromes.hs
I ran the below curl command in terminal curl -d message http://localhost:8080/api/validate -u username:password
I have a scala process command like below to use linux bash egrep command.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.