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 8329243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:42:47+00:00 2026-06-09T01:42:47+00:00

I am using a Jython virtualenv where I can install whatever software via pip

  • 0

I am using a Jython virtualenv where I can install whatever software via pip or via easy_install, but there is a software that is not registered yet and the installation mode via:

[sudo] python setup.py install 

and I am trying to do the same with jython:

[sudo] jython setup.py install

So, I am getting these follow errors:

Traceback (most recent call last):
File "setup.py", line 3, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools

I checked and installed jython ez_setup.py again.
I downloaded the yolk and didn’t solved too.

My folder:

╭─hudson@hudson-pc ~/jython2.7a1/Lib/site-packages ‹› ‹master*›
╰─$ ls 
easy-install.pth         setuptools.pth yolk 0.4.3-py2.7.egg README should_dsl-2.0a5-py2.7.egg setuptools-0.6c11-py2.7.egg virtualenv-1.7.2-py2.7.egg 

And at the normal(real) environment, without virtualenvs, I got the same erros.

At Python I already installed this software and worked well.

If I enter at Jython Shell and try import setuptools, I got the same erros too:

>>> import setuptools
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named setuptools
>>> import sys
>>> sys.path
['', '/home/hudson/jython2.7a1/Lib', '/home/hudson/__classpath__',   '/home/hudson/__pyclasspath__']

Then, I add the site-packages to the sys (It can be a stupid attempt):

>>> sys.path.append('/home/hudson/jython2.7a1/Lib/site-packages')    
>>> sys.path
['', '/home/hudson/jython2.7a1/Lib', '/home/hudson/__classpath__', '/home/hudson/__pyclasspath__', '/home/hudson/jython2.7a1/Lib/site-packages']  
>>> import setuptools
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named setuptools

Why is not recognizing?

  • 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-09T01:42:49+00:00Added an answer on June 9, 2026 at 1:42 am

    If pip “works” then you could use it to install your software. To try it, run from a directory with setup.py:

    $ pip install -e .
    

    If you have a tarball of the package:

    $ pip install your_package-0.0.1.tar.gz
    

    pip can install from a git repository, use custom urls from where to get packages, etc.

    I’ve tested it: jython works with virtualenv, distribute (a fork of setuptools), pip. So jython can install a package if it uses setuptools in setup.py.

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

Sidebar

Related Questions

I have a problem when using Jython, but I can't seem to find a
I'm trying to open a zip file with jython using FileInputStream and ZipInputStream. But
I have to solve linear equations system using Jython, so I can't use Num(Sci)Py
I'm using Jython if that's relevant. util.py: globals = {} #... globals[foo] = bar
I'm using Jython to write tests for a Java project. It works well, but
I trying to parse some xml in Google Refine using Jython and ElementTree but
Are there specific frameworks for Jython or JRuby, or is it you can run
I'm working on several Jython projects using libraries written in Java. I'd like to
I am stuck using the older version (2.2.1) of Jython on the machines I
I've been tried to put a button at my class at Jython. I'm using

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.