Closed shchukax closed 7 years ago
I am getting the same error and I already reported here: #431
I received no answer from the devs at all.
I also have this issue. Seems to be an issue with the old installed python version and pip. As a workaround I installed the latest version of python2.7.13 from the tarball.
tar -xzf python-2.7.13.tgz
cd Python/
sudo ./configure
sudo make
sudo make install
after that run sudo ./setup.sh
again and it should work fine.
@mikethebeer
Installing the latest python version did not solve my problem when running the virtual machine using vagrant.
I modified setup.sh
to install the newest python, but it still fails.
I tried with Python 2.7.13 and even with Python 3.4 (this doesn't work for a variety of other reasons) - to no avail. What finally did fix it for me is this:
In file /usr/local/lib/python2.7/dist-packages/packaging/requirements.py
, line 59 is this one:
MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
I changed it to
MARKER_EXPR = originalTextFor(MARKER_EXPR(""))("marker")
And that was it - everything went through after that.
@shchukax Thanks, that indeed works!
@shchukax Thanks, it works for me.
How do the nylas guys make this work? I thought vagrant was supposed to give us a 100% identical build.
@grinich can you weight in on this?
In order to fix problems with building the sync-engine, including: #427, #429, #430, #431
Here is what I add into my setup.sh
:
export PYTHONPATH=/vagrant:$PYTHONPATH
echo "export PYTHONPATH=/vagrant:$PYTHONPATH" >> /etc/profile
sed -i '59s/MARKER_EXPR()/MARKER_EXPR("")/g' /usr/local/lib/python2.7/dist-packages/packaging/requirements.py
after apt-get -y install ...
in line 100
and
easy_install -U pyasn1 setuptools
after pip install ...
in line 180
Destroy the vagrant box and run vagrant up
again, things seem to work fine for me :)
@shchukax, great solution! It worked! Many thanks!
@shchukax great fix! Thanks!
pip install setuptools==33.1.1
pip install setuptools==33.1.1
or pip install --upgrade setuptools
(when confirmed using a old version) are ok
I'm attempting to install sync engine on a mint 17 box (based on ubuntu 14.04). Running
setup.sh
goes through for a bit and then errors out with the following message:How can I get past this error?