I'd have to guess that PYTHONPATH is not setup correctly, but don't put too
much into that guess. In case you haven't come across these older
Windows-specific install instructions:
http://trac.edgewall.org/wiki/TracOnWindows/Python2.5
--
View this message in context: http://old.nabble.com/Windows-install---missing-pkg_resources-module-tp29516343p29519127.html
Sent from the Trac Users mailing list archive at Nabble.com.
>
>
>
> Jesse-64 wrote:
>>
>> I'm a newbie to Trac. Trying to install on Windows to demonstrate.
>> Not sure of the actual procedure to install (docs are very
>> unfriendly!
>> IMHO)
>> So I started with this initenv, and got this ....
>>
>> C:\Python27\Scripts>trac-admin.exe \Trac\JESS-PROJECT initenv
>> Traceback (most recent call last):
>> File "C:\Python27\Scripts\trac-admin-script.py", line 5, in <module>
>> from pkg_resources import load_entry_point
>> ImportError: No module named pkg_resources
That module is part of setuptools, which you need to install first.
--Noah
Thanks for the help guys, but this Windows install is pretty opaque
and unforgiving.
Per instructions below I downloaded Genshi & setuptools, then ran
this:
C:\Python25\Lib\site-packages\genshi>python setup.py install
python: can't open file 'setup.py': [Errno 2] No such file or
directory
There is no setup.py file anywhere!!
It's not clear at all what the "that folder" refers to ... the .
\genshi directory?
For Trac install...
Where did the C:\SRC dir come from? There's no mention of how it got
there.
There is no "svn" program either.
ANY MORE CLUES!??
--------------------------
Installing Genshi¶
....
Correct version of Genshi => http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.win32-py2.5.exe
Unzip to a folder and then from that folder run python setup.py
install in a command window....
Then start command line for Genshi installation.)
Installing Trac¶
...
> cd C:\src
> svn checkout http://svn.edgewall.org/repos/trac/branches/0.11-stable
> cd 0.11-stable
> python setup.py install
> --Noah- Hide quoted text -
On Aug 24, 1:06 pm, Noah Kantrowitz <n...@coderanger.net> wrote:
> On Aug 23, 2010, at 11:43 PM, Ryan J Ollos wrote:
>
> > Jesse-64 wrote:
>
> >> I'm a newbie to Trac. Trying to install on Windows to demonstrate.
> >> Not sure of the actual procedure to install (docs are very unfriendly!
> >> IMHO)
> >> So I started with this initenv, and got this ....
>
> >> C:\Python27\Scripts>trac-admin.exe \Trac\JESS-PROJECT initenv
> >> Traceback (most recent call last):
> >> File "C:\Python27\Scripts\trac-admin-script.py", line 5, in <module>
> >> from pkg_resources import load_entry_point
> >> ImportError: No module named pkg_resources
>
> That module is part of setuptools, which you need to install first.
>
>
> - Show quoted text -
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.