bsumlin / PyMieScatt

A collection of forward and inverse Mie solving routines for Python 3, based on Bohren and Huffman's Mie Theory derivations
http://pymiescatt.readthedocs.io/en/latest/
MIT License
101 stars 39 forks source link

Install error #4

Closed Prowess2014 closed 6 years ago

Prowess2014 commented 6 years ago

C:\Windows\system32>pip install PyMieScatt

Collecting PyMieScatt Using cached PyMieScatt-1.4.2-py3-none-any.whl Requirement already satisfied: matplotlib in c:\users\xxx\appdata\roaming\python\python36\site-packages (from PyMieScatt) Requirement already satisfied: numpy in c:\users\xxx\appdata\roaming\python\python36\site-packages (from PyMieScatt) Collecting shapely (from PyMieScatt) Using cached Shapely-1.6.4.post1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "C:\Users\xxx\AppData\Local\Temp\pip-build-_prs81qu\shapely\setup.py", line 80, in from shapely._buildcfg import geos_version_string, geos_version, \ File "C:\Users\xxx\AppData\Local\Temp\pip-build-_prs81qu\shapely\shapely_buildcfg.py", line 200, in lgeos = CDLL("geos_c.dll") File "c:\program files\python\python36\lib\ctypes__init.py", line 348, in init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found

----------------------------------------
ArminiusC commented 6 years ago

"pip install PyMieScatt" does not work on my windows 7 machine either...

Aretru commented 6 years ago

Did anybody resolve this issue?

bsumlin commented 6 years ago

Please install Shapely from GitHub, the automatic install within PyMieScatt (or pip install Shapely) doesn't work. This is an issue with Shapely.