Your message dated Sun, 05 Apr 2020 09:16:55 -0400
with message-id <1990684.5RNhhXooN0@sk-desktop>
and subject line Re: virtualenv: impossible to install self-made package in
virtualenv distributed with debian
has caused the Debian Bug report #869080,
regarding virtualenv: impossible to install self-made package in virtualenv
distributed with debian
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
869080: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869080
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: virtualenv
Severity: normal
Dear Maintainer,
When trying to install a self-made package called "fledit" in a virtual
evironment the following kept happening:
Running setup.py develop for fledit
Complete output from command /usr/bin/python3 -c "import setuptools,
tokenize;__file__='/home/luke/devel/nvstem-edit/fledit/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps:
running develop
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 2] No such file or directory:
'/usr/lib/python3.5/site-packages/test-easy-install-2043.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/lib/python3.5/site-packages/
This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).
What helped in my case was apt-get uninstall virtualenv and then pip3 install
virtualenv
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages virtualenv depends on:
ii python3 3.5.3-1
pn python3-virtualenv <none>
virtualenv recommends no packages.
virtualenv suggests no packages.
--- End Message ---
--- Begin Message ---
On Thu, 20 Jul 2017 11:51:44 +0100 =?utf-8?q?=C5=81ukasz_Grabowski?=
<[email protected]> wrote:
> Package: virtualenv
> Severity: normal
>
> Dear Maintainer,
>
> When trying to install a self-made package called "fledit" in a virtual
evironment the following kept happening:
>
> Running setup.py develop for fledit
> Complete output from command /usr/bin/python3 -c "import setuptools,
tokenize;__file__='/home/luke/devel/nvstem-edit/fledit/
setup.py';f=getattr(tokenize, 'open', open)
(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code,
__file__, 'exec'))" develop --no-deps:
> running develop
> error: can't create or remove files in install directory
>
> The following error occurred while trying to add or remove files in the
> installation directory:
>
> [Errno 2] No such file or directory: '/usr/lib/python3.5/site-
packages/test-easy-install-2043.write-test'
>
> The installation directory you specified (via --install-dir, --prefix, or
> the distutils default setting) was:
>
> /usr/lib/python3.5/site-packages/
>
> This directory does not currently exist. Please create it and try
again, or
> choose a different installation directory (using the -d or --install-dir
> option).
What was happening there was that the install was done using the system python
rather than the one from within the virtualenv. Debian's virtualenv was well
behind upstream's, but it has been updated now and this no longer happens.
I made a trivial package inside a virtualenv in a Debian Unstable chroot and
then installed it. It installed correctly both with distutils and pip. The
virtualenv was at /tmp/virt and it succeeded:
Installed /tmp/virt/lib/python3.8/site-packages/UNKNOWN-0.0.0-py3.8.egg
Since this is fixed in Unstable, I'm closing the bug.
Scott K
signature.asc
Description: This is a digitally signed message part.
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team