Skip to content

Commit

Permalink
append path v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgen-lentz committed Oct 9, 2024
1 parent f390659 commit 9b55a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amplpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys
import os

sys.path.append(os.path.join(os.path.dirname(__file__), "amplpython", "cppinterface", "lib", "amd64"))
os.environ["Path"] += os.path.join(os.path.dirname(__file__), "amplpython", "cppinterface", "lib", "amd64")

if hasattr(os, 'add_dll_directory'):
os.add_dll_directory(os.path.join(os.path.dirname(__file__), "amplpython", "cppinterface", "lib", "amd64"))
Expand Down

0 comments on commit 9b55a6b

Please sign in to comment.