[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #16839 [Ooni]: error: bad install directory or PYTHONPATH



#16839: error: bad install directory or PYTHONPATH
--------------------+-------------------------
 Reporter:  axil    |          Owner:  hellais
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:
Component:  Ooni    |        Version:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+-------------------------
 I'm trying to package ooniprobe for Archlinux and I had successfully
 uploaded a working package at
 https://aur.archlinux.org/packages/ooniprobe/

 With the new 1.3.1 release I get the following error when trying to build:

 {{{

 running install
 Checking .pth file support in
 /tmp//ooniprobe/pkg/ooniprobe/usr/lib/python2.7/site-packages/
 /bin/python2 -E -c pass
 TEST FAILED: /tmp//ooniprobe/pkg/ooniprobe/usr/lib/python2.7/site-
 packages/ does NOT support .pth f
 iles
 error: bad install directory or PYTHONPATH

 You are attempting to install a package to a directory that is not
 on PYTHONPATH and which Python does not read ".pth" files from. The
 installation directory you specified (via --install-dir, --prefix, or
 the distutils default setting) was:

 ÂÂÂ /tmp//ooniprobe/pkg/ooniprobe/usr/lib/python2.7/site-packages/

 and your PYTHONPATH environment variable currently contains:

   ''

 Here are some of your options for correcting the problem:

 * You can choose a different installation directory, i.e., one that is
 Â on PYTHONPATH or supports .pth files

 * You can add the installation directory to the PYTHONPATH environment
  variable. (It must then also be on PYTHONPATH whenever you run
 Â Python and want to use the package(s) you are installing.)

 * You can set up the installation directory to support ".pth" files by
 Â using one of the approaches described here:

 Â !https://pythonhosted.org/setuptools/easy_install.html#custom-
 installation-locations

 Please make the appropriate changes for your system and try again.
 }}}
 It seems something has changed in `setup.py` and can no longer use the
 build tools provided by Archlinux.

 Do you have any idea how to get past this? Thanks.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16839>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs