Coder Social home page Coder Social logo

Comments (9)

sf-migrator-bot avatar sf-migrator-bot commented on July 26, 2024

note: bdist_egg is part of setuptools and not of distutils

Original comment by: cpascual (http://sourceforge.net/u/cpascual)

from taurus.

sf-migrator-bot avatar sf-migrator-bot commented on July 26, 2024
  • Category: --> setup
  • Type: --> bug

Original comment by: reszelaz (http://sourceforge.net/u/zreszela)

from taurus.

sf-migrator-bot avatar sf-migrator-bot commented on July 26, 2024
  • status: open --> waiting

Original comment by: reszelaz (http://sourceforge.net/u/zreszela)

from taurus.

sf-migrator-bot avatar sf-migrator-bot commented on July 26, 2024
  • Milestone: Jan14 --> Jul14

Original comment by: cpascual (http://sourceforge.net/u/cpascual)

from taurus.

sf-migrator-bot avatar sf-migrator-bot commented on July 26, 2024

This worked for me on debian testing:

cpascual@pc218:~/src/sardana/taurus(release-taurus-Jul14)$ mkdir /tmp/kkinstdirtaurus330           
cpascual@pc218:~/src/sardana/taurus(release-taurus-Jul14)$ PYTHONPATH=$PYTHONPATH:/tmp/kkinstdirtaurus330 easy_install --install-dir=/tmp/kkinstdirtaurus330 dist/taurus-3.3.0.tar.gz 

EDITED: I was wrong. It seemed to work but it did not install the extra_packages

Original comment by: cpascual (http://sourceforge.net/u/cpascual)

from taurus.

sf-migrator-bot avatar sf-migrator-bot commented on July 26, 2024
  • Milestone: Jul14 --> future

Original comment by: cpascual (http://sourceforge.net/u/cpascual)

from taurus.

sf-migrator-bot avatar sf-migrator-bot commented on July 26, 2024

Ticket moved from /p/sardana/tickets/20/

Can't be converted:

  • _category: setup

Original comment by: cpascual (http://sourceforge.net/u/cpascual)

from taurus.

sf-migrator-bot avatar sf-migrator-bot commented on July 26, 2024
  • summary: easy_install taurus does not work --> pip/easy_install taurus does not work
  • status: waiting --> resolved
  • Milestone: future --> Jan16

Original comment by: cpascual (http://sourceforge.net/u/cpascual)

from taurus.

sf-migrator-bot avatar sf-migrator-bot commented on July 26, 2024

I moved this ticket from the sardana list (it was #20 there).

A user (Yngve) gave a very useful hint in the mailing list: use the --egg option of pip (easy_install is not worth worrying about anymore):

pip install taurus --egg

So I think we can close this ticket and add this to the docs.

Thanks Yngve!

On Wed 30 September 2015 10:15:46 Yngve Inntjore Levinsen wrote:

Hi all,

I wanted to install taurus for testing on my machine (CentOS 7). I
noticed in your install instructions that you recommend to download
the tarball from pip, so then I thought, 'why not just use pip
instead?'
That does not seem to work initially though:

$ pip install taurus
Collecting taurus

Using cached taurus-3.6.0.tar.gz

Installing collected packages: taurus

Running setup.py install for taurus

Complete output from command /usr/bin/python -c "import
setuptools,
tokenize;__file__='/tmp/pip-build-zLtyIO/taurus/setup.py';exec(
compile(getattr(tokenize, 'open',
open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record
/tmp/pip-4hH39k-record/install-record.txt
--single-version-externally-managed --compile: usage: -c
[global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]>     
   or: -c --help [cmd1 cmd2 ...]
   or: -c --help-commands
   or: -c cmd --help

error: option --single-version-externally-managed not recognized

----------------------------------------

Command "/usr/bin/python -c "import setuptools,
tokenize;file='/tmp/pip-build-zLtyIO/taurus/setup.py';exec(comp
ile(getattr(tokenize, 'open', open)(file).read().replace('\r\n',
'\n'), file, 'exec'))" install --record
/tmp/pip-4hH39k-record/install-record.txt
--single-version-externally-managed --compile" failed with error
code 1 in /tmp/pip-build-zLtyIO/taurus
I am not sure where 'single-version-externally-managed' option comes from, probably someone more clever than me can explain. In any case, after a bit of searching online I found a recommendation to add the '--egg' option to pip. That worked very well:
$ pip install taurus --egg --user
Collecting taurus

Using cached taurus-3.6.0.tar.gz

Installing collected packages: taurus

Running setup.py install for taurus

Successfully installed taurus-3.6.0

(I added the --user as well to only install for my user account
without sudo)

Same is true for PyTango by the way. I would consider to maybe add
this as (an alternative) installation instruction in the
documentation.

Cheers,
Yngve

Original comment by: cpascual (http://sourceforge.net/u/cpascual)

from taurus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.