#627: "pip install -r requirements.txt" step fails
--------------------------+--------------------
Reporter: ChrisHarris | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: installer | Version: 0.6.0
Resolution: | Keywords:
--------------------------+--------------------
Comment (by ChrisHarris):
I created a new virtual environment named dummy. Here's my output:
ade"
Loading default product wiki
TracError: The Trac Environment needs to be upgraded.
Run "trac-admin
C:\apache\bloodhound\installer\bloodhound\environments\main upgr
ade"
Running default product wiki upgrades
TracError: The Trac Environment needs to be upgraded.
Run "trac-admin
C:\apache\bloodhound\installer\bloodhound\environments\main upgr
ade"
Running default product wiki Bloodhound upgrades
TracError: The Trac Environment needs to be upgraded.
Run "trac-admin
C:\apache\bloodhound\installer\bloodhound\environments\main upgr
ade"
You can now start Bloodhound by running:
tracd --port=8000
C:\apache\bloodhound\installer\bloodhound\environments\main
And point your browser at http://localhost:8000/main
(bloodhound) C:\apache\bloodhound\installer>tracd
bloodhound/environments/main -
-port=8000
Server starting in PID 9160.
Serving on 0.0.0.0:8000 view at http://127.0.0.1:8000/
Using HTTP/1.1 protocol version
127.0.0.1 - - [08/Aug/2013 14:27:04] "GET /main/ HTTP/1.1" 500 -
(bloodhound) C:\apache\bloodhound\installer>trac-admin
c:\apache\bloodhound\inst
aller\bloodhound\environments\main upgrade --no-backup
Upgrade done.
You may want to upgrade the Trac documentation now by running:
trac-admin c:\apache\bloodhound\installer\bloodhound\environments\main
wiki up
grade
(bloodhound) C:\apache\bloodhound\installer>trac-admin
c:\apache\bloodhound\inst
aller\bloodhound\environments\main wiki upgrade
CamelCase imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pac
kages\trac\wiki\default-pages\CamelCase
InterMapTxt imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\InterMapTxt
InterTrac imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pac
kages\trac\wiki\default-pages\InterTrac
InterWiki imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pac
kages\trac\wiki\default-pages\InterWiki
PageTemplates imported from
C:\apache\bloodhound\installer\bloodhound\lib\site
-packages\trac\wiki\default-pages\PageTemplates
RecentChanges imported from
C:\apache\bloodhound\installer\bloodhound\lib\site
-packages\trac\wiki\default-pages\RecentChanges
SandBox imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-packa
ges\trac\wiki\default-pages\SandBox
TitleIndex imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pa
ckages\trac\wiki\default-pages\TitleIndex
TracAccessibility imported from
C:\apache\bloodhound\installer\bloodhound\lib\
site-packages\trac\wiki\default-pages\TracAccessibility
TracAdmin imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pac
kages\trac\wiki\default-pages\TracAdmin
TracBackup imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pa
ckages\trac\wiki\default-pages\TracBackup
TracBatchModify imported from
C:\apache\bloodhound\installer\bloodhound\lib\si
te-packages\trac\wiki\default-pages\TracBatchModify
TracBrowser imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracBrowser
TracCgi imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-packa
ges\trac\wiki\default-pages\TracCgi
TracChangeset imported from
C:\apache\bloodhound\installer\bloodhound\lib\site
-packages\trac\wiki\default-pages\TracChangeset
TracEnvironment imported from
C:\apache\bloodhound\installer\bloodhound\lib\si
te-packages\trac\wiki\default-pages\TracEnvironment
TracFastCgi imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracFastCgi
TracFineGrainedPermissions imported from
C:\apache\bloodhound\installer\bloodh
ound\lib\site-packages\trac\wiki\default-pages\TracFineGrainedPermissions
TracGuide imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pac
kages\trac\wiki\default-pages\TracGuide
TracImport imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pa
ckages\trac\wiki\default-pages\TracImport
TracIni imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-packa
ges\trac\wiki\default-pages\TracIni
TracInstall imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracInstall
TracInterfaceCustomization imported from
C:\apache\bloodhound\installer\bloodh
ound\lib\site-packages\trac\wiki\default-pages\TracInterfaceCustomization
TracLinks imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pac
kages\trac\wiki\default-pages\TracLinks
TracLogging imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracLogging
TracModPython imported from
C:\apache\bloodhound\installer\bloodhound\lib\site
-packages\trac\wiki\default-pages\TracModPython
TracModWSGI imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracModWSGI
TracNavigation imported from
C:\apache\bloodhound\installer\bloodhound\lib\sit
e-packages\trac\wiki\default-pages\TracNavigation
TracNotification imported from
C:\apache\bloodhound\installer\bloodhound\lib\s
ite-packages\trac\wiki\default-pages\TracNotification
TracPermissions imported from
C:\apache\bloodhound\installer\bloodhound\lib\si
te-packages\trac\wiki\default-pages\TracPermissions
TracPlugins imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracPlugins
TracQuery imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pac
kages\trac\wiki\default-pages\TracQuery
TracReports imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracReports
TracRepositoryAdmin imported from
C:\apache\bloodhound\installer\bloodhound\li
b\site-packages\trac\wiki\default-pages\TracRepositoryAdmin
TracRevisionLog imported from
C:\apache\bloodhound\installer\bloodhound\lib\si
te-packages\trac\wiki\default-pages\TracRevisionLog
TracRoadmap imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracRoadmap
TracRss imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-packa
ges\trac\wiki\default-pages\TracRss
TracSearch imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pa
ckages\trac\wiki\default-pages\TracSearch
TracStandalone imported from
C:\apache\bloodhound\installer\bloodhound\lib\sit
e-packages\trac\wiki\default-pages\TracStandalone
TracSupport imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracSupport
TracSyntaxColoring imported from
C:\apache\bloodhound\installer\bloodhound\lib
\site-packages\trac\wiki\default-pages\TracSyntaxColoring
TracTickets imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracTickets
TracTicketsCustomFields imported from
C:\apache\bloodhound\installer\bloodhoun
d\lib\site-packages\trac\wiki\default-pages\TracTicketsCustomFields
TracTimeline imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\trac\wiki\default-pages\TracTimeline
TracUnicode imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracUnicode
TracUpgrade imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\TracUpgrade
TracWiki imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pack
ages\trac\wiki\default-pages\TracWiki
TracWorkflow imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\trac\wiki\default-pages\TracWorkflow
WikiDeletePage imported from
C:\apache\bloodhound\installer\bloodhound\lib\sit
e-packages\trac\wiki\default-pages\WikiDeletePage
WikiFormatting imported from
C:\apache\bloodhound\installer\bloodhound\lib\sit
e-packages\trac\wiki\default-pages\WikiFormatting
WikiHtml imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pack
ages\trac\wiki\default-pages\WikiHtml
WikiMacros imported from C:\apache\bloodhound\installer\bloodhound\lib
\site-pa
ckages\trac\wiki\default-pages\WikiMacros
WikiNewPage imported from
C:\apache\bloodhound\installer\bloodhound\lib\site-p
ackages\trac\wiki\default-pages\WikiNewPage
WikiPageNames imported from
C:\apache\bloodhound\installer\bloodhound\lib\site
-packages\trac\wiki\default-pages\WikiPageNames
WikiProcessors imported from
C:\apache\bloodhound\installer\bloodhound\lib\sit
e-packages\trac\wiki\default-pages\WikiProcessors
WikiRestructuredText imported from
C:\apache\bloodhound\installer\bloodhound\l
ib\site-packages\trac\wiki\default-pages\WikiRestructuredText
WikiRestructuredTextLinks imported from
C:\apache\bloodhound\installer\bloodho
und\lib\site-packages\trac\wiki\default-pages\WikiRestructuredTextLinks
(bloodhound) C:\apache\bloodhound\installer>tracd
bloodhound/environments/main -
-port=8000
Server starting in PID 8648.
Serving on 0.0.0.0:8000 view at http://127.0.0.1:8000/
Using HTTP/1.1 protocol version
127.0.0.1 - - [08/Aug/2013 14:28:17] "GET /main/ HTTP/1.1" 404 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET
/main/chrome/common/js/messages/en_US.
js HTTP/1.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET /main/chrome/common/js/trac.js
HTTP/1.
1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET
/main/chrome/theme/bloodhound.css HTTP
/1.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET
/main/chrome/dashboard/css/bootstrap.c
ss HTTP/1.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET /main/chrome/common/js/babel.js
HTTP/1
.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET
/main/chrome/dashboard/css/bootstrap-r
esponsive.css HTTP/1.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET /main/chrome/common/js/jquery.js
HTTP/
1.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET /main/chrome/common/css/code.css
HTTP/
1.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET /main/chrome/common/js/search.js
HTTP/
1.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET /main/chrome/theme/js/theme.js
HTTP/1.
1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET
/main/chrome/dashboard/js/bootstrap.js
HTTP/1.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET
/main/chrome/dashboard/js/bloodhound-s
tickyscroll.js HTTP/1.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET /main/chrome/theme/img/bh.ico
HTTP/1.1
" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET
/main/chrome/theme/img/bh_logo.png HTT
P/1.1" 200 -
127.0.0.1 - - [08/Aug/2013 14:28:18] "GET
/main/chrome/dashboard/img/glyphicons-
halflings-white.png HTTP/1.1" 200 -
(bloodhound) C:\apache\bloodhound\installer>trac-admin
bloodhound\environments\m
ain\ deploy bloodhound\site
Copying resources from:
trac.web.chrome.Chrome
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\trac\htdocs
C:\apache\bloodhound\installer\bloodhound\environments\main\htdocs
acct_mgr.web_ui.AccountModule
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\acct_mgr\htdocs
acct_mgr.web_ui.LoginModule
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\acct_mgr\htdocs
acct_mgr.admin.AccountManagerAdminPanel
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\acct_mgr\htdocs
acct_mgr.macros.AccountManagerWikiMacros
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\acct_mgr\htdocs
bhdashboard.web_ui.DashboardModule
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\bhdashboard\htdo
cs
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\bhdashboard\layo
uts\htdocs
bhrelations.web_ui.RelationManagementModule
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\bhrelations\htdo
cs
themeengine.web_ui.ThemeEngineModule
C:\apache\bloodhound\installer\bloodhound\lib\site-
packages\bhtheme\htdocs
Creating scripts.
(bloodhound)
C:\apache\bloodhound\installer>bloodhound\Scripts\deactivate.bat
C:\apache\bloodhound\installer>virtualenv --system-site-packages dummy
New python executable in dummy\Scripts\python.exe
Installing
Setuptools...........................................................
................................................................................
................................................................................
.........................done.
Installing
Pip..................................................................
................................................................................
................................................................................
................................................................................
.......................done.
C:\apache\bloodhound\installer>dummy\Scripts\activate.bat
(dummy) C:\apache\bloodhound\installer>pip install -r requirements.txt
Unpacking c:\apache\bloodhound\trac
Running setup.py egg_info for package from
file:///c%7C%5Capache%5Cbloodhound%
5Ctrac
Genshi is needed by Trac setup, pre-installing
Moving Genshi-0.7-py2.7-win32.egg to
c:\users\harris\appdata\local\temp\pi
p-rbjekr-build
Installed c:\users\harris\appdata\local\temp\pip-rbjekr-
build\genshi-0.7-p
y2.7-win32.egg
C:\apache\bloodhound\installer\dummy\lib\site-
packages\setuptools\command\bd
ist_egg.py:440: UnicodeWarning: Unicode equal comparison failed to convert
both
arguments to Unicode - interpreting them as being unequal
symbols = dict.fromkeys(iter_symbols(code))
Unpacking c:\apache\bloodhound\bloodhound_multiproduct
Running setup.py egg_info for package from
file:///c%7C%5Capache%5Cbloodhound%
5Cbloodhound_multiproduct
Unpacking c:\apache\bloodhound\bloodhound_dashboard
Running setup.py egg_info for package from
file:///c%7C%5Capache%5Cbloodhound%
5Cbloodhound_dashboard
warning: no files found matching 'LICENSE'
warning: no files found matching 'NOTICE'
warning: no directories found matching 'bhdashboard\widgets\htdocs'
Unpacking c:\apache\bloodhound\bloodhound_theme
Running setup.py egg_info for package from
file:///c%7C%5Capache%5Cbloodhound%
5Cbloodhound_theme
warning: no directories found matching 'bhtheme\htdocs\images'
Unpacking c:\apache\bloodhound\bloodhound_search
Running setup.py egg_info for package from
file:///c%7C%5Capache%5Cbloodhound%
5Cbloodhound_search
Unpacking c:\apache\bloodhound\bloodhound_relations
Running setup.py egg_info for package from
file:///c%7C%5Capache%5Cbloodhound%
5Cbloodhound_relations
Downloading/unpacking Pygments (from -r requirements.txt (line 18))
Downloading Pygments-1.6.tar.gz (1.4MB): 1.4MB downloaded
Running setup.py egg_info for package Pygments
Downloading/unpacking pytz (from -r requirements.txt (line 19))
Could not find a version that satisfies the requirement pytz (from -r
requirem
ents.txt (line 19)) (from versions: 2009r, 2008b, 2009f, 2008c, 2007g,
2011g, 20
05m, 2011e, 2007f, 2011k, 2007k, 2006j, 2008h, 2008i, 2011e, 2008a, 2009e,
2006g
, 2011j, 2010l, 2005m, 2008i, 2005k, 2008g, 2007c, 2007i, 2009l, 2009r,
2006j, 2
011k, 2007d, 2006p, 2009i, 2009u, 2007i, 2009f, 2010g, 2008h, 2009a,
2007g, 2011
e, 2006p, 2012b, 2010k, 2005r, 2007f, 2009l, 2009p, 2008c, 2009j, 2008g,
2010g,
2010h, 2011h, 2010k, 2007c, 2007d, 2011d, 2009l, 2011c, 2008a, 2005m,
2007k, 200
9n, 2011d, 2010o, 2013b, 2012h, 2010e, 2012c, 2012d, 2012f, 2011n, 2011b,
2011j,
2008c, 2012j, 2007k, 2009f, 2009d, 2010e, 2010b, 2013b, 2011d, 2009p,
2008h, 20
05r, 2009i, 2009n, 2009a, 2010k, 2008g, 2006g, 2008b, 2012c, 2009i, 2007g,
2012c
, 2010h, 2011n, 2012g, 2007d, 2008a, 2009u, 2012g, 2010o, 2006p, 2010b,
2009u, 2
012d, 2011k, 2012f, 2009a, 2007f, 2011h, 2010l, 2009j, 2011g, 2009g,
2009g, 2005
r, 2011c, 2012g, 2009g, 2012d, 2009j, 2010o, 2007c, 2010g, 2006g, 2009d,
2010h,
2005k, 2006j, 2010b, 2009n, 2011g, 2011c, 2012b, 2009e, 2009d, 2011j,
2007i, 201
2j, 2010l, 2009r, 2012h, 2010e, 2009p, 2008i, 2012f, 2009e, 2012b, 2011h,
2005k,
2008b, 2013b, 2011n, 2012j, 2004b)
Cleaning up...
No distributions matching the version for pytz (from -r requirements.txt
(line 1
9))
Storing complete log in C:\Users\harris\pip\pip.log
(dummy) C:\apache\bloodhound\installer>
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/627#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker