Skip to content

environment.sh problems #13

Description

@bradbell

When I run the following command om MacOS with Homebrew

in/get_package.sh release all

It seems that the install of toml does not really happen and I get the following output:

...
cpp/bin/get_package.sh: autodiff OK
source bin/environment.sh build_type=release
# begin: creatting build/release
pip install toml
pip install pytest
pip install numpy==1.26.4
# end: creatting build/release
python/bin/get_package.py release autograd
Traceback (most recent call last):
  File "/Users/bradbell/repo/cmpad.git/python/bin/get_package.py", line 44, in <module>
    import toml
ModuleNotFoundError: No module named 'toml'

If I then check for toml and then re-install it and then check for toml, I get

cmpad.git>ls build/release/lib/python3.12/site-packages/toml
ls: build/release/lib/python3.12/site-packages/toml: No such file or directory
cmpad.git>source bin/environment.sh
(release) cmpad.git>pip install toml
Collecting toml
  Using cached toml-0.10.2-py2.py3-none-any.whl.metadata (7.1 kB)
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Installing collected packages: toml
Successfully installed toml-0.10.2
(release) cmpad.git>ls build/release/lib/python3.12/site-packages/toml
__init__.py	decoder.py	ordered.py
__pycache__	encoder.py	tz.py

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions