After running
pip3 install .
the pack appears to have installed successfully with output:
Processing /Users/zach/Repos/xrotor-python
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: scipy in /usr/local/lib/python3.7/site-packages (from xrotor==1.3.1) (1.3.3)
Requirement already satisfied: numpy in /usr/local/lib/python3.7/site-packages (from xrotor==1.3.1) (1.17.4)
Building wheels for collected packages: xrotor
Building wheel for xrotor (PEP 517) ... done
Created wheel for xrotor: filename=xrotor-1.3.1-cp37-cp37m-macosx_10_14_x86_64.whl size=122040 sha256=89fb9c79db758f0770d7d508cca482e650a0435488515c49fef26fc636f4513b
Stored in directory: /Users/zach/Library/Caches/pip/wheels/47/50/76/1464eafa253749f9e79cdfbfb32c2a74a7e32bdd2ea7a3dab9
Successfully built xrotor
Installing collected packages: xrotor
Successfully installed xrotor-1.3.1
in the repository directory. I ran the following:
from xrotor import XRotor
xr = XRotor()
In doing so, I get the error
Traceback (most recent call last):
File "/Users/zach/Repos/xrotor-python/test.py", line 1, in <module> from xrotor import XRotor
File "/Users/zach/Repos/xrotor-python/xrotor/__init__.py", line 20, in <module> from .xrotor import XRotor
File "/Users/zach/Repos/xrotor-python/xrotor/xrotor.py", line 30, in <module> lib_path = glob.glob(os.path.join(here, 'libxrotor.*'))[0]IndexError: list index out of range`
After running
pip3 install .the pack appears to have installed successfully with output:
Processing /Users/zach/Repos/xrotor-pythonInstalling build dependencies ... doneGetting requirements to build wheel ... donePreparing wheel metadata ... doneRequirement already satisfied: scipy in /usr/local/lib/python3.7/site-packages (from xrotor==1.3.1) (1.3.3)Requirement already satisfied: numpy in /usr/local/lib/python3.7/site-packages (from xrotor==1.3.1) (1.17.4)Building wheels for collected packages: xrotorBuilding wheel for xrotor (PEP 517) ... doneCreated wheel for xrotor: filename=xrotor-1.3.1-cp37-cp37m-macosx_10_14_x86_64.whl size=122040 sha256=89fb9c79db758f0770d7d508cca482e650a0435488515c49fef26fc636f4513bStored in directory: /Users/zach/Library/Caches/pip/wheels/47/50/76/1464eafa253749f9e79cdfbfb32c2a74a7e32bdd2ea7a3dab9Successfully built xrotorInstalling collected packages: xrotorSuccessfully installed xrotor-1.3.1in the repository directory. I ran the following:
from xrotor import XRotorxr = XRotor()In doing so, I get the error
Traceback (most recent call last):File "/Users/zach/Repos/xrotor-python/test.py", line 1, in <module> from xrotor import XRotorFile "/Users/zach/Repos/xrotor-python/xrotor/__init__.py", line 20, in <module> from .xrotor import XRotorFile "/Users/zach/Repos/xrotor-python/xrotor/xrotor.py", line 30, in <module> lib_path = glob.glob(os.path.join(here, 'libxrotor.*'))[0]IndexError: list index out of range`