Hi Rob, I'm using a hosted cloud server (with ubuntu 18.04)
Selection Path Priority Status ------------------------------------------------------------ 0 /usr/bin/python3.7 2 auto mode 1 /usr/bin/python3.6 1 manual mode ** 2 /usr/bin/python3.7 2 manual mode* Best regards, Elishai Cohen On Wed, 15 Jan 2020 at 22:02, Rob Gaston <[email protected]> wrote: > Hi Elishai, > > I’m no Windows expert, but it sounds like “pip” on your path still points > to your old python 2.7 install. I’m unsure what "change python priority as > expected” means, but Arches will simply use whichever binary you specify > (ie whichever binary you use to run the command). > > I’m not sure how to fix your path on Windows (perhaps a Windows user can > chime in here), but (if you know where python 3 is installed) you could > also just use your python 3 binary directly instead of modifying your path. > > - Rob > > > On Jan 15, 2020, at 11:53 AM, Elishai Cohen <[email protected]> > wrote: > > Hi Rob, > > Thanks for your answer. > I installed a new version of python and change python priority as expected. > > I'm not sure why but Arches installation still uses Python 2.7 version. > > > Best, > Elishai > > > On Wed, 15 Jan 2020 at 20:20, Rob Gaston <[email protected]> wrote: > >> Hi Elishai, >> >> It appears from the output that you posted that you are trying to install >> Arches 5 on Python 2.7. >> >> Arches 5 requires Python 3.7 as per here: >> https://arches.readthedocs.io/en/stable/requirements-and-dependencies/#software-dependencies >> >> I hope that helps! >> - Rob >> >> On Jan 15, 2020, at 6:41 AM, Elishai Cohen <[email protected]> >> wrote: >> >> Hi all, >> >> My name is Elishai Cohen, I just joined the Israel Antiquities Authority >> team. >> >> I'm using a cloud virtual machine, operation system - ubuntu 18.04 and >> I'm trying to download Arches. >> >> I used the sh file for software dependencies. >> while I'm trying to install Arches I'm getting the next error message: >> >> " >> *Collecting arches* >> * Using cached >> https://files.pythonhosted.org/packages/35/fc/38c4427db6f4ffea5aeb33f4595f627af5129b724b51c48f6bd349269cab/arches-5.0.tar.gz >> <https://files.pythonhosted.org/packages/35/fc/38c4427db6f4ffea5aeb33f4595f627af5129b724b51c48f6bd349269cab/arches-5.0.tar.gz>* >> * Installing build dependencies ... done* >> * Getting requirements to build wheel ... error* >> * ERROR: Command errored out with exit status 1:* >> * command: /tmp/Projects/ENV/bin/python >> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py >> get_requires_for_build_wheel /tmp/tmpenPZ7I* >> * cwd: /tmp/pip-install-g7Ovpw/arches* >> * Complete output (22 lines):* >> * Traceback (most recent call last):* >> * File >> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", >> line 257, in <module>* >> * main()* >> * File >> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", >> line 240, in main* >> * json_out['return_val'] = hook(**hook_input['kwargs'])* >> * File >> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", >> line 91, in get_requires_for_build_wheel* >> * return hook(config_settings)* >> * File >> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py", >> line 146, in get_requires_for_build_wheel* >> * return self._get_build_requires(config_settings, >> requirements=['wheel'])* >> * File >> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py", >> line 127, in _get_build_requires* >> * self.run_setup()* >> * File >> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py", >> line 237, in run_setup* >> * self).run_setup(setup_script=setup_script)* >> * File >> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py", >> line 142, in run_setup* >> * exec(compile(code, __file__, 'exec'), locals())* >> * File "setup.py", line 18, in <module>* >> * version = __import__("arches").__version__* >> * File "/tmp/pip-install-g7Ovpw/arches/arches/__init__.py", line 2, in >> <module>* >> * from arches.setup import get_version* >> * File "/tmp/pip-install-g7Ovpw/arches/arches/setup.py", line 5, in >> <module>* >> * import urllib.request, urllib.error, urllib.parse* >> * ImportError: No module named request* >> * ----------------------------------------* >> *ERROR: Command errored out with exit status 1: >> /tmp/Projects/ENV/bin/python >> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py >> get_requires_for_build_wheel /tmp/tmpenPZ7I Check the logs for full command >> output*." >> >> I installed requet/requets module. >> >> I appreciate it if you could advise me. >> >> Best regards, >> Elishai Cohen >> >> -- >> -- To post, send email to [email protected]. To >> unsubscribe, send email to [email protected]. >> For more information, visit >> https://groups.google.com/d/forum/archesproject?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Arches Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/archesproject/bf7193ac-6088-498c-8b33-3aac880c397d%40googlegroups.com >> <https://groups.google.com/d/msgid/archesproject/bf7193ac-6088-498c-8b33-3aac880c397d%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> >> > -- > -- To post, send email to [email protected]. To unsubscribe, > send email to [email protected]. For more > information, visit https://groups.google.com/d/forum/archesproject?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Arches Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/archesproject/CAMRz0YNWZ9zUcTDhV6z7Td6siFm07D-_v-dFJt8W4xfVoSe5fg%40mail.gmail.com > <https://groups.google.com/d/msgid/archesproject/CAMRz0YNWZ9zUcTDhV6z7Td6siFm07D-_v-dFJt8W4xfVoSe5fg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/CAMRz0YMSVkCJY%2B3bDK4Mw-RJNnDnGM1cP1cwfaR%3DEX0FhUYERw%40mail.gmail.com.
