On Friday, March 29, 2019 at 7:40:20 AM UTC-4, Anna wrote: > > I'm trying to upgrade trac from 1.0.1-3 to 1.2.3 using this command: > > C:\Bitnami\trac-1.0.1-3>easy_install -a > --prefix="C:\Bitnami\trac-1.0.1-3\apps\trac" -d > "C:\Bitnami\trac-1.0.1-3\apps\trac\Lib\site-packages" -s > "C:\Bitnami\trac-1.0.1-3\apps\trac\Scripts" --upgrade Trac==1.2.3 > > > and I get this message : > > Searching for Trac==1.2.3 > > Reading http://pypi.python.org/simple/Trac/ > > Couldn't retrieve index page for 'Trac' > > Scanning index of all packages (this may take a while) > > Reading http://pypi.python.org/simple/ > > No local packages or download links found for Trac==1.2.3 > > Best match: None > > Traceback (most recent call last): > > File "C:\Bitnami\trac-1.0.1-3\apps\trac\Scripts\easy_install-script.py", > line 8, in <module> > > load_entry_point('setuptools==0.6c11', 'console_scripts', > 'easy_install')() > > File > "c:\bitnami\trac-1.0.1-3\python\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_install.py", > > line 1712, in main > > File > "c:\bitnami\trac-1.0.1-3\python\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_install.py", > > line 1700, in with_ei_usage > > File > "c:\bitnami\trac-1.0.1-3\python\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_install.py", > > line 1716, in <lambda> > > File "C:\Bitnami\trac-1.0.1-3\python\lib\distutils\core.py", line 152, > in setup > > dist.run_commands() > > File "C:\Bitnami\trac-1.0.1-3\python\lib\distutils\dist.py", line 953, > in run_commands > > self.run_command(cmd) > > File "C:\Bitnami\trac-1.0.1-3\python\lib\distutils\dist.py", line 972, > in run_command > > cmd_obj.run() > > File > "c:\bitnami\trac-1.0.1-3\python\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_install.py", > > line 211, in run > > File > "c:\bitnami\trac-1.0.1-3\python\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_install.py", > > line 434, in easy_install > > File > "c:\bitnami\trac-1.0.1-3\python\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\package_index.py", > > line 475, in fetch_distribution > > AttributeError: 'NoneType' object has no attribute 'clone' > > trac python version : 2.7.6 > setuptools version : 0.6c11 > How I can resolve this issue? >
Usually you'll want to use pip rather than easy_install, but I see that you are following the upgrade steps documented by Bitnami, so probably good to stick with that: https://docs.bitnami.com/installer/apps/trac/administration/upgrade/ Your version of setuptools is very old. I would upgrade setuptools. Try: C:\Bitnami\trac-1.0.1-3> pip install -U setuptools - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
