Hi Anthony,
I just did a quick check and something strange seems to be happening with
your install.  The line of code you're hitting shouldn't even be run as far
as I can tell.
Maybe Adam Cox can lend his thoughts to this.
Cheers,
Alexei

Director of Web Development - Farallon Geographics, Inc. - 971.227.3173


On Tue, Jul 16, 2019 at 12:05 PM Anthony Bronzo <ambro...@gmail.com> wrote:

> Hi,
> I'm having the same error 2 trying to get Arches 4.4.2 onto my Windows 10
> machine. It sounds like Arches doesn't use Shapely anymore so I don't think
> its that, any ideas?
>
> This is what happens when I run "pip install arches --no-binary :all:" in
> my virtual environment:
>
> Collecting arches
>   Using cached
> https://files.pythonhosted.org/packages/2c/6d/eff4016832a7cf17508b887711d105d36d809a1ac4a0c88e3e9166b22b3a/arches-4.4.2.tar.gz
>     ERROR: Complete output from command python setup.py egg_info:
>     ERROR: Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File
> "C:\Users\funb4\AppData\Local\Temp\pip-install-xsd9_7_d\arches\setup.py",
> line 15, in <module>
>         version = __import__('arches').__version__
>       File
> "C:\Users\funb4\AppData\Local\Temp\pip-install-xsd9_7_d\arches\arches\__init__.py",
> line 1, in <module>
>         from arches.setup import get_version
>       File
> "C:\Users\funb4\AppData\Local\Temp\pip-install-xsd9_7_d\arches\arches\setup.py",
> line 84
>         print "Downloading: %s Bytes: %s" % (file_name, file_size)
>                                         ^
>     SyntaxError: invalid syntax
>     ----------------------------------------
> ERROR: Command "python setup.py egg_info" failed with error code 1 in
> C:\Users\funb4\AppData\Local\Temp\pip-install-xsd9_7_d\arches\
>
> Thanks,
> Anthony
>
> On Wednesday, April 26, 2017 at 8:26:48 PM UTC-7, Adam Cox wrote:
>>
>> Hi Susan, Cyrus is right, error 1 is ok, and it does sound like Shapely
>> is the culprit here. As noted here
>> <https://github.com/archesproject/arches/wiki/Installing-Dependencies-on-Windows#shapely>
>>  (though
>> it should be noted in other parts of the documentation as well), you should
>> install Shapely in after creating your virtual environment, but before pip
>> installing Arches into it. Try that out and let us know how it goes.
>>
>> Adam
>>
>>
>> On Wed, Apr 26, 2017 at 7:13 PM, Cyrus Hiatt <cyrus...@gmail.com> wrote:
>>
>>> Hi Susan -
>>>
>>> I think the installation will proceed despite Error 1.
>>>
>>> Regarding Error 2 - Did you install the dependencies using the OSGeo4W
>>> installer? If so, is 'C:\OSGeo4W64\bin' added to your systems PATH
>>> environment variable?
>>>
>>> If your PATH is correct, perhaps the issue is with the Shapely
>>> installation itself?  It looks like you need to install that prior to
>>> installing Arches on Windows.  If you didn't catch it in the docs, there is
>>> a short section on installing Shapely for Windows:
>>> https://github.com/archesproject/arches/wiki/Installing-Dependencies-on-Windows
>>>
>>> - Cyrus
>>>
>>>
>>>
>>>
>>> On Wed, Apr 26, 2017 at 3:56 PM, Susan Penacho <spen...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>> After I ran into issues trying to install arches on my windows 10
>>>> machine with the repository, I switched to the pip installation using the
>>>> online documentation (
>>>> https://arches4.readthedocs.io/en/latest/installation/#installing-arches
>>>> ).
>>>>
>>>> Using the pip installation steps on the installation documentation I
>>>> was able to do steps 1 to 3 and create the virtual environment. When I
>>>> tried to install arches in step 4 I got back two errors:
>>>>
>>>> Error 1:
>>>>
>>>>   Requirement already up-to-date: six>=1.6.0 in
>>>> c:\projects\env\lib\site-packages (from setuptools)
>>>>
>>>>   Requirement already up-to-date: pyparsing in
>>>> c:\projects\env\lib\site-packages (from packaging>=16.8->setuptools)
>>>>
>>>>   Could not open requirements file: [Errno 2] No such file or
>>>> directory:
>>>> 'c:\\projects\\env\\Lib\\site-packages\\arches\\install\\requirements.txt'
>>>>
>>>>   error: [Errno 2] No such file or directory:
>>>> 'c:\\projects\\env\\Lib\\site-packages\\arches\\install\\django_overrides\\admin.py'
>>>>
>>>>   ----------------------------------------
>>>>
>>>>   Failed building wheel for arches
>>>>
>>>>   Running setup.py clean for arches
>>>>
>>>> Failed to build arches
>>>>
>>>> Installing collected packages: arches
>>>>
>>>>   Running setup.py install for arches ... /
>>>>
>>>>
>>>> Error2:
>>>>
>>>>     Collecting tilestache (from -r
>>>> c:\projects\env\Lib\site-packages\arches\install\requirements.txt (line 
>>>> 12))
>>>>
>>>>       Using cached TileStache-1.51.6-py2-none-any.whl
>>>>
>>>>     Collecting shapely (from -r
>>>> c:\projects\env\Lib\site-packages\arches\install\requirements.txt (line 
>>>> 13))
>>>>
>>>>       Downloading Shapely-1.5.17.tar.gz (180kB)
>>>>
>>>>         Complete output from command python setup.py egg_info:
>>>>
>>>>         Traceback (most recent call last):
>>>>
>>>>           File "<string>", line 1, in <module>
>>>>
>>>>           File
>>>> "c:\projects\env\Lib\site-packages\arches\tmp\shapely\setup.py", line 38,
>>>> in <module>
>>>>
>>>>             from shapely._buildcfg import geos_version_string,
>>>> geos_version, \
>>>>
>>>>           File "shapely\_buildcfg.py", line 200, in <module>
>>>>
>>>>             lgeos = CDLL("geos.dll")
>>>>
>>>>           File "c:\python27\Lib\ctypes\__init__.py", line 362, in
>>>> __init__
>>>>
>>>>             self._handle = _dlopen(self._name, mode)
>>>>
>>>>         WindowsError: [Error 126] The specified module could not be
>>>> found
>>>>
>>>>
>>>>
>>>>         ----------------------------------------
>>>>
>>>>     Command "python setup.py egg_info" failed with error code 1 in
>>>> c:\projects\env\Lib\site-packages\arches\tmp\shapely\
>>>>
>>>>     error: [Errno 2] No such file or directory:
>>>> 'c:\\projects\\env\\Lib\\site-packages\\django\\contrib\\auth'
>>>>
>>>>
>>>>
>>>>     ----------------------------------------
>>>>
>>>> Command "c:\projects\env\scripts\python.exe -u -c "import setuptools,
>>>> tokenize;__file__='c:\\users\\susanp~1\\appdata\\local\\temp\\pip-build-xmr2ko\\arches\\setup.py';f=getattr(tokenize,
>>>> 'open', open)(__file__);code=f.read().replace('\r\n',
>>>> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
>>>> c:\users\susanp~1\appdata\local\temp\pip-dokxbf-record\install-record.txt
>>>> --single-version-externally-managed --compile --install-headers
>>>> c:\projects\env\include\site\python2.7\arches" failed with error code 1 in
>>>> c:\users\susanp~1\appdata\local\temp\pip-build-xmr2ko\arches\
>>>>
>>>> --
>>>> -- To post, send email to arches...@googlegroups.com. To unsubscribe,
>>>> send email to arches...@googlegroups.com. 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 arches...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>>> -- To post, send email to arches...@googlegroups.com. To unsubscribe,
>>> send email to arches...@googlegroups.com. 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 arches...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> -- To post, send email to archesproject@googlegroups.com. To unsubscribe,
> send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/c6d466d3-7fb6-4fc2-8146-067e5680b899%40googlegroups.com
> <https://groups.google.com/d/msgid/archesproject/c6d466d3-7fb6-4fc2-8146-067e5680b899%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CA%2BZLqy-RNwazR9rDQCC3r3Vfbvz%3DDBLv52pYir_iFPutfFvYBA%40mail.gmail.com.

Reply via email to