Re: HYDRASPA error

2020-03-03 Thread Chris Angelico
On Wed, Mar 4, 2020 at 3:41 AM alberto  wrote:
>
> hi,
> my name is Alberto
>
> Now I'm trying to install and use the code hydraspa 
> (https://pypi.org/project/hydraspa/)
>
> I'm installing from source with command python 3.5 setup.py install
>

The README says "Hydraspa is actively being used and developed, if you
encounter any issues drop me a line on the issue tracker." but that's
no longer true. The last commit was in August 2018. I had to dig
around quite a bit to find what Python versions it was tested against,
since the README merely says "pip" without saying anything about
versions (which is often a bad sign - it implies Py2). My best guess
at the moment is that it was tested against 3.5 and/or 3.6, but
probably only on Windows, using Anaconda.

Given that the project has not been touched in two years, you're
probably going to have to do a lot of manual digging around. Are you
sure you need to use this exact package?

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


HYDRASPA error

2020-03-03 Thread alberto
hi,
my name is Alberto 

Now I'm trying to install and use the code hydraspa 
(https://pypi.org/project/hydraspa/)

I'm installing from source with command python 3.5 setup.py install

but  when I run hydraspa create -s IRMOF-1 -g CO2 -f UFF -o myCO2sim as 
reported in documentation I obtain

TEST_RASPA $ hydraspa create -s IRMOF-1.cif -g CO2.def -f uff.def -o myCO2sim
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 417, in 
get_provider
module = sys.modules[moduleOrReq]
KeyError: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/hydraspa", line 4, in 
__import__('pkg_resources').run_script('hydraspa==0.3.1', 'hydraspa')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 719, in 
run_script
self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1511, 
in run_script
exec(script_code, namespace, namespace)
  File 
"/usr/local/lib/python3.5/dist-packages/hydraspa-0.3.1-py3.5.egg/EGG-INFO/scripts/hydraspa",
 line 7, in 
  File "", line 969, in _find_and_load
  File "", line 958, in _find_and_load_unlocked
  File "", line 664, in _load_unlocked
  File "", line 634, in _load_backward_compatible
  File 
"/usr/local/lib/python3.5/dist-packages/hydraspa-0.3.1-py3.5.egg/hydraspa/__init__.py",
 line 5, in 
  File "", line 969, in _find_and_load
  File "", line 958, in _find_and_load_unlocked
  File "", line 664, in _load_unlocked
  File "", line 634, in _load_backward_compatible
  File 
"/usr/local/lib/python3.5/dist-packages/hydraspa-0.3.1-py3.5.egg/hydraspa/files.py",
 line 28, in 
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1189, 
in resource_listdir
return get_provider(package_or_requirement).resource_listdir(
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 419, in 
get_provider
__import__(moduleOrReq)
TypeError: __import__() argument 1 must be str, not None

regards

Alberto
-- 
https://mail.python.org/mailman/listinfo/python-list