Installation problem
Opened this issue · 1 comments
Hey!
So, I tried to install this in Jupiter notebooks as it is said and I get this error:
Collecting designofexperiment
Using cached designofexperiment-1.6.2-py3-none-any.whl (12 kB)
Collecting numpy==1.19.1 (from designofexperiment)
Using cached numpy-1.19.1.zip (7.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
Note: you may need to restart the kernel to use updated packages.
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1
[68 lines of output]
Running from numpy source directory.
:470: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
Error compiling Cython file:
...
for i in range(1, RK_STATE_LEN):
self.rng_state.key[i] = val[i]
self.rng_state.pos = i
self._bitgen.state = &self.rng_state
self._bitgen.next_uint64 = &mt19937_uint64
^
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details
Hello,
Sorry for the late reply on this one - the package was made with python 3.8, I believe making a new environment with python = 3.8 (i.e. conda create -n DOE python=3.8 ) and then pip installing should fix the issue!