Open tktpoto opened 3 months ago
Following the suggestion in this issue: "https://github.com/AminHP/gym-mtsim/issues/44", I installed pandas version 1.5, which resolved the initial problem. However, I encountered a new error related to package dependencies:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. gym-mtsim 2.0.0 requires pandas>=2.0.3, but you have pandas 1.5.3 which is incompatible.
It seems there's a conflict between the version of pandas recommended in the issue and the version required by gym-mtsim 2.0.0. (But in the end, I force the download and it worked)
Hi @tktpoto , could you try installing pandas==2.0.3
please? It should probably work without raising the second error.
Hello,
I recently discovered this project and was eager to try it out. However, after installing the project using pip, attempting to import it immediately resulted in an error. The error message is as follows:
Traceback (most recent call last): File "/mnt/c/Users/franc/Documents/GitHub/GCollab_Lstm_Renforcement/test.py", line 1, in
from gym_mtsim import OrderType
File "/home/osdann/.local/lib/python3.10/site-packages/gym_mtsim/init.py", line 13, in
'original_simulator': MtSimulator(symbols_filename=FOREX_DATA_PATH, hedge=True),
File "/home/osdann/.local/lib/python3.10/site-packages/gym_mtsim/simulator/mt_simulator.py", line 42, in init
if not self.load_symbols(symbols_filename):
File "/home/osdann/.local/lib/python3.10/site-packages/gym_mtsim/simulator/mt_simulator.py", line 73, in load_symbols
self.symbols_info, self.symbols_data = pickle.load(file)
File "/home/osdann/.local/lib/python3.10/site-packages/pandas/core/internals/blocks.py", line 2728, in new_block
return klass(values, ndim=ndim, placement=placement, refs=refs)
TypeError: Argument 'placement' has incorrect type (expected pandas._libs.internals.BlockPlacement, got slice)".
I am using WSL 2 and have set up a new Conda environment specifically for this. So far, I have only installed the latest version of mtsim and bs3.
Could there be an issue on my end ? Any help would be greatly appreciated.
Thank you.