cityflow-project / CityFlow

A Multi-Agent Reinforcement Learning Environment for Large Scale City Traffic Scenario
https://cityflow-project.github.io
Apache License 2.0
784 stars 171 forks source link

ModuleNotFoundError: No module named 'cityflow' #172

Open wzFanM opened 11 months ago

wzFanM commented 11 months ago

I install cityflow on linux server as:

  1. conda install cmake
  2. git clone
  3. pip install . it shows Successfully installed CityFlow-0.1 however, I cannot import cityflow by reminding "ModuleNotFoundError: No module named 'cityflow'"
Sheagu commented 10 months ago

You can try python -m pip install ., this helps me.

Clown1206 commented 8 months ago

Hello , I had the same problem, and here's how I solved it:conda install libgcc,conda install -c conda-forge libstdcxx-ng; And after uninstalling cityflow(), I re-installed it by following the steps in the official documentation.

my env: wsl2 ubuntu-22.04, python3.8